shyim / shopware-docker

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

/usr/bin/env: `node`: No such file or directory #148

Closed LiaraAlis closed 2 years ago

LiaraAlis commented 2 years ago

When I try run admin-init, admin-build or something like that, i always get: /usr/bin/env: 'node': No such file or directory

It happens with every container but node is working inside cli container. Running scripts in bin/ directly works without problems.

shyim commented 2 years ago

Can you update swdc and update all images swdc update-images

LiaraAlis commented 2 years ago

@shyim I already did this. It doesn't help. :(

zaifastafa commented 2 years ago

@shyim this is the problem I mentioned to you on slack as well. I think for me this happens specifically for older versions of shopware.

shyim commented 2 years ago

Which PHP versions are you all using?

zaifastafa commented 2 years ago

Wait I think my issue is slight different but related to node only #146

LiaraAlis commented 2 years ago

@shyim I'm using php8.0-xdebug

shyim commented 2 years ago

what is the complete docker image name?

LiaraAlis commented 2 years ago

@shyim ghcr.io/shyim/shopware-docker/6/nginx with tag php80-xdebug

LiaraAlis commented 2 years ago

@shyim Any updates here?

LiaraAlis commented 2 years ago

Problem still exists, unfortunately. :(

LiaraAlis commented 2 years ago

Problem fixed myself. It was not a problem of the script. For some reason, my local repository was not up to date although git told me that it was. :/ I noticed that after manually compared functions.sh with the one here in github.