Hey Ahmed,
I got error while installing node in the custom dockerfile for the app. Here is the error :
E: Unable to locate package nodejs E: Unable to locate package npm
Hey, I had the same error as you. I fixed it by changing RUN apt install nodejs npm -y
to
RUN apt-get update && apt-get install -y nodejs
in Dockerfile
Thanks for this tutorial Ahmed. I used this in exploring setup for laravel queues using redis and horizon.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Ahmed,
I got error while installing node in the custom dockerfile for the app. Here is the error :
E: Unable to locate package nodejs
E: Unable to locate package npm
Hey, I had the same error as you. I fixed it by changing
RUN apt install nodejs npm -y
to
RUN apt-get update && apt-get install -y nodejs
in Dockerfile
Thanks for this tutorial Ahmed. I used this in exploring setup for laravel queues using redis and horizon.