发生错误[错误:无法找到ionic.project文件。你在项目目录中吗?]

时间:2015-10-11 20:16:25

标签: ionic-framework ionic

出于某种原因,在使用离子启动后,出现以下错误:

    Error occured [Error: Unable to locate the ionic.project file. 
    Are you in your project directory?]




    Unable to locate the ionic.project file. 
    Are you in your project directory? (CLI v1.6.5)

    Your system information:

    Cordova CLI: 5.1.1
    Gulp version:  CLI version 3.9.0
    Gulp local:
    Ionic CLI Version: 1.6.5
    Ionic App Lib Version: 0.3.9
    ios-deploy version: Not installed
    ios-sim version: Not installed
    OS: Mac OS X Yosemite
    Node Version: v0.12.4

我在目录中称为离子启动

1 个答案:

答案 0 :(得分:0)

尝试更新离子CLI。为我工作:

npm update -g ionic