821 viewsMern Amazona

—–> Building on the Heroku-22 stack
—–> Determining which buildpack to use for this app
—–> Node.js app detected

—–> Creating runtime environment


—–> Installing binaries
engines.node (package.json): 16.x
engines.npm (package.json): unspecified (use default)

Resolving node version 16.x…
Downloading and installing node 16.17.1…
Using default npm version: 8.15.0

—–> Installing dependencies
Installing node modules (package.json)

up to date, audited 1 package in 111ms

found 0 vulnerabilities

—–> Build
Running build

> [email protected] build
> cd server && npm install && cd ../client && npm install && npm run build

up to date, audited 103 packages in 434ms

11 packages are looking for funding
run `npm fund` for details

found 0 vulnerabilities

up to date, audited 1482 packages in 3s

211 packages are looking for funding
run `npm fund` for details

6 high severity vulnerabilities

To address all issues (including breaking changes), run:
npm audit fix –force

Run `npm audit` for details.

> [email protected] build
> react-scripts build

/tmp/build-bfbdda2b.sh: 1: react-scripts: Permission denied
—–> Build failed

We’re sorry this build is failing! You can troubleshoot common issues here:

If you’re stuck, please submit a ticket so we can help:


! Push rejected, failed to compile Node.js app.
! Push failed

already un installed logger and delete and created a new app still getting the same error

Bassir Answered question October 13, 2022

replace content of package.json in frontend with this file and try again:


Bassir Answered question October 13, 2022