EACCESS : PERMISSION DENIED (read module)

#1

Project Name : tails-bot

{
  "//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 index.js"
  },
  "dependencies": {
    "better-sqlite-pool": "^0.2.2",
    "canvas": "^2.4.1",
    "cheerio": "^1.0.0-rc.2",
    "colours": "^0.6.0-2",
    "cpu-stat": "^2.0.1",
    "db.js": "^0.15.0",
    "discord.js-commando": "^0.10.0",
    "discord.js-musicbot-addon": "^13.5.1",
    "enmap": "^4.8.2",
    "erlpack": "^0.1.2",
    "express": "^4.16.4",
    "ffmpeg-binaries": "^4.0.0",
    "fs": "^0.0.2",
    "glob": "^7.1.3",
    "google": "^2.1.0",
    "google.js": "^0.0.2",
    "libsodium-wrappers": "^0.7.4",
    "mathjs": "^5.8.0",
    "mention": "^0.0.9",
    "moment": "^2.24.0",
    "ms": "^2.1.1",
    "node-opus": "^0.3.1",
    "node-superfetch": "^0.1.9",
    "opusscript": "^0.0.6",
    "os": "^0.1.1",
    "parse-ms": "^2.0.0",
    "quick.db": "^7.0.0-b21",
    "request": "^2.88.0",
    "simple-youtube-api": "^5.1.1",
    "sqlite3": "^4.0.6",
    "unirest": "^0.6.0",
    "uptime-robot": "^1.3.0",
    "ytdl-core": "^0.29.1",
    "dblapi.js": "^2.3.0",
    "discord.js": "^11.4.2",
    "ytpl": "^0.1.14"
  },
  "engines": {
    "node": "10.15.3"
  },
  "repository": {
    "url": "https://glitch.com/edit/#!/hello-express"
  },
  "license": "MIT",
  "keywords": [
    "node",
    "glitch",
    "express"
  ]
}

So ok, I am trying to install node-fetch when i use it it said EACCESS : PERMISSION DENIED on some Modules
I try to uninstall some but it doesnt work, it just keep saying that EACCESS : PERMISSION DENIED even tho i uninstall all except express!


MOD EDIT: formatting

0 Likes

#2

Hey @Caray it looks like a previous install of your project’s node modules was interrupted before completing. I think running enable-pnpm in the console will trigger a fresh install that should get you through. Sorry for the bother!

0 Likes