diff options
author | Böszörményi Zoltán <zboszor@pr.hu> | 2018-02-01 14:08:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-06 11:06:27 +0000 |
commit | d38e1e2c2ea4646b34ea6282d3d7620df5b0374b (patch) | |
tree | 714943b0d1d96589b3fc9db925f84a7ea1c3b3c9 /meta/classes/binconfig-disabled.bbclass | |
parent | bb40162b2b8625eac9cb95f4c0c8716d830af2e4 (diff) | |
download | poky-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 'meta/classes/binconfig-disabled.bbclass')
0 files changed, 0 insertions, 0 deletions