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

Cannot npm run server without first installing es-to-primitive #2487

Closed
FindingNamo opened this issue Dec 16, 2017 · 3 comments
Closed

Cannot npm run server without first installing es-to-primitive #2487

FindingNamo opened this issue Dec 16, 2017 · 3 comments

Comments

@FindingNamo
Copy link
Contributor

Looks like strictly following the readme.md leads to a failure on launching the server.

$ npm run server

dim@4.29.0 server xxxxxxx\repos\dim
webpack-dev-server --config ./config/webpack.js --env=dev

module.js:538
throw err;
^

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

Need to also install es-to-primitive

Probably can be solved by adding to package.json?

@FindingNamo FindingNamo changed the title Cannot npm run server without first installing Cannot npm run server without first installing es-to-primitive Dec 16, 2017
@FindingNamo
Copy link
Contributor Author

This ended up being specifically a git bash issue on Windows.

It looks like, even if run as admin, git bash is not going to npm install correctly all the modules required leading to several modules missing, specifically es-to-primitive and is-regex.

Using any other shell seems to work as intended :(.

Thank you to @48klocs who helped investigate.

@bhollis
Copy link
Contributor

bhollis commented Dec 18, 2017

It'd be nice to update the README for windows users.

@FindingNamo
Copy link
Contributor Author

Submitted: #2492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants