Fehler:
npm ERR! code ERESOLVE unable to resolve dependency tree
Fehler In Visual Code
Terminal:
ng new clientapp
Npm install bootstrap@next --save
|
Lösung:
Nach einem ng new app Befehl muss man auch in das
neue App Verzeichnis wechseln mit cd appfolder
PS D:\Demo\Angular> cd clientapp
PS D:\Demo\Angular\clientapp>
Npm install bootstrap@next --save
|
PS D:\Demo\Angular> Npm install bootstrap@next
--save
npm WARN saveError ENOENT: no such file or
directory, open 'D:\Demo\Angular\package.json'
npm notice created a lockfile as
package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or
directory, open 'D:\Demo\Angular\package.json'
npm WARN bootstrap@5.0.0-beta3 requires a
peer of @popperjs/core@^2.9.1 but none is installed. You must install peer
dependencies yourself.
npm WARN Angular No description
npm WARN Angular No repository field.
npm WARN Angular No README data
npm WARN Angular No license field.
|