Running pnpm update ends in an EACCES permission denied

#1

In the console of https://glitch.com/edit/#!/lackadaisical-appeal

I run

app@lackadaisical-appeal:~ 14:56
$ pnpm update
A store server is running. All store manipulations are delegated to it.
Resolving: total 51, reused 8, downloaded 0
Resolving: total 83, reused 51, downloaded 0
Resolving: total 89, reused 80, downloaded 0
ERROR EACCES: permission denied, open ‘/rbd/pnpm-volume/6384f34c-f00d-443b-b497-4ad0624d17e2/node_modules/pug/package.json’

but this ends in above permission error. Is there something I can do to resolve this myself?

This is the package json

{
  "//1": "describes your app and its dependencies",
  "//2": "https://docs.npmjs.com/files/package.json",
  "//3": "updating this file will download and update your packages",
  "name": "hello-express",
  "version": "0.0.1",
  "description": "A simple Node app built on Express, instantly up and running.",
  "main": "server.js",
  "scripts": {
    "start": "node server.js"
  },
  "dependencies": {
    "express": "4.16.4",
    "pug": "2.0.3"
  },
  "engines": {
    "node": "8.x"
  },
  "repository": {
    "url": "https://glitch.com/edit/#!/hello-express"
  },
  "license": "MIT",
  "keywords": [
    "node",
    "glitch",
    "express"
  ]
}
#2

Hi @rene, welcome to the Glitch forum!

You’re probably seeing a temporary breakdown of your project’s package installation. If you open your project’s console and run enable-pnpm, you should get back on track!

1 Like