3

I'm following the setup instructions for this mobile javascript debugger here. FYI, I'm using Windows XP SP2 32-bit. Please understand I am new to using git, node.js, and npm.

Now, I'm stuck on this step

Download the required libraries by running "npm link" in the checked-out directory

The link here helped me a great deal with breaking down the steps from the first link. I deduced that the directory, Aardwolf, was 'checked-out' when I issued the git clone command. I tried running npm link on the directory, from within the Git Bash window, and this is what I got;

npm.cmd link ../../Aardwolf
./npm.cmd: line 1: unexpected EOF while looking for matching `''
./npm.cmd: line 7: syntax error: unexpected end of file

Then, I reinstalled Git and tried using it through the Windows Command line and this is the result:

npm link
npm ERR: Error: npm link not supported on windows

And then it gives more errors at particular files, but that's the main one.

So, I tried using npm link and it's supposedly not supported on Windows. Is there a workaround for this???

Thank you.

Tekkub
  • 30,739
  • 2
  • 30
  • 20
user717236
  • 4,959
  • 19
  • 66
  • 102

3 Answers3

0

I tried, in nodejs 0.65 version the link command does not work by saying: not support on windows. But using the latest version of nodejs 0.8.1, it works! oh, mine is windows 7 x64

aaron
  • 1,951
  • 3
  • 27
  • 41
0

Perhaps you should try mklink or junction as described here http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/ (and then inform us of your findings!)

Angelos Pikoulas
  • 1,002
  • 1
  • 14
  • 21
0

This is due to Windows XP only partially supporting Symlinks, and similarly Windows Vista and 7 requiring admin rights to use Symlinks.

The issue of npm link failing on windows was raised on the npm github page.

Iain Sproat
  • 5,210
  • 11
  • 48
  • 68