2016-11-04 5 views
0

Ionic 2を使用してハイブリッドアプリを構築しました。
XcodeにWindows仮想マシンを使用しています。
私はブラウザ上でアプリケーションを実行することができ、アンドロイドは私のウィンドウでうまくいきます。
問題は私がMacに移動するときです。私はノードJSで同じことをしていますが、エラーが発生します。
は、私は私が私が間違っているの何 build prod failed:ionic2でEACCESを生成する

> [email protected] build /Users/amitaimazliah/Desktop/Vme2 
> ionic-app-scripts build 
[08:38:07] ionic-app-scripts 0.0.38 
[08:38:07] build prod started ... 
[08:38:07] clean started ... 
[08:38:07] clean finished in 3 ms 
[08:38:07] copy started ... 
[08:38:07] ngc started ... 
[08:38:07] copy finished in 262 ms 
[08:38:07] build prod failed: spawn EACCES 
[08:38:07] ionic-app-script task: "build" 
[08:38:07] Error: spawn EACCES 
npm ERR! Darwin 14.0.0 
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build" 
npm ERR! node v6.9.1 
npm ERR! npm v3.10.8 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] build: `ionic-app-scripts build` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] build script 'ionic-app-scripts build'. 
npm ERR! Make sure you have the latest version of node.js and npm installed. 
npm ERR! If you do, this is most likely a problem with the ionic-hello-world package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  ionic-app-scripts build 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs ionic-hello-world 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls ionic-hello-world 
npm ERR! There is likely additional logging output above. 
npm ERR! Please include the following file with any support request: 
npm ERR!  /Users/amitaimazliah/Desktop/Vme2/npm-debug.log 
Caught exception: 

undefined 



Mind letting us know? https://github.com/driftyco/ionic-cli/issues 



[08:38:07] lint started ... 

[08:38:08] tslint: src/pages/home/home.ts, line: 57 

      Unused method: 'setNewPhotos' 

     L57: private setNewPhotos() 

[08:38:08] lint finished in 1.27 s 

(node:2376) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: channel closed 

任意のアイデア

を得る

ionic start/run/emulate/build Vme2 

sudo ionic start/run/emulate/build Vme2 

どれもが、これは誤りである 働かないターミナルでこれらの行を使用しましたか? おかげ

答えて

0

ビルドあなたは、このコマンドを使用してみてくださいapp.Canときには問題がある」

ionic hooks add 

応援!

+0

あなたの答えは不完全です。編集してください。 – MikeJRamsey56

+0

私は755(そのコマンドを使用し、まだ私は $イオンプラットフォームは $イオンフックフォルダが実行可能でなければならないフックに $イオンプラットフォームIOS – Amitai

+0

を取得したり-rwxr-xr-x) – Amitai

関連する問題