我最近開始使用angular2-cli並創建了一個新項目。我想在我的項目中使用bootstrap,因此我安裝了bootstrap,然後想要導入引導程序css文件,就像它在這裏的angular2-cli指南中所示。 https://github.com/angular/angular-cli#global-library-installation 運行ng服務之後,出現以下錯誤。angular2-cli給@multi樣式錯誤
ERROR in multi styles Module not found: Error: Can't resolve '/home/krishna/angular2_migrate/webui/node_modules/bootstrap/dist/css/bootstrap.min.css' in '/home/krishna/angular2_migrate/webui/node_modules/angular-cli/models' @ multi styles
我在做什麼錯?
約路徑之前angular2-CLI版本
[email protected]:~/angular2_migrate/webui$ ng version
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
angular-cli: 1.0.0-beta.17
node: 4.4.3
os: linux x64