-
Notifications
You must be signed in to change notification settings - Fork 216
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
Deploy command saying not recognised as internal or external command #239
Comments
put npm in path of the GAD user or put absolute path to npm command: for example: |
I am running on windows server 2016. So what we do in case of windows ? |
No idea about windows and paths, but for sure this sounds like a path issue. I use |
In windows command prompt npm install works fine but it does not working in deploy |
Also in windows you have different users and there path is also different. So question is if |
Its the same user and command prompt path is same for all users. So how can i know where deploy is running command ? because its not running echo even |
Did you test this command in git bash? Although that for sure should have echo, so its strange. (I assume you installed it through pip and then went to install git bash and configure it as in readme?) |
git bash is installed on pc. npm install running fine on git bash and cmd. i tested echo also working fine but deploy is not running anything. So i guess there is some path issue or i dont know where its running command |
I am using GAD with gitlab. Everything working fine but i want to run npm install after git pull.
so i put "deploy": "npm install" it saying npm install not recognized as internal or external command. However i put "echo deploying" it still saying the same.
How can i solve this issue ? My problem is to run npm install after git pull. npm is in path variable i checked this.
The text was updated successfully, but these errors were encountered: