Hi
I am new to Sublime and just downloaded and went straight to installing node.js. However, I am a bit baffled.
I made my way to the node.js package:
https://packagecontrol.io/packages/Nodejs
If you scroll down to the Install section, it states you can make your way to the package manager. It gives you a link and you go round in a circle and back to where you started!
So, next I went to the manual section and for my Windows 10 machine copied & pasted the git clone line:
git clone https://github.com/tanepiper/SublimeText-Nodejs "%APPDATA%\Sublime Text 3\Packages\Nodejs"
I replaced %APPDATA% with where Sublime is installed, which by default is “C:\Program Files\Sublime Text”, and guess what - I got a permission denied:
fatal: could not create leading directories of ‘C:\Program Files\Sublime Text\Packages\Packages\Nodejs’: Permission denied
So, next I cloned to C:\Temp:
git clone https://github.com/tanepiper/SublimeText-Nodejs “C:\Temp\Sublime Text\Packages\Packages\Nodejs”
That’s where I’m up to.
In my cloned C:\Temp\Sublime Text\Packages\Packages\Nodejs folder I see a .no-sublime-package file but it is empty and 0kB in size, unlike the pre-installed valid files in C:\Program Files\Sublime Text\Packages.
So, what do I now have to do to generate the node.js package?
And does anyone actually understand the notes extracted from the node.js Sublime NodeJS package, copied and pasted below:
" After the package is installed, install Node.js packages needed for working the package built-in tools. You can to install either globaly by: npm install -g commander@"~2.9.0" uglify-js@"~2.6.0"
or localy by adding previously mentioned Node.js packages to your current project, either: npm install commander@"~2.9.0" uglify-js@"~2.6.0"
or manully editing your project package.json
file."
Is using node.js in Sublime supposed to be easy ???