Shyam Malkagiri
Shyam Malkagiri

Reputation: 21

Yocto recipe for Nodejs V8.3 or newer

I'm trying to add nodejs support for my yocto environment to be able to compile react native code. I found a recipe here: https://layers.openembedded.org/layerindex/branch/master/layer/meta-nodejs/ maximum version offered in above link is 7.10.0, but react native needs 8.3 or newer. How to get recipe for Nodejs 8.3 or newer.

Upvotes: 2

Views: 4171

Answers (2)

krishna
krishna

Reputation: 115

You can use PREFERED_VERSION_nodejs="8.3" in your local.conf file

Upvotes: 0

LetoThe2nd
LetoThe2nd

Reputation: 1326

Current OpenEmbedded master already contains v10.16.0, whereas meta-nodejs should be considered deprecated. So depending on the exact release you are on give or take a little, but as you can see from the log, v8.4 is available since 2017-08-31.

Upvotes: 2

Related Questions