Skip to content

jam link fails on Windows. #77

Open
ghost opened this Issue Sep 19, 2012 · 7 comments

4 participants

@ghost
ghost commented Sep 19, 2012

DEV\dev-create-jam-package> jam -v
0.2.7

DEV\dev-create-jam-package> jam link .
Error: EPERM, symlink 'C:\Users\mtherrien\Desktop\DEV\javascript-repo\beholdergraph\DEV\dev-create-jam-package'
Failed

@caolan
Owner
caolan commented Sep 24, 2012

I don't think you can create symlinks (or something synonymous) on Windows, so this feature is unsupported on that platform. If someone knows better then please help out and send me a pull request ;)

I'll leave this issue open for now, since I think we should have a more friendly error message on platforms that don't support it.

@jeffory
jeffory commented Sep 24, 2012

From Windows Vista and onwards there are natively supported symbolic links: http://en.wikipedia.org/wiki/NTFS_symbolic_link#Syntax
Windows XP had something called NTFS junction points which seem similar (not as powerful) but you needed a third party tool: http://support.microsoft.com/kb/205524/en-us

@caolan
Owner
caolan commented Sep 24, 2012

@Marrok are you running Vista or later?

@caolan
Owner
caolan commented Sep 24, 2012

Also, does 'npm link' work for you?

@ghost
ghost commented Sep 24, 2012

@caolan I am Windows 7.
I've only used npm to install jam, so I can't say for sure.

@ghost ghost closed this Sep 24, 2012
@ghost ghost reopened this Sep 24, 2012
@robmazan

I've experienced the same issue, but it turned out in my case that I didn't have sufficient permissions. Running the same command as administrator worked... (on Windows 7)

@newtonianb

Thanks for the tip robmazan! Permissions was the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.