Comments (5)
Thought this would be easy, just changing remoteUser
to node
in devcontainer.json
but that also required setting user
in the docker-compose.yml file and then npm install
failed on container creation ☹
from node-deepstackai-trigger.
Appears the only real solution at the moment is to do npm version --unsafe-perm
from node-deepstackai-trigger.
Guidance from the VSCode team is to try this approach: https://github.com/microsoft/vscode-dev-containers/blob/dc367e6ce28e228c95d71a335a4331de5918bd7f/containers/javascript-node-12/.devcontainer/Dockerfile#L48
Not sure about the sudo line though since that isn't on node:alpine.
from node-deepstackai-trigger.
Tried this and it now fails on git commands :(
from node-deepstackai-trigger.
Suggestion is to chown the .git folder when creating the image before swapping to the node user.
from node-deepstackai-trigger.
Related Issues (20)
- Large amounts of images causes crash HOT 1
- Fix elliptic security vulnerability
- Update Jest to latest version HOT 1
- Stopped working HOT 1
- Was working with Unraid for several months but now getting "Incorrect api key" in Log HOT 2
- Address npm audit vulnerabilities
- {"success":false,"error":"error occured on the server","duration":0} HOT 5
- Address ssri vulnerability
- Bump browserlist HOT 1
- Bump tmpl from 1.0.4 to 1.0.5
- Bump path-parse from 1.0.6 to 1.0.7
- Publish to GitHub package repository
- {"success":false,"error":"failed to process request before timeout","duration":0} HOT 7
- Trouble validating settings and mqtt HOT 25
- ARM Support HOT 3
- Add dependabot support for github actions
- Update to codeql action v2
- Update to new version of webpack/webpack-cli
- Create a dev version of the Docker image
- Typescript errors galore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-deepstackai-trigger.