새소식

mobile/🤖 Cordova

[Hybrid App] 버전이 높아진, Cordova 제대로 설치하기, 2017년

  • -
728x90

installation of a higher version of Cordova installed


1. Node js install

(Cordova command-line runs on Node.js and is available on NPM.)


URL : https://nodejs.org/en/



2. type npm install -g cordova.

(Open a command prompt or Terminal, and type npm install -g cordova)


$ npm install -g cordova



what is UUID?

universally unique identifier, UUID


Did you face an error?

Refer to the link below.


Reference : https://stackoverflow.com/questions/18419144/npm-not-working-read-econnreset

Reference : https://github.com/npm/npm/issues/12258

Reference : https://stackoverflow.com/questions/37346512/how-to-fix-fs-re-evaluating-native-module-sources-is-not-supported-graceful


3. check cordova version




4. Create Project!

Create a blank Cordova project using the command-line tool. Navigate to the directory where you wish to create your project and type cordova create <path>.


$ cordova create MyApp




5. Add a platform

$ cd MyApp

$ cordova platform add browser



6. Run your app

From the command line, run cordova run <platform name>.

$ cordova run browser




감사합니다.

#cordova설치 #phonegap설치 #하이브리드앱



반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.