Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Update to Node v4.0 #7

Closed
shinglyu opened this issue Dec 11, 2015 · 8 comments
Closed

Update to Node v4.0 #7

shinglyu opened this issue Dec 11, 2015 · 8 comments

Comments

@shinglyu
Copy link
Contributor

Currently the GIJ fails because it needs node 4.0. Need to update and test it.

@mwargers
Copy link
Contributor

Cool, thanks for fixing this.

@mwargers
Copy link
Contributor

Hi Shing, I tried to change this to get it working:
--- a/scripts/gij.sh
+++ b/scripts/gij.sh
@@ -11,8 +11,8 @@ sudo apt-get update
sudo apt-get install -y build-essential libssl-dev pcregrep
curl -o- https://raw.githubusercontent.com/creationix/nvm/$NVM_VER/install.sh | bash #Notice the version may change
source ~/.nvm/nvm.sh
-nvm install 0.12
-nvm use 0.12
+nvm install 4.2
+nvm use 4.2

But I still get the error message:
Please use v4.2 of nodejs or it may cause unexpected error.
Minimum required version of nodejs v4 not satisfied. Aborting. Install the required minimum version before continuing.

Do you know what needs to be changed?

@shinglyu
Copy link
Contributor Author

Oh my. I think we might have to talk to Aus, otherwise we might need to fix the gaia version.

@shinglyu
Copy link
Contributor Author

cc @askeing

@shinglyu
Copy link
Contributor Author

I tried to upgrade to node 4.2, the error message goes away, but the make test-integration command fails because of the sockit-to-me package. I'm looking into it.

@mwargers
Copy link
Contributor

@shinglyu How did you upgrade to 4.2? What do I need to do to be able to do that?

@shinglyu
Copy link
Contributor Author

@mwargers Just change the nvm commad like this: f311626#diff-248114233d816323c4805083571f930fR15

@shinglyu
Copy link
Contributor Author

It turns out that we need to install clang, closed by bc231c7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants