Errors in setting up development environment.

Re: Errors in setting up development environment.

by Jim H -
Number of replies: 2

Hi Sandip

I seem to have made a breakthrough and I can now build the mobile app and run it in the browser locally.

I uninstalled Node 6.10.3 and re-installed Node version 0.12.7. 

I still get an appium error when running npm install but all the other steps work without an error (even ionic state restore - webintent is downloaded without issue). I'm not sure what the appium error is yet but it looks like things are functioning so far....so maybe it's not a big issue!

My environment is as follows and seems (further testing needed!) to work:

Node  0.12.7

NPM 4.6.1

bower 1.8.0

gulp 3.9.1

Ionic 2.2.3

cordova 6.5.0

I hope this might help you!

Jim


In reply to Jim H

Re: Errors in setting up development environment.

by João Gabriel Hümmel -

Hello guys,


Got stuck at same point.

When installing ionic, it says that needs node v6.9.x.

You installed ionic first then changed node version?


My environment:

Node          6.9.1

NPM           5.0.0

bower        1.8.0

gulp            3.9.1

Ionic           2.2.3

cordova     7.0.1



In reply to João Gabriel Hümmel

Re: Errors in setting up development environment.

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

The documentation to set up the development environment was updated on monday to adapt to latest changes, now Node 6.9.1 should be used (it might work with newer versions, but I can verify it works for 6.9.1).

What is the exact error you're getting? Which OS are you using?

Kind regards,

Dani