Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants