Please provide us with the following information:
- OS - Windows 10.
- Versions:
angular-cli: 1.0.0-beta.1
node: 4.4.1
os: win32 ia32- Here's what I've done:
npm install -g angular-cli
ng
ng new ng_test
cd ng_test
ng serve- log:
Build error
The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed with:
Error: EPERM: operation not permitted, symlink 'C:UsersranbuDocumentsdevng_testtmpbroccoli_type_script_compiler-cache_path-gsJuqMJK.tmpsrcappenvironment.js.map' -> 'C:UsersranbuDocumentsdevng_testtmpbroccoli_type_script_compiler-output_path-Bivnrro5.tmpsrcappenvironment.js.map'
at Error (native)
at Object.fs.symlinkSync (fs.js:897:18)
at BroccoliTypeScriptCompiler._outputFile (C:UsersranbuDocumentsdevng_testnode_modulesangular-clilibbroccolibroccoli-typescript.js:206:8)
at C:UsersranbuDocumentsdevng_testnode_modulesangular-clilibbroccolibroccoli-typescript.js:108:18
at Array.forEach (native)
at C:UsersranbuDocumentsdevng_testnode_modulesangular-clilibbroccolibroccoli-typescript.js:107:30
at Array.forEach (native)
at BroccoliTypeScriptCompiler._doIncrementalBuild (C:UsersranbuDocumentsdevng_testnode_modulesangular-clilibbroccolibroccoli-typescript.js:93:19)
at BroccoliTypeScriptCompiler.build (C:UsersranbuDocumentsdevng_testnode_modulesangular-clilibbroccolibroccoli-typescript.js:43:10)
at C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesbroccoli-caching-writerindex.js:152:21
at lib$rsvp$$internal$$tryCatch (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesbroccoli-caching-writernode_modulesrsvpdistrsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesbroccoli-caching-writernode_modulesrsvpdistrsvp.js:1048:17)
at lib$rsvp$$internal$$publish (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesbroccoli-caching-writernode_modulesrsvpdistrsvp.js:1019:11)
at lib$rsvp$asap$$flush (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesbroccoli-caching-writernode_modulesrsvpdistrsvp.js:1198:9)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
The broccoli plugin was instantiated at:
at BroccoliTypeScriptCompiler.Plugin (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesbroccoli-caching-writernode_modulesbroccoli-pluginindex.js:10:31)
at BroccoliTypeScriptCompiler.CachingWriter as constructor
at BroccoliTypeScriptCompiler (C:UsersranbuDocumentsdevng_testnode_modulesangular-clilibbroccolibroccoli-typescript.js:27:10)
at Angular2App._getTsTree (C:UsersranbuDocumentsdevng_testnode_modulesangular-clilibbroccoliangular2-app.js:280:18)
at Angular2App._buildTree (C:UsersranbuDocumentsdevng_testnode_modulesangular-clilibbroccoliangular2-app.js:101:23)
at new Angular2App (C:UsersranbuDocumentsdevng_testnode_modulesangular-clilibbroccoliangular2-app.js:42:23)
at module.exports (C:UsersranbuDocumentsdevng_testangular-cli-build.js:6:10)
at Class.module.exports.Task.extend.setupBroccoliBuilder (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesember-clilibmodelsbuilder.js:55:19)
at Class.module.exports.Task.extend.init (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesember-clilibmodelsbuilder.js:89:10)
at new Class (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesember-clinode_modulescore-objectcore-object.js:18:12)
at Class.module.exports.Task.extend.run (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesember-clilibtasksserve.js:15:19)
at C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesember-clilibcommandsserve.js:64:24
at lib$rsvp$$internal$$tryCatch (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesember-clinode_modulesrsvpdistrsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesember-clinode_modulesrsvpdistrsvp.js:1048:17)
at lib$rsvp$$internal$$publish (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesember-clinode_modulesrsvpdistrsvp.js:1019:11)
at lib$rsvp$asap$$flush (C:UsersranbuDocumentsdevng_testnode_modulesangular-clinode_modulesember-clinode_modulesrsvpdistrsvp.js:1198:9)
ng-conf 2016 was epic!
@ranbuch
You need to run your Command Prompt as Admin. Please refer to https://github.com/angular/angular-cli/issues/641
@ranbuch
Run the Command Prompt as Admin

Works like a charm. I must have missed that:
On Windows you need to run the build and serve commands with Admin permissions, otherwise the performance is not good.
Thank you.
Guys, having the same problem (Broccoli Typescript Compiler Error) except using OSX, not Windows.
What are the steps to fix this bug?
https://github.com/angular/angular-cli/pull/905 should allow non-admin user usage.
Hi filipesilva, I still have the same problem, how should I resolve this bug?
Can you open a new issue with a copy of the error log? There are a few
different cases for Broccoli Typescript Compiler Error
On Wed, 1 Jun 2016, 17:10 Niall, [email protected] wrote:
Hi filipesilva, I still have the same problem, how should I resolve this
bug?—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular-cli/issues/776#issuecomment-223043159,
or mute the thread
https://github.com/notifications/unsubscribe/AD-pL1wWjOGm1fpjl6m-ivrIK4dy1YKxks5qHa7XgaJpZM4Ie1aP
.
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._
Most helpful comment
Works like a charm. I must have missed that:
Thank you.