Cannot find module 'electron-devtools-installer'
TTMoon opened this issue · 5 comments
TTMoon commented
alexdevero commented
@TTMoon Sorry for late reply. Did you replicate this issue with last version?
parmasdev commented
Just need to add "electron-devtools-installer" dependency in package.json to fix this.
i.e. , in file "electron-react-webpack-boilerplate/package.json", in section dependencies having:
"dependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"electron-devtools-installer": "^2.2.4"
},
alexdevero commented
Do you have the latest version? There is electron-devtools-installer in package.json, although it is added as a devDependency.
parmasdev commented
hello Alex,
but apparently we need it in "devDependencies" but also on "dependencies"
section otherwise we have this error:
#16
since I have done this, the error "Cannot find module
'electron-devtools-installer'" when we do a package is fixed.
Regards
Patrice
Le mer. 1 avr. 2020 à 17:19, Alex Devero <notifications@github.com> a
écrit :
… Do you have the latest version? There is electron-devtools-installer in
package.json
<https://github.com/alexdevero/electron-react-webpack-boilerplate/blob/d32dc90a6668cbb9a58da09377b9299790261aff/package.json#L59>,
although it is added as a devDependency.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOGAGYN7JPHZ2EESBSNOQMTRKNLPDANCNFSM4JMBYLLA>
.
alexdevero commented
@TTMoon @parmasdev this issue should be fixed in v1.10.0 (ad39e3a).