NPM installation broken 'Please verify that the package.json has a valid "main" entry'
roberttolton opened this issue · 2 comments
roberttolton commented
Hi,
It seems like the dist
folder is missing from what's installed by NPM, and therefore trying to boot my app results in:
Error: Cannot find module '/Users/XX/Documents/web-dev/XX/XX/node_modules/electron-auth0-login/dist/index.js'. Please verify that the package.json has a valid "main" entry
Any ideas?
Thanks!
jbreckmckye commented
Ah, that's embarrassing. Try v2.0.5.
(I need to automate the build process to stop this from happening)
roberttolton commented
Amazing, thank you @jbreckmckye !