Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

david-roberts

macrumors newbie
Original poster
Jul 30, 2014
4
0
Hi,

I am trying to load Gulp via terminal and I get the following error message, No such file or directory. Not a Terminal user per say, just trying to load Web Starter Kit. I have tried the following

Code:
davids-iMac-3:~ david$ $ sudo npm install --global gulp
-bash: $: command not found
Davids-iMac-3:~ david$ $ sudo npm install --global gulp
-bash: $: command not found
Davids-iMac-3:~ david$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Davids-iMac-3:~ david$ cat ~/.profile
cat: /Users/david/.profile: No such file or directory
Davids-iMac-3:~ david$ /bin/cat  ~/.bashrc
cat: /Users/david/.bashrc: No such file or directory
Davids-iMac-3:~ david$ /bin/cat  ~/.login
cat: /Users/david/.login: No such file or directory
Davids-iMac-3:~ david$ /bin/cat ~/.bash_profile
cat: /Users/david/.bash_profile: No such file or directory

How to I fix this so that I can install Gulp?

Thanks
 
Hi,

I am trying to load Gulp via terminal and I get the following error message, No such file or directory. Not a Terminal user per say, just trying to load Web Starter Kit. I have tried the following

Code:
davids-iMac-3:~ david$ $ sudo npm install --global gulp
-bash: $: command not found
Davids-iMac-3:~ david$ $ sudo npm install --global gulp
-bash: $: command not found
Davids-iMac-3:~ david$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Davids-iMac-3:~ david$ cat ~/.profile
cat: /Users/david/.profile: No such file or directory
Davids-iMac-3:~ david$ /bin/cat  ~/.bashrc
cat: /Users/david/.bashrc: No such file or directory
Davids-iMac-3:~ david$ /bin/cat  ~/.login
cat: /Users/david/.login: No such file or directory
Davids-iMac-3:~ david$ /bin/cat ~/.bash_profile
cat: /Users/david/.bash_profile: No such file or directory

How to I fix this so that I can install Gulp?

Thanks

In your first examples it seems you are adding the dollar sign as part of the command. Are you pasting this from somewhere? Because "$" is part of the prompt, not something that should be typed out. Terminal just informs you that there is no command called $.
 
Terminal Issue -No such file or directory

Hi

I have managed to load Gulp (through logging in as a root admin) and the web starter kit but after then you have to load the app: cd web-starter-kit/app to get it to work and it says:

Code:
-bash: cd: web-starter-kit/app: No such file or directory

It is not loading the local dependencies Web Starter Kit requires:
$ cd web-starter-kit $ nom install
When I enter the above, I get:

Code:
[10:34:55] Local version undefined
Davids-iMac-3:app david$ cd- web-starter-kit $ npm install
-bash: cd-: command not found


Code:
Davids-iMac-3:~ david$ git clone https://github.com/google/web-starter-kit.git
Cloning into 'web-starter-kit'...
remote: Counting objects: 4397, done.
remote: Compressing objects: 100% (102/102), done.
remote: Total 4397 (delta 12), reused 81 (delta 3)
Receiving objects: 100% (4397/4397), 7.15 MiB | 196.00 KiB/s, done.
Resolving deltas: 100% (1572/1572), done.
Checking connectivity... done.
Davids-iMac-3:app david$ cd web-starter-kit/app
-bash: cd: web-starter-kit/app: No such file or directory
 
Last edited:
Hi

I have managed to load Gulp (through logging in as a root admin) and the web starter kit but after then you have to load the app: cd web-starter-kit/app to get it to work and it says:

Code:
-bash: cd: web-starter-kit/app: No such file or directory

Perhaps you can try: ls -l and see what comes up.

It is not loading the local dependencies Web Starter Kit requires:
$ cd web-starter-kit $ nom install
When I enter the above, I get:

Code:
[10:34:55] Local version undefined
Davids-iMac-3:app david$ cd- web-starter-kit $ npm install
-bash: cd-: command not found

You have added a minus sign to cd, it should not be cd- I suspect you would get the same error as above if you removed it though, that the file/folder doesn't exist.
 
Hi

Removed minus sign same issue.So how do I find file/folder and get this to work?

Well, you showed two different error messages so it can't really be the same issue. Did you try ls? Are you in the same directory you cloned to? pwd will show you the current working directory. Perhaps try: mdfind web-starter-kit
 
Yes the directory is david staff and I found the web-starter-kit under /Users/david/web-starter-kit but it looks incomplete as it has not installed the Gulp tools.

I found this article http://www.mycreativedirectory.com/?p=5596 which gives more information about how to install the web kit.

I t says

Lastly, ensure the git and npm commands are accessible. Type the command below to test whether git and nom are functioning.

git --version nom -v

I get git --version npm -v
git version 1.8.5.2 (Apple Git-48) not the nom -v version
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.