-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Error: Cannot find module 'jshint/src/cli' #1800
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
Comments
try re-installing gulp-jshint/jshint |
Hi @Awk34 I have read the #1731 and tried the differents solutions over there but nothing works for me. I have excuted.
Everything is installed right "gulp-jshint": "2.0.0" and "jshint": "2.9.2" the only thing is that I get some warns at the end:
Then when I try to execute gulp serve I get this errors:
|
|
You were right In the gulpfile-babel.js the *inject:css * were duplicated in this line:
I deleted one of them and executed gulp serve and the project worked but the views in the browser were without styles (not CSS). I only deleted the duplicate inject:css. What's wrong?
|
The last PR you mentioned hasn't been merged yet. Should be fixed in 3.6.0 release, which I plan on making today. |
I have just created a new project and without changing nothing, I have executed gulp serve and get this error:
D:\002_IOT\WS_IOT\iotfs35>gulp serve
[18:29:46] Requiring external module babel-register
module.js:339
throw err;
^
Error: Cannot find module 'jshint/src/cli'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (D:\002_IOT\WS_IOT\iotfs35\node_modules\gulp-jshint\sr
c\extract.js:1:79)
at Module._compile (module.js:435:26)
at Module._extensions..js (module.js:442:10)
at Object.require.extensions.(anonymous function) [as .js](D:002_IOTWS_IO
Tiotfs35node_modulesbabel-registerlibnode.js:134:7)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (D:\002_IOT\WS_IOT\iotfs35\node_modules\gulp-jshint\sr
c\index.js:2:15)
at Module._compile (module.js:435:26)
at Module._extensions..js (module.js:442:10)
at Object.require.extensions.(anonymous function) [as .js](D:002_IOTWS_IO
Tiotfs35node_modulesbabel-registerlibnode.js:134:7)
The text was updated successfully, but these errors were encountered: