Ich habe npm 3.10.10
installiert, dann habe ich installed ionic 3.9.2
und cordova 7.0.1
.Kann Modul node_modules @ionic app-scripts nicht finden IONIC 3
i versucht haben, die folgenden Schritte:
ionic start newProject
(ausgewählt, um ein Projekt tabs)
ionic serve
dieser Befehl throw
die error
Error: Cannot find module 'E:\firstProject\node_modules\@ionic\app-scripts'
Ich fand nur diesen Thread Error: Cannot find module '@ionic/app-scripts'.
ich will nicht meine NodeJS Version herabzustufen, wie ich neueste Feature
verwenden möchten, aber ich versuchte,
npm i @ionic/app-scripts
(SAG Antwort)
ich bin immer gleich error
nach Ausführung oben command
plea se mir helfen, ohne nodejs
version
EDIT 1 (Stand sampath Vorschlag) Herabstufung: unter meiner package.json
Datei
{
"name": "firstProject",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.1.3",
"@angular/compiler": "4.1.3",
"@angular/compiler-cli": "4.1.3",
"@angular/core": "4.1.3",
"@angular/forms": "4.1.3",
"@angular/http": "4.1.3",
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@ionic-native/core": "3.12.1",
"@ionic-native/splash-screen": "3.12.1",
"@ionic-native/status-bar": "3.12.1",
"@ionic/storage": "2.0.1",
"ionic-angular": "3.6.0",
"ionicons": "3.0.0",
"rxjs": "5.4.0",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.12"
},
"devDependencies": {
"@ionic/app-scripts": "2.1.4",
"typescript": "2.3.4"
},
"description": "An Ionic project"
}
ist, wenn ich ionic info
führen Sie es irgendeine Art von Fehler geben
$ ionic info
EDIT 2: (Antwort Nach sampath)
- tat ich folgendes
i removed `"@ionic/app-scripts": "2.1.4"`
-
$ npm install @ionic/[email protected] --save-dev
post $ npm install @ionic/[email protected] --save-dev , package.json file will look like below
mir bitte Dank im Voraus helfen !!!!
Können Sie die 'package.json' Datei und' ionic info' anzeigen? – Sampath
hallo sampath Sie es an ** ** EDIT1 – EaB
sampath sehen kann mir bitte helfen Sie mit dem oben 'error' – EaB