permissions for deps installed via file://


(Operations Research Engineering Software+) #1

I have this:

[r2g/docker] r2g.docker/info: here is updated the package.json file: {
[r2g/docker]   "name": "npm-link-up",
[r2g/docker]   "version": "0.1.320",
[r2g/docker]   "bin": {
[r2g/docker]     "nlu": "cli/index.sh",
[r2g/docker]     "npmlinkup": "cli/index.sh"
[r2g/docker]   },
[r2g/docker]   "description": "Use this package to link your projects together for local development.",
[r2g/docker]   "main": "dist/index.js",
[r2g/docker]   "types": "dist/index.d.ts",
[r2g/docker]   "typings": "dist/index.d.ts",
[r2g/docker]   "scripts": {
[r2g/docker]     "test": "./scripts/test.sh",
[r2g/docker]     "postinstall": "./assets/postinstall.sh"
[r2g/docker]   },
[r2g/docker]   "repository": {
[r2g/docker]     "type": "git",
[r2g/docker]     "url": "git+https://github.com/ORESoftware/npm-link-up.git"
[r2g/docker]   },
[r2g/docker]   "keywords": [
[r2g/docker]     "npm",
[r2g/docker]     "link",
[r2g/docker]     "suman",
[r2g/docker]     "local",
[r2g/docker]     "development",
[r2g/docker]     "modules",
[r2g/docker]     "modularization"
[r2g/docker]   ],
[r2g/docker]   "author": "Olegzandr VD",
[r2g/docker]   "license": "MIT",
[r2g/docker]   "bugs": {
[r2g/docker]     "url": "https://github.com/ORESoftware/npm-link-up/issues"
[r2g/docker]   },
[r2g/docker]   "homepage": "https://github.com/ORESoftware/npm-link-up#readme",
[r2g/docker]   "dependencies": {
[r2g/docker]     "@oresoftware/shell": "file:///root/.docker_r2g_cache/shell",
[r2g/docker]     "ajv": "^6.5.1",
[r2g/docker]     "async": "^2.6.1",
[r2g/docker]     "chalk": "^2.4.1",
[r2g/docker]     "dashdash": "^1.14.1",
[r2g/docker]     "frankenstop": "latest",
[r2g/docker]     "json-stdio": "file:///root/.docker_r2g_cache/json-stdio",
[r2g/docker]     "mkdirp": "^0.5.1",
[r2g/docker]     "prepend-transform": "file:///root/.docker_r2g_cache/prepend-transform",
[r2g/docker]     "residence": "file:///root/.docker_r2g_cache/residence",
[r2g/docker]     "semver": "^5.6.0",
[r2g/docker]     "treeify": "^1.0.1"
[r2g/docker]   },
[r2g/docker]   "devDependencies": {
[r2g/docker]     "@types/async": "latest",
[r2g/docker]     "@types/mkdirp": "^0.5.2",
[r2g/docker]     "@types/node": "10.3.5",
[r2g/docker]     "@types/semver": "^5.5.0",
[r2g/docker]     "rimraf": "^2.6.1"
[r2g/docker]   },
[r2g/docker]   "r2g": {
[r2g/docker]     "test": "node .r2g/tests/smoke-test.js"
[r2g/docker]   },
[r2g/docker]   "nlu": {
[r2g/docker]     "test": "echo 'nlu test is a noop ftm.'",
[r2g/docker]     "linkable": true
[r2g/docker]   }
[r2g/docker] }
[r2g/docker] r2g.docker/info: Now running: npm install --production --loglevel=warn
[r2g/docker] npm WARN checkPermissions Missing write access to /app/node_modules/@oresoftware/shell
[r2g/docker] npm WARN checkPermissions Missing write access to /app/node_modules/json-stdio
[r2g/docker] npm WARN checkPermissions Missing write access to /app/node_modules/prepend-transform
[r2g/docker] npm WARN checkPermissions Missing write access to /app/node_modules/residence
[r2g/docker] npm ERR! path /app/node_modules/@oresoftware/shell
[r2g/docker] npm ERR! code ENOENT
[r2g/docker] npm ERR! errno -2

for all 4 of the deps installed with file://, I am getting permissions issues. Why would that be? It seems like a bug.


checkPermissions Missing write access with file: dependency
(Kat Marchán) #2

Please use the bug template. :/