core-js postinstall issue when deploying to render.com

Anyone come across a deployment issue on a full stack app on render.com that says it's due to core-js? Here's the log:
Cloning from https://github.com/raulbarriga/MERN-FullStack-Ecommerce...
Sep 18 12:19:46 PM ==> Checking out commit f6fb50c2e8693f041930aa07c2a7afc1ef0311a9 in branch main
Sep 18 12:19:48 PM ==> Downloading cache...
Sep 18 12:19:55 PM ==> Still downloading cache...
Sep 18 12:20:02 PM ==> Using Node version 14.21.3 via /opt/render/project/src/package.json
Sep 18 12:20:02 PM ==> Docs on specifying a Node version: https://render.com/docs/node-version
Sep 18 12:20:03 PM ==> Running build command 'npm run build'...
Sep 18 12:20:03 PM
Sep 18 12:20:03 PM > [email protected] build /opt/render/project/src
Sep 18 12:20:03 PM > npm install && npm install --prefix frontend && npm run build --prefix frontend
Sep 18 12:20:03 PM
Sep 18 12:20:13 PM
Sep 18 12:20:13 PM > [email protected] postinstall /opt/render/project/src/node_modules/core-js
Sep 18 12:20:13 PM > node -e "try{require('./postinstall')}catch(e){}"
Sep 18 12:20:13 PM
Sep 18 12:20:13 PM
Sep 18 12:20:13 PM > [email protected] install /opt/render/project/src
Sep 18 12:20:13 PM > npm install && cd frontend && npm install
Sep 18 12:20:13 PM
Sep 18 12:20:15 PM
Sep 18 12:20:15 PM > [email protected] install /opt/render/project/src
Sep 18 12:20:15 PM > npm install && cd frontend && npm install
Cloning from https://github.com/raulbarriga/MERN-FullStack-Ecommerce...
Sep 18 12:19:46 PM ==> Checking out commit f6fb50c2e8693f041930aa07c2a7afc1ef0311a9 in branch main
Sep 18 12:19:48 PM ==> Downloading cache...
Sep 18 12:19:55 PM ==> Still downloading cache...
Sep 18 12:20:02 PM ==> Using Node version 14.21.3 via /opt/render/project/src/package.json
Sep 18 12:20:02 PM ==> Docs on specifying a Node version: https://render.com/docs/node-version
Sep 18 12:20:03 PM ==> Running build command 'npm run build'...
Sep 18 12:20:03 PM
Sep 18 12:20:03 PM > [email protected] build /opt/render/project/src
Sep 18 12:20:03 PM > npm install && npm install --prefix frontend && npm run build --prefix frontend
Sep 18 12:20:03 PM
Sep 18 12:20:13 PM
Sep 18 12:20:13 PM > [email protected] postinstall /opt/render/project/src/node_modules/core-js
Sep 18 12:20:13 PM > node -e "try{require('./postinstall')}catch(e){}"
Sep 18 12:20:13 PM
Sep 18 12:20:13 PM
Sep 18 12:20:13 PM > [email protected] install /opt/render/project/src
Sep 18 12:20:13 PM > npm install && cd frontend && npm install
Sep 18 12:20:13 PM
Sep 18 12:20:15 PM
Sep 18 12:20:15 PM > [email protected] install /opt/render/project/src
Sep 18 12:20:15 PM > npm install && cd frontend && npm install
It creates an infinite loop, repeating npm install && cd frontend && npm install. Notice the issue of [email protected] postinstall /opt/render/project/src/node_modules/core-js and node -e "try{require('./postinstall')}catch(e){}". I've set up my env variables on render.com, made sure my node version is the same as render, checked the root folder and build & start commands, but everything seems okay there. Here's the repo link: https://github.com/raulbarriga/MERN-FullStack-Ecommerce.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server