This works without problems.
But then we deleted the node_modules and re-installed it (as we always do e.g. for code reviews)
After doing that, starting the app again with npm start ends in this error:
path or pattern './sitecore/pipelines/**/*.patch.js' did not match any files.
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'fork-ts-checker-webpack-plugin'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
Expected behavior
App should start by running npm start as it did after initial installation
Steps To Reproduce
Install quick start project (see description above)
Description
We installed a demo project for jss react as described in the quickstart: https://jss.sitecore.com/docs/getting-started/quick-start
This works without problems. But then we deleted the node_modules and re-installed it (as we always do e.g. for code reviews)
After doing that, starting the app again with
npm start
ends in this error:Expected behavior
App should start by running
npm start
as it did after initial installationSteps To Reproduce
npm start
-> app startsrm -rf node_modules package-lock.json
npm install
npm start
=> error occursPossible Fix
Update
react-scripts
package tov2.1.4
(currently the latest stable version)Your Environment