I am new at ionic framework while trying to build the app using “ionic serve” I am facing error: Cannot find module node_modules@ionic\app-scripts
Error
$ ionic serve
Error: Cannot find module 'E:\myapp_dwai\myapp_dwai_ap\node_modules\@ionic\app-scripts'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\Users\Mehroz\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\lib\ionic-angular\app-scripts.js:9:16) at Generator.next (<anonymous>)
at C:\Users\Mehroz\AppData\Roaming\npm\node_modules\ionic\node_modules\tslib\tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (C:\Users\Mehroz\AppData\Roaming\npm\node_modules\ionic\node_modules\tslib\tslib.js:103:16)
at Object.importAppScripts (C:\Users\Mehroz\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\lib\ionic-angular\app-scripts.js:7:20)
This is my ionic info
Ionic Info
$ ionic info
[ERROR] Error with .\node_modules\ionic-angular\package.json file: FILE_NOT_FOUND
[ERROR] Error with .\node_modules\@ionic\app-scripts\package.json file: FILE_NOT_FOUND
cli packages: (C:\Users\Mehroz\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 6.5.0
local packages:
@ionic/app-scripts : not installed
Cordova Platforms : android 6.2.3 browser 4.1.0
Ionic Framework : not installed
System:
Node : v8.11.2
npm : 6.1.0
OS : Windows 10
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro
Package.Json file of my projetc
Thanks in advance