brackets-userland / brackets-npm-registry

Extension to install other extensions with npm
MIT License
44 stars 8 forks source link

I can't find out how to install this. #29

Closed Johannes5 closed 8 years ago

Johannes5 commented 8 years ago

I need to install eslint and for that apparently I need npm registry.

Of course I have read the instructions, but unfortunately I can't make any sense of this:

sudo npm install --global gulp-cli cd ~/Library/Application\ Support/Brackets/extensions/user/ git clone https://github.com/zaggino/brackets-npm-registry.git brackets-npm-registry cd brackets-npm-registry npm install

What is this supposed to tell me? I am missing something.

(I also tried it with the brackets extension manager, but it tells me that I need a newer version, but I already got 1.5.)

Hope you can help,

Johannes

zaggino commented 8 years ago

Hi, what OS are you using? Just open a terminal and execute those commands line by line.

Johannes5 commented 8 years ago

Thank you!

zaggino commented 8 years ago

Instead of the first line, try just:

npm install gulp-cli
Johannes5 commented 8 years ago

So I typed it in line by line and it seemed to work. After I entered the 3rd line an installation window popped up and I installed something.

Then I typed in the 4rth line(cd brackets-npm-registry) and it told me "no such file or diretory" And the 5th line didn't work either. here is a screenshot of the terminal: cd brackets-npm-registry image

Then I looked back into the brackets extension manager and found out that I can just drag and drop the zip file of the extension. After I did that, npm registry was filed under "installed extensiones", which made me happy. However there is no other sign if it being installed: image

Hope you can help

zaggino commented 8 years ago

Google install xcode on mac as the error says after git clone command.

zaggino commented 8 years ago

You need to have those command line developer tools mentioned installed.

Johannes5 commented 8 years ago

thanks for your help everything works fine now

zaggino commented 8 years ago

:+1: cool