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

Parsing error: Cannot find module 'eslint-scope' #228

Closed
snowman opened this issue Nov 11, 2020 · 1 comment
Closed

Parsing error: Cannot find module 'eslint-scope' #228

snowman opened this issue Nov 11, 2020 · 1 comment

Comments

@snowman
Copy link

snowman commented Nov 11, 2020

$ gulp build
[09:25:33] Requiring external module @babel/register
[09:25:34] Using gulpfile /tmp/chrome-extensions-demo/gulpfile.babel.js
[09:25:34] Starting 'build'...
[09:25:34] Starting 'lint'...
[09:25:34]
/tmp/chrome-extensions-demo/app/scripts.babel/background.js
  0:0  error  Parsing error: Cannot find module 'eslint-scope' from '/tmp/chrome-extensions-demo/node_modules/eslint/lib/api.js'

/tmp/chrome-extensions-demo/app/scripts.babel/chromereload.js
  0:0  error  Parsing error: Cannot find module 'eslint-scope' from '/tmp/chrome-extensions-demo/node_modules/eslint/lib/api.js'

/tmp/chrome-extensions-demo/app/scripts.babel/contentscript.js
  0:0  error  Parsing error: Cannot find module 'eslint-scope' from '/tmp/chrome-extensions-demo/node_modules/eslint/lib/api.js'

/tmp/chrome-extensions-demo/app/scripts.babel/options.js
  0:0  error  Parsing error: Cannot find module 'eslint-scope' from '/tmp/chrome-extensions-demo/node_modules/eslint/lib/api.js'

/tmp/chrome-extensions-demo/app/scripts.babel/popup.js
  0:0  error  Parsing error: Cannot find module 'eslint-scope' from '/tmp/chrome-extensions-demo/node_modules/eslint/lib/api.js'

/tmp/chrome-extensions-demo/app/scripts.babel/util/clearAllData.js
  0:0  error  Parsing error: Cannot find module 'eslint-scope' from '/tmp/chrome-extensions-demo/node_modules/eslint/lib/api.js'

✖ 6 problems (6 errors, 0 warnings)

[09:25:34] Finished 'lint' after 149 ms
[09:25:34] Starting 'babel'...
[09:25:34] Finished 'babel' after 89 ms
[09:25:34] Starting 'chromeManifest'...
[09:25:35] Finished 'chromeManifest' after 793 ms
[09:25:35] Starting 'html'...
[09:25:35] Starting 'images'...
[09:25:35] Starting 'extras'...
[09:25:35] Finished 'extras' after 144 ms
[09:25:35] Finished 'images' after 362 ms
[09:25:35] Finished 'html' after 407 ms
[09:25:35] Starting 'size'...
[09:25:35] build all files 136.18 kB (gzipped)
[09:25:35] Finished 'size' after 99 ms
[09:25:35] Finished 'build' after 1.54 s
$ node --version
v10.18.0
@snowman
Copy link
Author

snowman commented Nov 11, 2020

$ npm install --save-dev eslint-scope

@snowman snowman closed this as completed Nov 11, 2020
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

1 participant