Giter Club home page Giter Club logo

bitbake-npm's People

Contributors

codyps avatar imyller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bitbake-npm's Issues

Have more than one npm in SRC_URI

Hi. Thanks so much for this library. It is exactly what I needed. I just want to know if it is possible to have something like this:

SRC_URI = "npm://i2c-bus"
npm://bindings
"

I tried this but it seems that the last package (bindings in this case) will be the only one in: ${S}
Deleting the previous one (i2c-bus)

so when we do:
cp -rp ${S}/* ${D}${libdir}/node_modules/

it has only bindings library content.

coffeescript with yocto fido

Hi imyller,

I would like to install coffeescript in my image.
I use an specific BSP :
https://git.congatec.com/yocto/bsp-scripts

Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "cgtqmx6"
DISTRO = "poky"
DISTRO_VERSION = "1.8"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "(detachedfrom1.8):7209c0bb135e0b91f177c2542b7b27a0aa424f54"
meta-oe
meta-networking
meta-multimedia
meta-filesystems
meta-python = "(detachedfrom1.8):2080f15e86d3d8e1e1f65e16b014545fe538114c"
meta-fsl-arm = "(detachedfrom1.8):68752031fc843bfba48ee3edbb439b11d2198597"
meta-fsl-arm-extra = "fido:2eca92f9785a7b0f1115a3d34b7a6072b89c545e"
meta-openstack = "master:89f228ce884f8f73db4fd1580adf87187b27bb2f"
meta-mooltibox = "fido:38fcb4fdebb60431d5b8f06b2206b05a45919665"
bitbake-npm = "master:40d0ef1cb9a664b6177f907908bb589e7047b21d"

And my recipe of cofffescript is :
***/recipes-devtools/nodejs/nodejs-coffee-script_1.9.3.bb

/*************/
SUMMARY = " Unfancy JavaScript http://coffeescript.org/"

SRC_URI = "npm://coffee-script"

inherit npm-fetch
/***********/

When I build it, I have some error :
WARNING: Failed to fetch URL npm://coffee-script, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 1, output:
npm WARN using --force I sure hope you know what you are doing.
npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
npm WARN locking Error: EACCES, open '/home/ljoli/.npm/_locks/coffee-script-9ae105e36c3314f5.lock'
npm WARN locking at Error (native)
npm WARN locking /home/ljoli/.npm/_locks/coffee-script-9ae105e36c3314f5.lock failed { [Error: EACCES, open '/home/ljoli/.npm/_locks/coffee-script-9ae105e36c3314f5.lock']
npm WARN locking errno: -13,
npm WARN locking code: 'EACCES',
npm WARN locking path: '/home/ljoli/.npm/_locks/coffee-script-9ae105e36c3314f5.lock' }
npm ERR! Linux 3.13.0-58-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "--arch=arm" "--target_arch=arm" "install" "coffee-script" "--force"
npm ERR! node v0.12.3
npm ERR! npm v2.9.1

npm ERR! Attempt to unlock /media/ljoli/disk_one/compile_fido/downloads/npm/coffee-script/node_modules/coffee-script, which hasn't been locked
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /media/ljoli/disk_one/compile_fido/downloads/npm/coffee-script/npm-debug.log

ERROR: Function failed: Fetcher failure for URL: 'npm://coffee-script'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /media/ljoli/disk_one/compile_fido/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/nodejs-coffee-script/1.9.3-r0/temp/log.do_fetch.10381
ERROR: Task 4 (/media/ljoli/disk_one/compile_fido/sources/meta-mooltibox/recipes-devtools/nodejs/nodejs-coffee-script_1.9.3.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 366 tasks of which 365 didn't need to be rerun and 1 failed.

Have you some ideas on my errors ?

Thanks

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.