-
Notifications
You must be signed in to change notification settings - Fork 80
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: ENOENT: no such file or directory, lstat '/index.js' #89
Comments
Just to make sure I understand, the error appears specifically on the |
Yes, it appears before any funcitons are called - the mere import (require statement) causes the error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there!
In one of my projects, I can't get SMP to load. Note that the error appears even if I don't call smp.wrap.
I keep getting this:
I'm not sure which
/index.js
the error means. I assume it's the index of SMP, but the./node_modules/speed-measure-webpack-plugin/index.js
file exists.In the compiled
server.js
file, this line causes the error:/* WEBPACK VAR INJECTION */}.call(this, "/index.js"))
Here's my webpack config:
And my common.config:
I tried reinstalling, removing node_modules, wrapping the config in smp.wrap, tried some different versions of SMP. I'm running node v11.15.0, webpack 4.39.2.
Thanks in advance!
The text was updated successfully, but these errors were encountered: