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

Fails on Jenkins builds #1

Open
seafoam6 opened this issue Jul 7, 2020 · 0 comments
Open

Fails on Jenkins builds #1

seafoam6 opened this issue Jul 7, 2020 · 0 comments

Comments

@seafoam6
Copy link

seafoam6 commented Jul 7, 2020

Hello,

I'm not sure why this happens, as it works totally fine locally.

I get this output from the build.

> eslint -c .eslintrc.js --ext js,jsx ./src


Oops! Something went wrong! :(

ESLint: 7.0.0

ESLint couldn't find the plugin "@pgilad/eslint-plugin-react-redux".

(The package "@pgilad/eslint-plugin-react-redux" was not found when loaded as a Node module from the directory "/var/jenkins_home/workspace/Buy Frontend - PR Builder@2/aem/react-app".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

    npm install @pgilad/eslint-plugin-react-redux@latest --save-dev

The plugin "@pgilad/eslint-plugin-react-redux" was referenced from the config file in "--config".

this fails:

  plugins: [
    'react-hooks',
    'import',
    'filenames',
    '@pgilad/eslint-plugin-react-redux',
  ],

I tried to be clever and change my config to this

  plugins: [
    'react-hooks',
    'import',
    'filenames',
    '@pgilad/react-redux',
  ],

which still works locally, but still fails in Jenkins. I'm wondering if it's the username prefix?

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