shyim / shopware-docker

Easy to use Docker Installation for Shopware 5 and Shopware 6
MIT License
115 stars 27 forks source link

npm not found after updating images #103

Closed zaifastafa closed 3 years ago

zaifastafa commented 3 years ago

Describe the bug ./modules/platform/admin-build.sh: line 20: npm: command not found

To Reproduce Steps to reproduce the behavior:

Expected behavior build completes successfully.

Environment:

shyim commented 3 years ago

Can you stop swdc and run docker volume rm shopware-docker_nvm_cache

zaifastafa commented 3 years ago

Did, but the issue persists. New volume is created Creating volume "shopware-docker_nvm_cache" with local driver after swdc up

shyim commented 3 years ago

Can you try to run bash /usr/local/bin/setup_nvm

zaifastafa commented 3 years ago

Inside the container?

zaifastafa commented 3 years ago

Nothing happens

image

shyim commented 3 years ago

does node / npm work in swdc shell?

zaifastafa commented 3 years ago

nope. command not found.

shyim commented 3 years ago

Okay its broken at me too. I will look...

shyim commented 3 years ago

Pull now again. Should be fixed in newer images as 7.3

zaifastafa commented 3 years ago

Hey, I pulled, did remove the nvm volume, did update the images and then did admin-build again, but the problem is still there

zaifastafa commented 3 years ago

the node and npm are there in the shell now, but the admin-build still cannot find the command.

zaifastafa commented 3 years ago

OK for some reason it worked when I tried again right now.