-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I'm trying to install in a node:lts docker image and get the following error.
# npm install -g pwsh
/home/node/.npm-global/bin/pwsh -> /home/node/.npm-global/lib/node_modules/pwsh/bin/pwsh
> [email protected] postinstall /home/node/.npm-global/lib/node_modules/pwsh
> node ./npm_lifecycle_postinstall.js
Error: EACCES: permission denied, mkdir '/home/node/.npm-global/lib/node_modules/@cspotcode'
Dockefile looks like this following these instructions for global installs.
FROM node:lts
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
ENV PATH=$PATH:/home/node/.npm-global/bin
RUN npm install -g pwshMetadata
Metadata
Assignees
Labels
No labels