Coder Social home page Coder Social logo

Comments (2)

freaksdotcom avatar freaksdotcom commented on May 20, 2024

Using rules_nodejs 0.5.2:

***********WARNING***********
crisper: npm_install will require a package_lock_json attribute in future versions
*****************************
ERROR: /private/var/tmp/_bazel_bhigh/946bef48ed3737c679e24a61c6da01fb/external/crisper_repo/BUILD.bazel:5:1: no such package '@crisper//': npm_install failed:
> [email protected] postinstall /private/var/tmp/_bazel_bhigh/946bef48ed3737c679e24a61c6da01fb/external/crisper/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

 (npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN lifecycle npm is using /private/var/tmp/_bazel_bhigh/946bef48ed3737c679e24a61c6da01fb/external/nodejs/bin/node but there is no node binary in the current PATH. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
sh: node: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/bhigh/.npm/_logs/2020-07-14T23_49_58_013Z-debug.log
) and referenced by '@crisper_repo//:crisper_bin'
ERROR: Analysis of target '//chrome_ext:options' failed; build aborted: no such package '@crisper//': npm_install failed:
> [email protected] postinstall /private/var/tmp/_bazel_bhigh/946bef48ed3737c679e24a61c6da01fb/external/crisper/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

 (npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN lifecycle npm is using /private/var/tmp/_bazel_bhigh/946bef48ed3737c679e24a61c6da01fb/external/nodejs/bin/node but there is no node binary in the current PATH. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
sh: node: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/bhigh/.npm/_logs/2020-07-14T23_49_58_013Z-debug.log
)
INFO: Elapsed time: 6.563s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (213 packages loaded, 4260 targets configured)```

from detangle.

freaksdotcom avatar freaksdotcom commented on May 20, 2024

Adding scripts-prepend-node-path=true to $HOME/.npmrc allows it to build.

from detangle.

Related Issues (18)

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.