akveo / akveo/nebular

An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json'

Aperta
#2,648 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
needs info
Lingua principale
TypeScript
Stelle
8.1k
Fork
1.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

* [x] bug report

### Issue description

**Current behavior:**
execute ng serve
result
An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json'

**Expected behavior:**
install the library with the cli and manually, in both cases they failed

**Steps to reproduce:**
npm install -g @angular/cli
ng new my-new-project
ng add @nebular/theme

**Related code:**
![image](https://user-images.githubusercontent.com/22886367/104913637-e68f9e80-595b-11eb-8703-8e2d17a0ed74.png)

### Other information:

**npm, node, OS, Browser**
$ npm --version
6.14.11

package.json
{
"name": "amplify-app",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^11.0.9",
"@angular/cdk": "^10.2.7",
"@angular/common": "~11.0.9",
"@angular/compiler": "~11.0.9",
"@angular/core": "~11.0.9",
"@angular/forms": "~11.0.9",
"@angular/platform-browser": "~11.0.9",
"@angular/platform-browser-dynamic": "~11.0.9",
"@angular/router": "~11.0.9",
"@aws-amplify/ui-angular": "^0.4.17",
"@nebular/eva-icons": "^7.0.0-beta.2",
"@nebular/theme": "^7.0.0-beta.2",
"aws-amplify": "^3.3.14",
"eva-icons": "^1.1.3",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular/cli": "^11.0.7",
"@angular/compiler-cli": "~11.0.9",
"@schematics/angular": "~11.0.7",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.1.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2"
}
}

OS: Windows 10
Browser: Chrome

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.