ionic创建项目报错:Couldn't find ionic.config.json file. Are you in an Ionic project?
一、问题描述
ionic创建项目报错:
Couldn't find ionic.config.json file. Are you in an Ionic project?
二、解决方法
进入项目的路径,和一个能运行的项目一对比,发现少了些文件:
发现少了:
platforms
plugins
resources
ionic.config.json
这三个目录和一个json文件:
从能运行的那个项目中把这三个目录和一个json文件夹拷贝到报错的那个项目中就行了。