Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

DISABLE_ESLINT_PLUGIN: command not found #5134

@swisstackle

Description

@swisstackle

I figured I would transfer this problem to github issues because I dont believe that thats what the discussions are for.

Issue

I am currently trying to build all packages on my local machine to contribute to truffle:

When yarn/lerna (yarn bootstrap) tries to build the truffle dashboard package, I am getting the error 'DISABLE_ESLINT_PLUGIN' is not recognized as an internal or external command, which is used in the package.json to run react-scripts without eslint.

According to react-scripts, this tag was added with the version 4.0.2, but the package.json in the dashboard package references version ^4.0.0 for react-scripts. This is a little bit confusing to me, because how could you guys build the dashboard package with this tag, if you guys use version ^4.0.0? But then again, the carrot makes sure that the latest version is installed, so the issue might clearly be on my side.

Here is the PR that added the 'DISABLE_ESLINT_PLUGIN' tag to react-scripts: facebook/create-react-app#10170

Steps to Reproduce

  1. Clone the develop branch
  2. run yarn bootstrap

Expected Behavior

All packages are being built

Actual Results

Error: ['DISABLE_ESLINT_PLUGIN' is not recognized as an internal or external command]

Environment

  • Operating System: Windows 10 (x64)
  • Truffle version (truffle version): latest develop status
  • node version (node --version): 16.14
  • npm version (npm --version): 8.10.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions