jbreckmckye / electron-auth0-login

Helper widget for Auth0 authentication in Electron desktop apps
MIT License
27 stars 19 forks source link

NPM installation broken 'Please verify that the package.json has a valid "main" entry' #41

Closed roberttolton closed 1 year ago

roberttolton commented 1 year ago

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 1 year ago

Ah, that's embarrassing. Try v2.0.5. (I need to automate the build process to stop this from happening)

roberttolton commented 1 year ago

Amazing, thank you @jbreckmckye !