Current Behavior
I want to upgrade to the latest version of create-react-app and also move from React Snapshot to using React Snap. However, after making changes to the package.json file and running the migration (e.g, npm install --save --save-exact react-scripts@4.0.0), an error occurs which says the postbuild script is unknown.
I suspect this is a configuration error, but my package is valid JSON (current version is included below)
Bug Report
Current Behavior I want to upgrade to the latest version of
create-react-app
and also move from React Snapshot to using React Snap. However, after making changes to thepackage.json
file and running the migration (e.g,npm install --save --save-exact react-scripts@4.0.0
), an error occurs which says thepostbuild
script is unknown.I suspect this is a configuration error, but my package is valid JSON (current version is included below)
Thoughts on what I might have missed here?
Reproducible demo
Expected behavior/code
npm run build
should create a production build of the site.