skip to Main Content

My package.json file reads ‘insufficient permissions’ even after retrying as a superuser on my Mac.

I tried adding a dev statement which was an answer to a similar question to the package.json file but still didn’t work.enter image description here

2

Answers


  1. Go to your project, double click on the app. js file and select ‘Get info’. There will be an option of ‘Sharing & Permission’. From there you can change access permissions for other users

    Login or Signup to reply.
  2. Go to your project package.json file location on terminal.

    Run command chmod 777 package.json

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search