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
- Clone the develop branch
- 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