-
Notifications
You must be signed in to change notification settings - Fork 51
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
Error $SHELL environment variable is not set #62
Comments
Setting the shell variable does not seem to resolve the issue. Is there a workaround? |
Depending on the Docker image, bash may not be installed - for example, node-alpine images. @stephenhebert, have you tried using a different shell?
|
This may be related to this. As per official Docker documentation:
I've encountered the same error while setting up a my-service-name:
build:
context: ../
dockerfile: .docker/node/Dockerfile
volumes:
- ../:/var/www/html
environment:
SHELL: /bin/ash # Fix chokidar-cli error
command: ["npm", "run", "start:dev:orm"] And here is my
|
Error
$SHELL environment variable is not set
is thrown when chokidar-cli is run from the official node.js Docker image. This image doesn't appear to set the SHELL environment variable. This can be fixed by setting the environment variable before running a script.I understand this may not be chokidar-cli issue but it may be worth mentioning it in documentation.
The text was updated successfully, but these errors were encountered: