ionic 1 app不构建ios:ionic.project已重命名为ionic.config.json,

Sho*_*bel 7 ionic-framework ionic2

我正在与远程团队合作开发Ionic 1应用程序,最近我们的版本彼此不喜欢.我想知道我是否也一直致力于Ionic 2项目的事实我的CLI"认为"这些应用程序也是Ionic 2并且那里正在拍摄下面的错误?

离子构建ios

WARN: ionic.project has been renamed to ionic.config.json, please rename it.
(node:9061) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Uh oh! Looks like you're missing a module in your gulpfile:
Cannot find module 'bower'

Do you need to run `npm install`?
Run Code Online (Sandbox Code Playgroud)

我已经运行了npm install ..并没有让它消失..我也确保安装了凉亭.

这与这里有什么关系呢?我已经被困在这里几天了.

Imgur

UPDATE

我去了一个旧的项目,我试图运行ionic info,看看我的版本和系统信息,但我得到了相同的错误信息..

我不明白为了得到这个我做了什么......

mymac ~/code/92_AAC/newApp on master[!]
$ ionic info
WARN: ionic.project has been renamed to ionic.config.json, please rename it.
Uh oh! Looks like you're missing a module in your gulpfile:
Cannot find module 'gulp'

Do you need to run `npm install`?
Run Code Online (Sandbox Code Playgroud)

更新2

我从节点6降级到节点5.9在当前项目中我遇到了原始问题..我得到了这个..

$ ionic build ios
******************************************************
 Dependency warning - for the CLI to run correctly,      
 it is highly recommended to install/upgrade the following:     

 Install ios-sim to deploy iOS applications. `npm install -g ios-sim` (may require sudo)
 Install ios-deploy to deploy iOS applications to devices. `npm install -g ios-deploy` (may require sudo)

******************************************************
WARN: ionic.project has been renamed to ionic.config.json, please rename it.
(node:11866) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Uh oh! Looks like you're missing a module in your gulpfile:
Cannot find module 'bower'

Do you need to run `npm install`?
Run Code Online (Sandbox Code Playgroud)

我的离子信息(最终能够打印出来)

您的系统信息:

Cordova CLI: 6.1.1
Gulp version:  CLI version 1.2.1
Gulp local:  
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: 1.8.6 
ios-sim version: 5.0.3 
OS: Mac OS X El Capitan
Node Version: v5.9.1
Xcode version: Xcode 7.3.1 Build version 7D1014 
Run Code Online (Sandbox Code Playgroud)

在@janos建议之后更新3

我跑了npm安装凉亭,它运行并安装了一些模块,但我得到了以下..

  1. 单击此链接可以更详细地查看我的命令行的屏幕截图 .

```

$ ionic build ios WARN:ionic.project已重命名为ionic.config.json,请重命名.(node:12122)fs:不支持重新评估本机模块源.如果您使用的是graceful-fs模块,请将其更新为更新版本.你的gulpfile中有一个错误:错误:ENOENT:没有这样的文件或目录,scandir'/ Users/abelista/code/inov/cornerstone/inov/a4c/passengerApp/trunk/passenger/node_modules/gulp-sass/node_modules/node -sass/vendor'在Object.fs.readdirSync(fs.js:945:18)处的错误(本机)处于Object.getInstalledBinaries(/ Users/abelista/code/inov/cornerstone/inov/a4c/passengerApp/trunk/passenger) /node_modules/gulp-sass/node_modules/node-sass/lib/extensions.js:74:13)在foundBinariesList(/ Users/abelista/code/inov/cornerstone/inov/a4c/passengerApp/trunk/passenger/node_modules/gulp -sass/node_modules/node-sass/lib/errors.js:20:15)在foundBinaries(/ Users/abelista/code/inov/cornerstone/inov/a4c/passengerApp/trunk/passenger/node_modules/gulp-sass/node_modules) /node-sass/lib/errors.js:15:5)在Object.module.exports.missingBinary(/ Users/abelista/code/inov/cornerstone/inov/a4c/passengerApp/trunk/passenger/node_modules/gulp-sass) /node_modules/node-sass/lib/errors.js:45:5)在Object.(/用户/ abelista /代码/ inov /基石/ inoabelista

```

  1. 列表项:主要错误(A4CPassenger@1.1.1 - 不知道该怎么称呼这个...但这基本上是应用程序的名称?我相信远程团队改变了它......无论出于什么原因我仍然得到旧名称..)

Sho*_*bel 0

我正在运行 Node 6.0.0,我需要运行 Node 4.4.4