认证高级PHP讲师
Look at the log and you will know what is wrong
Error: Cannot find module `E:\node_modules\...`
Never used it ionic,能不能把整个 log 发出来,别发图片。你可以先在试一试在项目根目录执行一下 npm install Install the dependencies.
ionic
log
npm install
Exception information shows that the @ionic/app-scripts package was not successfully installed. Check the local node_modules directory first
Is there an app-scripts folder? If not, execute the following command on the command line and reinstall the dependency package:
npm install @ionic/app-scripts@latest --save-dev
Remarks:
1. If you use npm to install, remember to set a domestic mirror, such as Taobao mirror:
npm config set registry https://registry.npm.taobao.org
2. Command line operation - ionic info can view detailed operating environment information
Look at the log and you will know what is wrong
Never used it
ionic
,能不能把整个log
发出来,别发图片。你可以先在试一试在项目根目录执行一下
npm install
Install the dependencies.Exception information shows that the @ionic/app-scripts package was not successfully installed. Check the local node_modules directory first
Is there an app-scripts folder? If not, execute the following command on the command line and reinstall the dependency package:
npm install @ionic/app-scripts@latest --save-dev
Remarks:
1. If you use npm to install, remember to set a domestic mirror, such as Taobao mirror:
npm config set registry https://registry.npm.taobao.org
2. Command line operation - ionic info can view detailed operating environment information