You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\code>ng build -prod
Build failed.
The Broccoli Plugin: [BundlePlugin] failed with:
Error tracing app/code.component.js at file:///D:/code/tmp/bundle_plugin-input_base_path-Mcx9z1mU.tmp/0/app/code.component.js
Loading app/index.js
Loading main.js
Error: Unable to calculate canonical name to bundle file:///vendor/@angular2-material/sidenav/sidenav. Ensure that this module sits within the baseURL or a wildcard path config.
at getCanonicalNamePlain (D:\code\node_modules\systemjs-builder\lib\utils.js:220:13)
at getCanonicalName (D:\code\node_modules\systemjs-builder\lib\utils.js:145:19)
at D:\code\node_modules\systemjs-builder\lib\trace.js:471:36
The broccoli plugin was instantiated at:
at BundlePlugin.Plugin (D:\code\node_modules\broccoli-plugin\index.js:10:31)
at BundlePlugin.CachingWriter [as constructor] (D:\code\node_modules\broccoli-caching-writer\index.js:21:10)
at BundlePlugin (D:\code\node_modules\angular-cli\lib\broccoli\angular-broccoli-bundle.js:10:36)
at Angular2App._getBundleTree (D:\code\node_modules\angular-cli\lib\broccoli\angular2-app.js:421:22)
at Angular2App._buildTree (D:\code\node_modules\angular-cli\lib\broccoli\angular2-app.js:159:21)
at new Angular2App (D:\code\node_modules\angular-cli\lib\broccoli\angular2-app.js:53:23)
at module.exports (D:\code\angular-cli-build.js:6:10)
at Class.module.exports.Task.extend.setupBroccoliBuilder (D:\code\node_modules\angular-cli\lib\models\builder.js:55:19)
at Class.module.exports.Task.extend.init (D:\code\node_modules\angular-cli\lib\models\builder.js:89:10)
at new Class (D:\code\node_modules\core-object\core-object.js:18:12)
at Class.module.exports.Task.extend.run (D:\code\node_modules\angular-cli\lib\tasks\build.js:15:19)
at D:\code\node_modules\angular-cli\lib\commands\build.js:32:24
at lib$rsvp$$internal$$tryCatch (D:\code\node_modules\rsvp\dist\rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (D:\code\node_modules\rsvp\dist\rsvp.js:1048:17)
at lib$rsvp$$internal$$publish (D:\code\node_modules\rsvp\dist\rsvp.js:1019:11)
at lib$rsvp$asap$$flush (D:\code\node_modules\rsvp\dist\rsvp.js:1198:9)
could you help me?
thank you very much
The text was updated successfully, but these errors were encountered:
angular/angular-cli#1002
ng version:
angular-cli: 1.0.0-beta.5
node: 5.10.1
os: win32 x64
angular 2.0.0-rc.1
angular2-material 2.0.0-alpha.4
angular-cli-build.js
package.json
i run ng serve, it ok
but when i run ng build -prod,i got an error:
could you help me?
thank you very much
The text was updated successfully, but these errors were encountered: