Added support for non Administrator CLI user#905
Added support for non Administrator CLI user#905degiorgig wants to merge 3 commits intoangular:masterfrom
Conversation
In case of non-admin user instead of symlinkSync will just writeFileSync.
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
I signed it! |
|
CLAs look good, thanks! |
|
Fixes: ng serve => Error: EPERM: operation not permitted, symlink #641 |
|
When will this be merged? |
|
@leader80 thanks so much! I'm looking at this PR right now, and should have it merged soon. |
| try { | ||
| fs.symlinkSync(absoluteFilePath, outputFilePath); | ||
| } catch (e) { | ||
| const conentStr = fs.readFileSync(absoluteFilePath); |
There was a problem hiding this comment.
Good catch, will fix it in another PR.
|
These changes should be in the upcoming |
In case of non-admin user instead of symlinkSync will just writeFileSync. Close angular#905 Fix angular#886 Fix angular#370
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
In case of non-admin user instead of symlinkSync will just writeFileSync.