[react-scripts] postbuild script not running #9391
Unanswered
sumanthratna
asked this question in
Q&A
Replies: 1 comment
-
|
me too i encountered this error too while adding react-snap to my react web application |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
{ "name": "hacktj-2020v2", "version": "1.0.0", "private": true, "homepage": "https://hacktj.org/2020v2", "dependencies": { ... "react-scripts": "^3.4.1", ... }, "scripts": { "analyze": "source-map-explorer 'build/static/js/*.js'", "start": "yarn run switch-homepage && react-scripts start", "build": "react-scripts build", "postbuild": "echo 'post build'", "test": "react-scripts test", "eject": "react-scripts eject", "lint": "prettier src/ --write; eslint src/ --fix", "predeploy": "yarn run build && NODE_DEBUG=gh-pages", ... }, "eslintConfig": { "extends": "react-app" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { ... }, ... }When I run
yarn build, I don't seepost buildin stdout. What am I missing here? Shouldn'tpostbuildbe executed automatically afterbuildis called?Full package.json: https://github.com/HackTJ/2020v2/blob/75b1f55886dc3389d90c0cfdcc401e2794476803/package.json
Beta Was this translation helpful? Give feedback.
All reactions