Skip to content

jam link fails on Windows. #77

ghost opened this Issue Sep 19, 2012 · 7 comments

4 participants

ghost commented Sep 19, 2012

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

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

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 commented Sep 24, 2012

From Windows Vista and onwards there are natively supported symbolic links:
Windows XP had something called NTFS junction points which seem similar (not as powerful) but you needed a third party tool:

caolan commented Sep 24, 2012

@Marrok are you running Vista or later?

caolan commented Sep 24, 2012

Also, does 'npm link' work for you?

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

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)


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.