jelbourn / material2-app

Simple app that consumes Angular Material 2 components
649 stars 278 forks source link

Running "ng serve" as Administrator does not work in Windows 10 #13

Closed MAJLGC closed 8 years ago

MAJLGC commented 8 years ago

J:\ng\material2-app-master>ng serve Livereload server on http://localhost:49152 Serving on http://localhost:4200/ The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed with: Error: Typescript found the following errors: J:/ng/material2-app-master/tmp/broccoli_type_script_compiler-input_base_path-cHBszQeb.tmp/0/src/typings.d.ts (1, 1): File 'J:/ng/material2-app-master/tmp/broccoli_type_script_compiler-input_base_path-cHBszQeb.tmp/0/typings/browser.d.ts' not found. at BroccoliTypeScriptCompiler._doIncrementalBuild (J:\ng\material2-app-master\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:120:19) at BroccoliTypeScriptCompiler.build (J:\ng\material2-app-master\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:43:10) at J:\ng\material2-app-master\node_modules\angular-cli\node_modules\broccoli-caching-writer\index.js:152:21 at lib$rsvp$$internal$$tryCatch (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\rsvp\dist\rsvp.js:1036:16) at lib$rsvp$$internal$$invokeCallback (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\rsvp\dist\rsvp.js:1048:17) at lib$rsvp$$internal$$publish (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\rsvp\dist\rsvp.js:1019:11) at lib$rsvp$asap$$flush (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\rsvp\dist\rsvp.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 (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\broccoli-plugin\index.js:10:31) at BroccoliTypeScriptCompiler.CachingWriter as constructor at BroccoliTypeScriptCompiler (J:\ng\material2-app-master\node_modules\angular-cli\lib\broccoli\broccoli-typescript.js:27:10) at Angular2App._getTsTree (J:\ng\material2-app-master\node_modules\angular-cli\lib\broccoli\angular2-app.js:331:18) at Angular2App._buildTree (J:\ng\material2-app-master\node_modules\angular-cli\lib\broccoli\angular2-app.js:124:23) at new Angular2App (J:\ng\material2-app-master\node_modules\angular-cli\lib\broccoli\angular2-app.js:53:23) at module.exports (J:\ng\material2-app-master\angular-cli-build.js:6:10) at Class.module.exports.Task.extend.setupBroccoliBuilder (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\angular-cli\lib\models\builder.js:55:19) at Class.module.exports.Task.extend.init (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\angular-cli\lib\models\builder.js:89:10) at new Class (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\core-object\core-object.js:18:12) at Class.module.exports.Task.extend.run (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\angular-cli\lib\tasks\serve.js:15:19) at J:\ng\material2-app-master\node_modules\angular-cli\node_modules\angular-cli\lib\commands\serve.js:64:24 at lib$rsvp$$internal$$tryCatch (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\rsvp\dist\rsvp.js:1036:16) at lib$rsvp$$internal$$invokeCallback (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\rsvp\dist\rsvp.js:1048:17) at lib$rsvp$$internal$$publish (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\rsvp\dist\rsvp.js:1019:11) at lib$rsvp$asap$$flush (J:\ng\material2-app-master\node_modules\angular-cli\node_modules\rsvp\dist\rsvp.js:1198:9)

MAJLGC commented 8 years ago

I follow PsychoSpike in issue 10 and it works for me now

MAJLGC commented 8 years ago

Thank you very much PsychoSpike