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

Move ESLint devDependencies to root package.json #292

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ntwb
Copy link
Member

@ntwb ntwb commented Sep 1, 2022


Error: Failed to load parser 'babel-eslint' declared in '.eslintrc.js » @humanmade/eslint-config » eslint-config-react-app » /home/runner/work/standard-chartered-funds-library/standard-chartered-funds-library/node_modules/eslint-config-react-app/base.js': Cannot find module 'babel-eslint'
Require stack:
- /home/runner/work/standard-chartered-funds-library/standard-chartered-funds-library/node_modules/eslint-config-react-app/base.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.resolve (internal/modules/cjs/helpers.js:107:19)
    at Object.resolve (/home/runner/work/standard-chartered-funds-library/standard-chartered-funds-library/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js:28:50)
    at ConfigArrayFactory._loadParser (/home/runner/work/standard-chartered-funds-library/standard-chartered-funds-library/node_modules/@eslint/eslintrc/lib/config-array-factory.js:929:45)
    at ConfigArrayFactory._normalizeObjectConfigDataBody (/home/runner/work/standard-chartered-funds-library/standard-chartered-funds-library/node_modules/@eslint/eslintrc/lib/config-array-factory.js:724:43)
    at _normalizeObjectConfigDataBody.next (<anonymous>)
    at ConfigArrayFactory._normalizeObjectConfigData (/home/runner/work/standard-chartered-funds-library/standard-chartered-funds-library/node_modules/@eslint/eslintrc/lib/config-array-factory.js:665:20)
    at _normalizeObjectConfigData.next (<anonymous>)
    at ConfigArrayFactory._normalizeObjectConfigDataBody (/home/runner/work/standard-chartered-funds-library/standard-chartered-funds-library/node_modules/@eslint/eslintrc/lib/config-array-factory.js:720:25)
    at _normalizeObjectConfigDataBody.next (<anonymous>)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! sc-funds-library-frontend@1.0.0 lint:js: `eslint . --ext .js,.jsx`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the sc-funds-library-frontend@1.0.0 lint:js script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2022-09-16T09_08_03_744Z-debug.log
Error: Process completed with exit code 2.

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

Successfully merging this pull request may close these issues.

None yet

1 participant