Glitch Project Returning EACCES Error

Hello Glitch Community,

My project hosted at https://www.triza.dev or https://triza.glitch.me

Has recently began returning an EACCES error when attempting to install NPM.

The Error Logs Are Posted Below:

npm ERR! syscall open
npm ERR! path /app/node_modules/jsonwebtoken/npm-shrinkwrap.json
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, open '/app/node_modules/jsonwebtoken/npm-shrinkwrap.json'
npm ERR!  [OperationalError: EACCES: permission denied, open '/app/node_modules/jsonwebtoken/npm-shrinkwrap.json'] {
npm ERR!   cause: [Error: EACCES: permission denied, open '/app/node_modules/jsonwebtoken/npm-shrinkwrap.json'] {
npm ERR!     errno: -13,
npm ERR!     code: 'EACCES',
npm ERR!     syscall: 'open',
npm ERR!     path: '/app/node_modules/jsonwebtoken/npm-shrinkwrap.json'
npm ERR!   },
npm ERR!   isOperational: true,
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'open',
npm ERR!   path: '/app/node_modules/jsonwebtoken/npm-shrinkwrap.json',
npm ERR!   parent: 'app'
npm ERR! }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

I was wondering if anyone else in the glitch community is currently having the issue, or can offer me any solutions to this problem.

Thanks, Jimmy

1 Like

I think running enable-pnpm in the console will trigger a fresh install that should get you through.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.