summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBöszörményi Zoltán <zboszor@pr.hu>2018-02-01 14:08:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-06 11:06:27 +0000
commitd38e1e2c2ea4646b34ea6282d3d7620df5b0374b (patch)
tree714943b0d1d96589b3fc9db925f84a7ea1c3b3c9 /scripts
parentbb40162b2b8625eac9cb95f4c0c8716d830af2e4 (diff)
downloadpoky-d38e1e2c2ea4646b34ea6282d3d7620df5b0374b.tar.gz
npm.bbclass: Fix building node modules with npm@5
npm cache clear throws an error with npm@5 and suggests to use npm cache verify instead. But our cache is actually empty, so use npm cache clear --force. npm install in the source directory creates symlinks with npm@5. Use a combination of npm pack and npm install module-version.tgz that works the same way with older and new npm versions and is guaranteed to create actual copies instead of directory symlinks. This change allows using nodejs 8.x LTS, tested with 8.9.4. (From OE-Core rev: 2d7d2a460842c8747df17990970f22f4a11f36f6) Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions