| 16 May 2023 |
hexa | and starts like so | 18:31:29 |
hexa | #!/nix/store/6aphgr19pzc8v416zaf6vbs7r9jsbajp-nodejs-18.16.0/bin/node
/**
* @param {string} command process to run
* @param {string[]} args command line arguments
* @returns {Promise<void>} promise
*/
const runCommand = (command, args) => {
const cp = require("child_process");
return new Promise((resolve, reject) => {
| 18:31:33 |
hexa | and I can start that interpreter | 18:31:53 |
hexa | ❯ /nix/store/6aphgr19pzc8v416zaf6vbs7r9jsbajp-nodejs-18.16.0/bin/node
Welcome to Node.js v18.16.0.
Type ".help" for more information.
| 18:32:00 |
hexa | https://github.com/django-hijack/django-hijack/blob/master/package.json#L5 | 18:36:05 |
hexa | the build command | 18:36:11 |
| 17 May 2023 |
hexa | so sorry, but I'm running into another problem I don't understand | 19:00:14 |
hexa | bokehjs> unpacking sources
bokehjs> unpacking source archive /nix/store/bibdvavvcjjm5rgs1xy2x4ckxg3jkchj-source
bokehjs> source root is source/bokehjs
bokehjs> patching sources
bokehjs> Executing npmConfigHook
bokehjs> Configuring npm
bokehjs> Validating consistency between /build/source/bokehjs/package-lock.json and /nix/store/14kzn4a79fgaknfj3nd84a3j4szxf371-bokehjs-3.1.1-npm-deps/package-lock.json
bokehjs> Making cache writable
bokehjs> Installing dependencies
bokehjs> npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
bokehjs> npm ERR! code ENOTCACHED
bokehjs> npm ERR! request to https://registry.npmjs.org/p-map failed: cache mode is 'only-if-cached' but no cached response is available.
bokehjs>
bokehjs> npm ERR! A complete log of this run can be found in:
bokehjs> npm ERR! /build/cache/_logs/2023-05-17T18_59_40_525Z-debug-0.log
bokehjs>
bokehjs> ERROR: npm failed to install dependencies
bokehjs>
bokehjs> Here are a few things you can try, depending on the error:
bokehjs> 1. Set `makeCacheWritable = true`
bokehjs> Note that this won't help if npm is complaining about not being able to write to the logs directory -- look above that for the actual error.
bokehjs> 2. Set `npmFlags = [ "--legacy-peer-deps" ]`
bokehjs>
| 19:00:18 |