2017-10-05 13 views
0

Ich entwickle gerade eine eckige 4 App und möchte die amexio Bibliothek verwenden (https://github.com/meta-magic/amexio.github.io). i Bootstrap installiert, Benötigt Tether.js & Popper.js und Font Awesome mit NPM. das ist mein Winkel cli.json Stile und SkriptModul nicht gefunden: Fehler

"styles": [ 
       "../node_modules/font-awesome/css/font-awesome.css", 
       "styles/app.scss", 
       "styles.css", 
       "../node_modules/bootstrap/dist/css/bootsrap.css", 
       "../node_modules/font-awesome/css/font-awsome.min.css" 
      ], 
      "scripts": [ 
       "../node_modules/chart.js/dist/Chart.js", 
       "../node_modules/jquery/dist/jquery.min.js", 
       "../node_modules/popper.js/dist/umd/popper.min.js", 
       "../node_modules/tether/dist/js/tether.min.js", 
       "../node_modules/bootstrap/dist/js/bootstrap.js" 
      ] 

aber wenn ich tun npm diesen Fehler beginnen bekam:

ERROR in multi ./node_modules/font-awesome/css/font-awesome.css ./src/styles/app.scss ./node_modules/bootsrap/dist/css/bootsrap.css 
Module not found: Error: Can't resolve 'D:\workspace\pmnnew\node_modules\bootsrap\dist\css\bootsrap.css' in 'D:\workspace\pmnnew\node_modules\@angular\cli\models\webpack-configs' 
resolve 'D:\workspace\pmnnew\node_modules\bootsrap\dist\css\bootsrap.css' in 'D:\workspace\pmnnew\node_modules\@angular\cli\models\webpack-configs' 
    using description file: D:\workspace\pmnnew\node_modules\@angular\cli\package.json (relative path: ./models/webpack-configs) 
    Field 'browser' doesn't contain a valid alias configuration 
    after using description file: D:\workspace\pmnnew\node_modules\@angular\cli\package.json (relative path: ./models/webpack-configs) 
    using description file: D:\workspace\pmnnew\package.json (relative path: ./node_modules/bootsrap/dist/css/bootsrap.css) 
     no extension 
     Field 'browser' doesn't contain a valid alias configuration 
     D:\workspace\pmnnew\node_modules\bootsrap\dist\css\bootsrap.css doesn't exist 
     .ts 
     Field 'browser' doesn't contain a valid alias configuration 
     D:\workspace\pmnnew\node_modules\bootsrap\dist\css\bootsrap.css.ts doesn't exist 
     .js 
     Field 'browser' doesn't contain a valid alias configuration 
     D:\workspace\pmnnew\node_modules\bootsrap\dist\css\bootsrap.css.js doesn't exist 
     as directory 
     D:\workspace\pmnnew\node_modules\bootsrap\dist\css\bootsrap.css doesn't exist 
[D:\workspace\pmnnew\node_modules\bootsrap\dist\css\bootsrap.css] 
[D:\workspace\pmnnew\node_modules\bootsrap\dist\css\bootsrap.css.ts] 
[D:\workspace\pmnnew\node_modules\bootsrap\dist\css\bootsrap.css.js] 
[D:\workspace\pmnnew\node_modules\bootsrap\dist\css\bootsrap.css] 
@ multi ./node_modules/font-awesome/css/font-awesome.css ./src/styles/app.scss ./node_modules/bootsrap/dist/css/bootsrap.css 
+0

Schriftart awsome fehlt versuchen und installieren und speichern –

+0

ich tat npm installieren ... --save – fbm

Antwort

2

Sie haben mit falschen Reihenfolge importiert Dateien, die, warum es Fehler geben . Bitte folgen Sie der angegebenen Reihenfolge.

Verwandte Themen