New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symlink not permitted. #2
Comments
I ran gulp from an Administrator console and it performed as expected. Is there a command option to NOT have it use symlinks and instead copy the dependencies? I suppose the module is named link-dependencies. but that seems like a risky solution. For anyone else that wants to be able to create symlinks without requiring Run as Administrator, we can enable Symlink creation using the following steps:
|
Unfortunately it currently doesn't have this option. When it was first implemented it copied instead of symlinking, we changed it later. If you look in the commits you can find the copying implementation. We accept pull requests :) |
This fixes issue #2 when trying to symlink on Win32 platforms.
Solved by 616c363 |
{ Error: EPERM: operation not permitted, symlink '[project]\node_modules\jquery' -> '[project]\src\js\deps\jquery'
at Error (native)
errno: -4048,
code: 'EPERM',
syscall: 'symlink',
path: 'project\node_modules\jquery',
dest: 'project\src\js\deps\jquery' }
It seems the module thinks it can use symlink even though it's on Windows. Does this module require intellij/gulp be run as Administrator?
node --version
v6.3.1
npm --version
3.10.7
gulp --version
[09:12:03] CLI version 3.9.1
[09:12:03] Local version 3.9.1
The text was updated successfully, but these errors were encountered: