Unable to deploy a React project
I'm trying to deploy a React project but i got this error, thanks
16 Replies
Project ID:
48ff6b9a-16db-4700-9db6-bb579cd5d5ba
JoeBriefcase_ suggested that it may be a memory issue and suggested upgrading to a dev plan. IrinaDimcheva provided a link to their React repo and loop_cat offered to help. Jess did not provide any information about their project.
⚠️ experimental feature
48ff6b9a-16db-4700-9db6-bb579cd5d5ba
Already subscribed to a dev plan
can you provide more build logs?
I don't see any errors in those logs?
Pastebin
==============Using Nixpacks==============context: ee3f9db681b8bd80...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
still don't see any errors
please provide your full build logs
Pastebin
Deploy LogsFilterFilter logs using "", (), AND, OR, -==============...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Ok now it's full
what's your start command?
npm run start
well duh, but what's the start script
Do you mean this part of composer.json?
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint --ext .js,.jsx ./src",
"lint:fix": "eslint --fix --ext .js,.jsx ./src",
"clear-all": "rm -rf build node_modules",
"re-start": "rm -rf build node_modules && yarn install && yarn start",
"re-build": "rm -rf build node_modules && yarn install && yarn build"
},
"react-scripts start" starts a development server not fit for production
https://discord.com/channels/713503345364697088/1086242610043174962
follow the instructions I have there, but don't just directly use that package.json file, just use the start script from it
Ok, let u know, thanks