Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm issue when running 'compose build' #38

Open
JLeeVance opened this issue Jul 16, 2024 · 0 comments · May be fixed by #43
Open

npm issue when running 'compose build' #38

JLeeVance opened this issue Jul 16, 2024 · 0 comments · May be fixed by #43

Comments

@JLeeVance
Copy link

I am eager to apply for the Developer position with DataMade! I ran into an issue with the commands to compose the build.

File
Dockerfile

Issue/Error Encountered
$ RUN npm install
Error Code: 'npm not found'

Possible Solution
After some research, I attempted to hardwire the npm install from the top of the Dockerfile. Adding the update into the top of the script was successful in composing the build, thus allowing me to begin the CC. Below is the implemented code!

code
RUN apt-get update && \
apt-get install -y curl && \
curl -L https://deb.nodesource.com/setup_14.x | bash - && \
apt-get install -y nodejs && \
apt-get install -y npm

I am eager to get started on the CC and hope to speak with your team in the future. Keep up the work y'all are doing, because it is inspiring!

  • Jay Vance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant