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

Confusing error message when a non-existent file is passed to a quick run command #441

Closed
insin opened this issue Mar 19, 2018 · 2 comments

Comments

@insin
Copy link
Owner

insin commented Mar 19, 2018

$ nwb inferno run NonExistent.js
Starting Webpack compilation...
Failed to compile with 1 error.

 ERROR  in /path/to/nwb/lib/inferno/renderShim.js
Module not found: Error: Can't resolve 'nwb-quick-entry' in '/path/to/nwb/lib/inferno/'

We should probably check if the file exists up-front.

@54yd
Copy link

54yd commented May 8, 2019

I saw this problem too...

And struggle to resolve this, but I can't get any solution yet.

I think nwb failed to create and init something of a Webpack part at renderShim.js

Installing new npm packages around, it might causes this problem.

@insin insin closed this as completed in c69e2ba Mar 16, 2020
@insin
Copy link
Owner Author

insin commented Mar 16, 2020

$ nwb inferno run NonExistent.js
NonExistent.js does not exist.

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

No branches or pull requests

2 participants