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 understand error ' Error: Cannot find module 'E:\projects\online\starter\$NODE_DEBUG_OPTION' #93

Open
ianrussel opened this issue Mar 27, 2018 · 4 comments

Comments

@ianrussel
Copy link

ianrussel commented Mar 27, 2018

Any one has encountered this? I am on windows 10. It seems that server side cant run with this error

@briosheje
Copy link

Can confirm that in macosx it's working well, while in windows this error is thrown indeed.

@Cyril-Figgis
Copy link

$NODE_DEBUG_OPTION is an environment variable used to debug in an IDE like webstorm. If you go to the nodemon.json in the project and remove #NODE_DEBUG_OPTION from the "exec" property in the JSON. It will run as you expect. Alternatively, you can also set the variable in your IDE.

@briosheje
Copy link

@Cyril-Figgis thanks, I'm wondering, though, how it's irrelevant on iOS while it crashes on windows. Sounds interesting :)

@AkkaiBukka
Copy link

@ianrussel I have encountered this error in windows 10 and as a solution in package.json under scripts: {
dev: ./node_modules/.bin/webpack-dev-server } gave the following code where node $NODE_DEBUG_OPTION has been removed as its used for webstorm. It worked fine.

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

4 participants