Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'es-to-primitive/es6' #1063

Closed
zeke opened this issue Feb 12, 2018 · 4 comments

Comments

@zeke
Copy link
Contributor

commented Feb 12, 2018

Seeing this error on Node 8 and 9 when bumping from standard 8.2.0 to 10.0.3

PR: electron/typescript-definitions#91

Error: Cannot find module 'es-to-primitive/es6'
Referenced from: /home/travis/build/electron/electron-typescript-definitions/node_modules/standard/eslintrc.json
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/travis/build/electron/electron-typescript-definitions/node_modules/es-abstract/es2015.js:16:19)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)

image

@stale

This comment has been minimized.

Copy link

commented May 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label May 13, 2018

@feross

This comment has been minimized.

Copy link
Member

commented May 15, 2018

Sorry for the delay in responding to this. A new major version of standard has since been released.

I cloned electron-typescript-definitions and tried updating to standard v11 and the issue appears to be fixed in that version.

Want to try upgrading to v11 instead?

@feross feross closed this May 15, 2018

@feross feross added the bug label May 15, 2018

@zeke

This comment has been minimized.

Copy link
Contributor Author

commented May 15, 2018

Want to try upgrading to v11 instead?

That did the trick 👍

@feross

This comment has been minimized.

Copy link
Member

commented May 16, 2018

Wohoo!

@lock lock bot locked as resolved and limited conversation to collaborators Aug 14, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.