๋น ํฐ๋ฏธ๋์์ ionic CLI์ ํน์ ๋ช
๋ น์ ์ฌ์ฉํ ์ ์๋ ๊ฒ ๊ฐ์ต๋๋ค.
์ด ์ฝ๋:
<?php
shell_exec('ionic package list');
๊ฒฐ๊ณผ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
> [email protected] postinstall /home/ubuntu/workspace/storage/ap"...
The resources folder already exists. We will not overwrite your files unless you pass the --force argument.
Running with the force flag will overwrite your resources directory and modify your config.xml file
splash ios Default-Landscape@~ipadpro.png (2732x2048) skipped, source image splash.png (2208x2208) too small
splash ios Default-Portrait@~ipadpro.png (2048x2732) skipped, source image splash.png (2208x2208) too small
TypeError: process.stdout.getWindowSize is not a function
at /home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/ionic/lib/ionic/package.js:181:42
at _fulfilled (/home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/ionic/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/ionic/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/ionic/node_modules/q/q.js:749:13)
at /home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/ionic/node_modules/q/q.js:557:44
at flush (/home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/ionic/node_modules/q/q.js:108:17)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
process.stdout.getWindowSize is not a function (CLI v2.0.0-beta.30)
์ผ๋ถ ์คํ ์ค์ธ ๋น๋ ์์ ์ ์ํ๋ฅผ ํ์ํ๊ธฐ ์ํด Laravel ์ฑ์ ๋น๋ ์ค์ ๋๋ค.
๋ญ๊ฐ... ๋... error-y?
์ฌํ ๋จ๊ณ:
๊ธฐํ ์ ๋ณด:
์ฌ๊ธฐ ๋ด ionic info
๊ฐ ์์ต๋๋ค.
Your system information:
Cordova CLI: Not installed
Ionic CLI Version: 2.0.0-beta.30
Ionic App Lib Version: 2.0.0-beta.16
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS
Node Version: v4.4.0
******************************************************
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Please install your Cordova CLI to version >=4.2.0 `npm install -g cordova`
******************************************************
ํจํค์ง(Cordova๊ฐ ํ์ํ ๊ฒฝ์ฐ) ๋๋ ์ฌ๊ธฐ์์ ์ฑ์ ์ปดํ์ผํ์ง ์๊ธฐ ๋๋ฌธ์ Cordova๊ฐ ํ์ํ์ง ์๋ค๊ณ ์๊ฐํฉ๋๋ค.
์ด๋ค ์ด์จ ๋ฒ์ ? 1.x ๋๋ 2.x
CLI v2.0.0-๋ฒ ํ.30
์ฌ๋ณด์ธ์! ๋ฌธ์ ๋ฅผ ์ด์ด์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค! ์ด๊ฒ์ ๋ ๋ง์ ์ง์ ์ง๋ฌธ์ฒ๋ผ ๋ณด์ด๊ธฐ ๋๋ฌธ์ ํฌ๋ผ(forum.ionicframework.com)์์ ์ด ์ง๋ฌธ์ ํ์๊ธฐ ๋ฐ๋๋๋ค. Ionic์ ์ฌ์ฉํด ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค!
์ด๊ฒ์ ๋ฒ๊ทธ์ ๋๋ค! ์ถ๋ ฅ์ ๋ณ์๋ ํ์ผ์ ํ ๋นํ๋ ค๊ณ ํ ๋ ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ ์ฝ์ ์คํฌ๋ฆฝํธ๋ ๋ถ๋ช ํ ๋ฒ๊ทธ๊ฐ ์์ต๋๋ค.
์๋ฅผ ๋ค์ด ionic ๋ชฉ๋ก ํจํค์ง์ ์ถ๋ ฅ์ ๊ตฌ๋ฌธ ๋ถ์ํ ์ ์๋ค๋ฉด ๋ง์ง๋ง์ผ๋ก ์ข์ ๋น๋๋ฅผ ํ์ธํ ๋ค์ ๋น๋ ID๋ฅผ ionic ํจํค์ง ๋ค์ด๋ก๋์ ์ ๊ณตํ ์ ์์ต๋๋ค.
CLI ์คํฌ๋ฆฝํ ์ imho ๋ช ๋ น์ ์ฐจ๋ก๋ก ์ฐ๊ฒฐํ ์ ์๋ค๋ ๊ฒ์ ๋๋ค.
๋ฌธ์ ๋ฅผ ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค! ์ด ๋ฌธ์ ๋ ์๋ ๋ฌธ์ ์ ๊ด๋ จ์ด ์๋ ๋๊ธ์ ๋ฐฉ์งํ๊ธฐ ์ํด ์ ๊ฒจ ์์ต๋๋ค. ์ด๊ฒ์ด ์ฌ์ ํ ์ต์ ๋ฒ์ ์ Ionic์์ ๋ฌธ์ ๊ฐ ๋๋ ๊ฒฝ์ฐ ์ ๋ฌธ์ ๋ฅผ ๋ง๋ค๊ณ ํ ํ๋ฆฟ์ด ์์ ํ ์ฑ์์ก๋์ง ํ์ธํ์ญ์์ค.