Comments (2)
This is a file permission issue. The main error is:
npm WARN locking /home/ljoli/.npm/_locks/coffee-script-9ae105e36c3314f5.lock failed
[Error: EACCES, open '/home/ljoli/.npm/_locks/coffee-script-9ae105e36c3314f5.lock']
Which means that npm fails to get read/write access to files in /home/ljoli/.npm/_locks
directory.
I'd do:
sudo chmod -R $(whoami) ${HOME}/.npm
to ensure that the user running bitbake has ownership to files under ~/.npm
followed by:
npm cache clean
to clear npm cache.
A bit more manual (and more destructive) method is to erase the npm cache directory completely:
sudo rm -rf ${HOME}/.npm
I also recommend you to look into meta-nodejs layer for recent Node.js and io.js releases with latest npm. Just make your recipe dependent on node-native
package to make sure that npm used is not the one installed on the build host. You can also RDEPEND to node
(and optionally node-npm
) packages to get the latest node.js or io.js runtime on target system.
Currently Node.js 0.12.7
and io.js 2.5.0
are available.
from bitbake-npm.
I'm closing the issue due to lack of conversation
from bitbake-npm.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitbake-npm.