Skip to content

Move ESLint devDependencies to root package.json#292

Draft
ntwb wants to merge 4 commits intomasterfrom
move-eslint-dev-dependencies
Draft

Move ESLint devDependencies to root package.json#292
ntwb wants to merge 4 commits intomasterfrom
move-eslint-dev-dependencies

Conversation

@ntwb
Copy link
Contributor

@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.

1 participant