Giter Club home page Giter Club logo

Comments (2)

imyller avatar imyller commented on June 26, 2024

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.

imyller avatar imyller commented on June 26, 2024

I'm closing the issue due to lack of conversation

from bitbake-npm.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.