I've ran into an error when running Gulp inside a project folder.
I get:
-bash: gulp: command not found
The project was working fine earlier.
Wondering if anyone has had trouble with this?
Thanks
Related
Some time ago, I had the command not found error when running expo, so I set path at ~/.bash_profile and so, after running source ~/.bash_profile, now I can call expo without problems.
Today, I tried running react-native link and the following error appeared:
zsh: react-native command not found
What else could I be doing wrong?
Maybe you don't have react native cli installed globally, which is good as it's not needed.
Check in the project directory if react-native is installed
so ./node_modules/react-native/ should exist and has something inside.
If so, you don't need to run react-native directly; try running through npx react-native or npm script.
If not, make sure you have react-native in package.json dependencies section, and run npm install to pull the react-native library folder.
I'm on Windows 8.
I installed serverless framework with yarn.
yarn add global serverless
running serverless command in Git Bash outputs this wierd path
/bin/sh: /usr/local/bin/../../../../../Users/tempuser/AppData/Local/Yarn/Data/global/node_modules/.bin/serverless: No such file or directory
Tried to fix it:
removed node_modules, installed again. Does not help.
Does anyone know how to fix it?
Thanks in advance.
i am trying to run tests using phpunit from a directory with the following path:
/home/rally/adserver/test/ by using the command phpunit classes/AdTest.php,
The command was working in previous times when i cloned the project but now for some reason after using git clone and composer install today i get this error:
bash: /home/rally/tests/adserver/src/vendor/bin/phpunit: No such file or directory
any help with how can i fix this or what is causing this? thx
I have to switched on the second computer which is running on Windows XP.
I clonned my project from repository, which have structure containtng bower.jcon, Gruntfile.js and other following files and is running without problems on second computer with MacOS X.
After that I launched NodeJS command promtp, moved into the directory where application was clonned and i launched commmand.
C:\workspace\myproject>grunt serve
And I got following error message:
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'load-grunt-tasks'
Warning: Task "serve" not found. Use --force to continue.
Whhat I'm doing wrong and how can i solve this issue please?
Many thanks for any help.
EDIT:
I solved it using the following commands:
npm update npm -g
npm install
bower install
grunt serve
I am trying to run an 'npm install' through my Node.js command prompt. After reading other forums I have tried running the prompt as administrator and creating an npm folder manually as suggested. I am getting the same error. Is there anybody that has encountered this issue or knows why this error is occuring? I am running this on Windows 7. Thanks!