I run the command "npm run build" but it not finish.
Hours later and just showing "Creating an optimized production build..."
Any ideia how I can find and solve the problem?
hi! please follow the issue template https://github.com/facebook/create-react-app/blob/next/.github/ISSUE_TEMPLATE.md so we can know about your environment.
Did you get it working Rodrigo Angelo Valentini?
Hi I have the same problem now. I'm deploying my CRA on openshift and it says that the build failed but when I look at the console it says that it's creating an optimised production build which never finishes creating and appears to be stuck. No critical or any error, only two npm warnings:
1) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
2) npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
Neither of these appaer to be critical though. Any idea on what it could be? I have the most recent version of CRA "react-scripts": "^2.1.1",
Most helpful comment
Hi I have the same problem now. I'm deploying my CRA on openshift and it says that the build failed but when I look at the console it says that it's creating an optimised production build which never finishes creating and appears to be stuck. No critical or any error, only two npm warnings:
1) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
2) npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
Neither of these appaer to be critical though. Any idea on what it could be? I have the most recent version of CRA "react-scripts": "^2.1.1",