Skip to content
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

The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed #828

Closed
oodboo opened this issue May 18, 2016 · 6 comments
Closed

The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed #828

oodboo opened this issue May 18, 2016 · 6 comments

Comments

@oodboo
Copy link

oodboo commented May 18, 2016

OS: Windows 10
angular-cli: 1.0.0-beta.4
node: 4.4.3
os: win32 x64

Steps:
ng new test-ng
cd test-ng
npm start
:: Error - look what was suggested in #414 and tried:
ng init -- all overwritten
ng build -prod
:: Again same Error

The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed with:
Error: EPERM: operation not permitted, 
symlink 
'c:\test-ng\tmp\broccoli_type_script_compiler-cache_path-RwtFVBiT.tmp\src\app\environment.js.map' 
-> 'c:\test-ng\tmp\broccoli_type_script_compiler-output_path-pZdkL7rW.tmp\src\app\environment.js.map'
    at Error (native)
    at Object.fs.symlinkSync (fs.js:897:18)
    at BroccoliTypeScriptCompiler._outputFile 
(c:\test-ng\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:206:8)

Reason I was trying angular-cli is because I am getting 400 requests with @angular RC1 project.

@vance
Copy link

vance commented May 19, 2016

SUDO (mac) or run CMD as admin (win)?

@oodboo
Copy link
Author

oodboo commented May 20, 2016

@vance Yes, that is the one, although I would like to know why they could not do it without elevated privileges in the first place. Why not using local project folder for storing temp folder?!

@oodboo oodboo closed this as completed May 20, 2016
@vance
Copy link

vance commented May 20, 2016

I'm finding that since the El Capitan update on OS X, nearly all my node/NPM scripts require elevated privileges, which itself seems like a security risk. I don't want to be SUDOing every single command, who knows what's in there.

@oodboo
Copy link
Author

oodboo commented May 20, 2016

@vance I agree 100%, maybe you should raise it as an issue just reference this and I will support you !

@filipesilva
Copy link
Contributor

#905 should allow non-admin user usage.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants