-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Build error The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed with: #782
Comments
@kamilshahzad You need to run your Command Prompt as Admin. Please refer to the CLI known issues |
I am running CLI as admin and still facing this issue |
Now facing Cannot read property sourcedir of undefined although i tried |
What is your CLI version? |
cli version is 0.0.39 |
@kamilshahzad Add Here is my angular-cli.json file:
More info: #616 |
{ "routes": [], } I updated this but still same issue |
I'm having the same issue. The bash gets hung up and upon going to port 4200, I receive the same message as @kamilshahzad |
@kamilshahzad you are using an outdated version of the CLI, the current version is beta 5 (available via npm). Please update and re-generate your project. |
#905 should allow non-admin user usage. |
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. |
ng --version
. If there's nothing outputted, pleaserun in a Terminal:
node --version
And paste the result here.
node: 6.1.0
do on your code? etc
i just Create new app and using
ng new pro.
more information.
Build error
The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed with:
Error: Typescript found the following errors:
C:/Users/kamil/ng2/pro5/tmp/broccoli_type_script_compiler-input_base_path-SPob0I1X.tmp/0/src/main.ts (3, 10): Module '"C:/Users/kamil/ng2/pro5/tmp/broccoli_type_script_compiler-input_base_path-SPob0I1X.tmp/0/src/app"' has no exported member 'Pro5AppComponent'.
C:/Users/kamil/ng2/pro5/tmp/broccoli_type_script_compiler-input_base_path-SPob0I1X.tmp/0/src/main.ts (3, 28): Module '"C:/Users/kamil/ng2/pro5/tmp/broccoli_type_script_compiler-input_base_path-SPob0I1X.tmp/0/src/app"' has no exported member 'environment'.
at BroccoliTypeScriptCompiler._doIncrementalBuild (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:115:19)
at BroccoliTypeScriptCompiler.build (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:43:10)
at C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\broccoli-caching-writer\index.js:152:21
at lib$rsvp$$internal$$tryCatch (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.js:1048:17)
at lib$rsvp$$internal$$publish (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.js:1019:11)
at lib$rsvp$asap$$flush (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.js:1198:9)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
The broccoli plugin was instantiated at:
at BroccoliTypeScriptCompiler.Plugin (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\broccoli-caching-writer\node_modules\broccoli-plugin\index.js:10:31)
at BroccoliTypeScriptCompiler.CachingWriter as constructor
at BroccoliTypeScriptCompiler (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:27:5)
at Angular2App._getTsTree (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\lib\broccoli\angular2-app.js:280:18)
at Angular2App._buildTree (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\lib\broccoli\angular2-app.js:101:23)
at new Angular2App (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\lib\broccoli\angular2-app.js:42:23)
at module.exports (C:\Users\kamil\ng2\pro5\angular-cli-build.js:6:10)
at Class.module.exports.Task.extend.setupBroccoliBuilder (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\ember-cli\lib\models\builder.js:55:19)
at Class.module.exports.Task.extend.init (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\ember-cli\lib\models\builder.js:89:10)
at new Class (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\ember-cli\node_modules\core-object\core-object.js:18:12)
at Class.module.exports.Task.extend.run (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\ember-cli\lib\tasks\serve.js:15:19)
at C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\ember-cli\lib\commands\serve.js:64:24
at lib$rsvp$$internal$$tryCatch (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1048:17)
at lib$rsvp$$internal$$publish (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1019:11)
at lib$rsvp$asap$$flush (C:\Users\kamil\ng2\pro5\node_modules\angular-cli\node_modules\ember-cli\node_modules\rsvp\dist\rsvp.js:1198:9)
The text was updated successfully, but these errors were encountered: