node-red-contrib-themes / dracula Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED REPOSITORY
Home Page: https://github.com/node-red-contrib-themes/theme-collection
License: MIT License
DEPRECATED REPOSITORY
Home Page: https://github.com/node-red-contrib-themes/theme-collection
License: MIT License
I am trying to install this theme in docker. When I get into the container and try and install, I get a permission error that I can't fix
(Why the issue was filed)
I do not know why this permission issue is occurring or how to fix it
Create node-red with the following compose options
version: "3.7"
services:
nodered:
image: nodered/node-red:latest
container_name: NodeRed
restart: unless-stopped
user: "$PUID:$PGID"
networks:
- automon
ports:
- "1880:1880"
volumes:
- "/home/docker/container_data/nodered/data:/data"
environment:
- TZ=$TZ
networks:
automon:
driver: bridge
$PUID:$PGID equates to 1020:1002.
Login to container to try and install
docker exec -it NodeRed bash
Run the command to install
npm install @node-red-contrib-themes/dracula
I get the following error
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /.npm
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR! sudo chown -R 1020:1002 "/.npm
the /.npm
folder doesn't exist from what I can see. I see that this has to be a permissions issue, but I don't know how to solve this. Any help would be appreciated!
(How can someone else see it happen. If possible,
Run steps to reproduce
add one or more screenshots)
(If you have a proposed change, workaround or fix,
describe it here)
Potential documentation updates. Depends on how this is resolved.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.