Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49076

Error getting from first installation

$
0
0

@rashidpathiyil wrote:

Help me to fix this error, i am first starter

Rashid@DESKTOP-RPJ638A MINGW64 /d/Android App/TipWap
$ sudo npm install -g cordova
bash: sudo: command not found

Rashid@DESKTOP-RPJ638A MINGW64 /d/Android App/TipWap
$ npm install -g cordova
C:\Users\Rashid\AppData\Roaming\npm\cordova -> C:\Users\Rashid\AppData\Roaming\n pm\node_modules\cordova\bin\cordova
C:\Users\Rashid\AppData\Roaming\npm
`-- cordova@6.1.1

Rashid@DESKTOP-RPJ638A MINGW64 /d/Android App/TipWap
$ sudo npm install -g ionic
bash: sudo: command not found

Rashid@DESKTOP-RPJ638A MINGW64 /d/Android App/TipWap
$ npm install -g ionic
C:\Users\Rashid\AppData\Roaming\npm\ionic -> C:\Users\Rashid\AppData\Roaming\npm \node_modules\ionic\bin\ionic
C:\Users\Rashid\AppData\Roaming\npm
`-- ionic@1.7.14

Rashid@DESKTOP-RPJ638A MINGW64 /d/Android App/TipWap
$ ionic start todo blank
Creating Ionic app in folder D:\Android App\TipWap\todo based on blank project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip

Downloading: https://github.com/driftyco/ionic-starter-blank/archive/master.zip

Updated the hooks directory to have execute permissions
Update Config.xml
Initializing cordova project

Your Ionic project is ready to go! Some quick tips:

  • cd into your project: $ cd todo

  • Setup this project to use Sass: ionic setup sass

  • Develop in the browser with live reload: ionic serve

  • Add a platform (ios or Android): ionic platform add ios [android]
    Note: iOS development requires OS X currently
    See the Android Platform Guide for full Android installation instructions:
    https://cordova.apache.org/docs/en/edge/guide_platforms_android_index.md.html

  • Build your app: ionic build

  • Simulate your app: ionic emulate

  • Run your app on a device: ionic run

  • Package an app using Ionic package service: ionic package

For more help use ionic --help or ionic docs

Visit the Ionic docs: http://ionicframework.com/docs

Create an ionic.io account to send Push Notifications and use the Ionic View app ?
(Y/n): Y
C:\Users\Rashid\AppData\Roaming\npm\node_modules\ionic\lib\cli.js:474
** process.stdout.write('Unable to fetch', err, res.statusCode);**
** ^**

**TypeError: Cannot read property 'statusCode' of undefined**
**    at Request._callback (C:\Users\Rashid\AppData\Roaming\npm\node_modules\ionic\lib\cli.js:474:55)**
**    at self.callback (C:\Users\Rashid\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js:373:22)**
**    at emitOne (events.js:90:13)**
**    at Request.emit (events.js:182:7)**
**    at Request.onRequestError (C:\Users\Rashid\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js:971:8)**
**    at emitOne (events.js:90:13)**
**    at ClientRequest.emit (events.js:182:7)**
**    at Socket.socketErrorListener (_http_client.js:306:9)**
**    at emitOne (events.js:90:13)**
**    at Socket.emit (events.js:182:7)**

Rashid@DESKTOP-RPJ638A MINGW64 /d/Android App/TipWap
$

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49076

Trending Articles