!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

199 Members
57 Servers

Load older messages


SenderMessageTime
15 Dec 2023
@avocadoom:avocadoom.deavocadoomFrom reading them, I guess hugo just cant find babel, which is weird, since it works in a nix shell following the exact same steps as in the build process01:45:15
@avocadoom:avocadoom.deavocadoom * From reading the logs, I guess hugo just cant find babel, which is weird, since it works in a nix shell following the exact same steps as in the build process01:45:28
@lily:lily.flowersLily Foster
In reply to @avocadoom:avocadoom.de
From reading the logs, I guess hugo just cant find babel, which is weird, since it works in a nix shell following the exact same steps as in the build process
i'm gonna make a wild guess that babel is trying to write to your home dir. what if you add a export HOME="$TMPDIR"?
01:51:31
@lily:lily.flowersLily Fosteroh actually. it's trying to run npx01:52:51
@lily:lily.flowersLily Fosterbut can't01:53:03
@lily:lily.flowersLily Fostermaybe?01:53:06
@avocadoom:avocadoom.deavocadoom
In reply to @lily:lily.flowers
i'm gonna make a wild guess that babel is trying to write to your home dir. what if you add a export HOME="$TMPDIR"?
this doesn't seem to work
01:53:26
@avocadoom:avocadoom.deavocadoom
In reply to @lily:lily.flowers
maybe?
maybe
01:53:33
@avocadoom:avocadoom.deavocadoombut this seems a bit counterintuitive regarding the docs stating to have the modules installed locally01:53:56
@joepie91:pixie.town@joepie91:pixie.townbabel does indeed try to write into a cache in your homedir01:54:50
@joepie91:pixie.town@joepie91:pixie.townsetting the homedir to an invalid path makes it not do that01:54:59
@lily:lily.flowersLily Foster
In reply to @avocadoom:avocadoom.de
but this seems a bit counterintuitive regarding the docs stating to have the modules installed locally
Which docs and which modules? (sorry, i am a bit tired and probably not following well)
01:55:15
@avocadoom:avocadoom.deavocadoom
In reply to @lily:lily.flowers
Which docs and which modules? (sorry, i am a bit tired and probably not following well)
sorry, my fault. This page in the hugo docs: https://gohugo.io/hugo-pipes/babel/
01:55:37
@avocadoom:avocadoom.deavocadoom
In reply to @joepie91:pixie.town
setting the homedir to an invalid path makes it not do that
thx, I'll try that :)
01:55:50
@avocadoom:avocadoom.deavocadoom
In reply to @avocadoom:avocadoom.de
thx, I'll try that :)

setting HOME to an invalid path after installing the modules does not help either

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/rqrxmifc2r5d5l6s6cgr2m9lf4gzrrq1-darmstadt.ccc.de.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/4gbvafjs35absnkcimmgkklv7p5gfhvn-vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source
source root is vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building

added 195 packages, and audited 196 packages in 2s

12 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 9.5.1 -> 10.2.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.5
npm notice Run npm install -g npm@10.2.5 to update!
npm notice

> build
> hugo

WARN  config: languages.de.disabled: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.de.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Start building sites …
hugo v0.115.0+extended linux/amd64 BuildDate=unknown VendorInfo=nixpkgs

npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /asdasd
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/asdasd'
npm ERR!  [Error: EACCES: permission denied, mkdir '/asdasd'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: '/asdasd'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! Log files were not written due to an error writing to the directory: /asdasd/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
ERROR render of "page" failed: "/tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/layouts/_default/baseof.html:14:28": execute of template failed: template: _default/single.html:14:28: executing "_default/single.html" at <partial "scripts.html" .>: error calling partial: "/tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/layouts/partials/scripts.html:4:10": execute of template failed: template: partials/scripts.html:4:10: executing "partials/scripts.html" at <$main.Content>: error calling Content: BABEL: failed to transform "js/main.js" (text/javascript): npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
: failed to execute binary "npx" with args [--no-install babel --config-file /tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/babel.config.js --filename=js/main.js --out-file=/tmp/nix-build-darmstadt.ccc.de.drv-0/compileOut-150384115.js]: npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
ERROR BABEL: failed to transform "js/critical.js" (text/javascript): npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
: failed to execute binary "npx" with args [--no-install babel --config-file /tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/babel.config.js --filename=js/critical.js --out-file=/tmp/nix-build-darmstadt.ccc.de.drv-0/compileOut-2896809591.js]: npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
ERROR BABEL: failed to transform "js/calendar.js" (text/javascript): npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
: failed to execute binary "npx" with args [--no-install babel --config-file /tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/babel.config.js --filename=js/calendar.js --out-file=/tmp/nix-build-darmstadt.ccc.de.drv-0/compileOut-485315495.js]: npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
ERROR BABEL: failed to transform "js/main.js" (text/javascript): npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
: failed to execute binary "npx" with args [--no-install babel --config-file /tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/babel.config.js --filename=js/main.js --out-file=/tmp/nix-build-darmstadt.ccc.de.drv-0/compileOut-150384115.js]: npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
Total in 1875 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/layouts/_default/baseof.html:13:8": execute of template failed: template: posts/single.html:13:8: executing "posts/single.html" at <partial "header.html" .>: error calling partial: "/tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/layouts/partials/header.html:43:20": execute of template failed: template: partials/header.html:43:20: executing "partials/header.html" at <$criticalScript.Content>: error calling Content: BABEL: failed to transform "js/critical.js" (text/javascript): npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
: failed to execute binary "npx" with args [--no-install babel --config-file /tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/babel.config.js --filename=js/critical.js --out-file=/tmp/nix-build-darmstadt.ccc.de.drv-0/compileOut-2896809591.js]: npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
01:57:40
@avocadoom:avocadoom.deavocadoom
In reply to @avocadoom:avocadoom.de

setting HOME to an invalid path after installing the modules does not help either

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/rqrxmifc2r5d5l6s6cgr2m9lf4gzrrq1-darmstadt.ccc.de.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/4gbvafjs35absnkcimmgkklv7p5gfhvn-vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source
source root is vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building

added 195 packages, and audited 196 packages in 2s

12 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 9.5.1 -> 10.2.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.5
npm notice Run npm install -g npm@10.2.5 to update!
npm notice

> build
> hugo

WARN  config: languages.de.disabled: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.de.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Start building sites …
hugo v0.115.0+extended linux/amd64 BuildDate=unknown VendorInfo=nixpkgs

npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /asdasd
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/asdasd'
npm ERR!  [Error: EACCES: permission denied, mkdir '/asdasd'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: '/asdasd'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! Log files were not written due to an error writing to the directory: /asdasd/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
ERROR render of "page" failed: "/tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/layouts/_default/baseof.html:14:28": execute of template failed: template: _default/single.html:14:28: executing "_default/single.html" at <partial "scripts.html" .>: error calling partial: "/tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/layouts/partials/scripts.html:4:10": execute of template failed: template: partials/scripts.html:4:10: executing "partials/scripts.html" at <$main.Content>: error calling Content: BABEL: failed to transform "js/main.js" (text/javascript): npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
: failed to execute binary "npx" with args [--no-install babel --config-file /tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/babel.config.js --filename=js/main.js --out-file=/tmp/nix-build-darmstadt.ccc.de.drv-0/compileOut-150384115.js]: npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
ERROR BABEL: failed to transform "js/critical.js" (text/javascript): npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
: failed to execute binary "npx" with args [--no-install babel --config-file /tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/babel.config.js --filename=js/critical.js --out-file=/tmp/nix-build-darmstadt.ccc.de.drv-0/compileOut-2896809591.js]: npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
ERROR BABEL: failed to transform "js/calendar.js" (text/javascript): npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
: failed to execute binary "npx" with args [--no-install babel --config-file /tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/babel.config.js --filename=js/calendar.js --out-file=/tmp/nix-build-darmstadt.ccc.de.drv-0/compileOut-485315495.js]: npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
ERROR BABEL: failed to transform "js/main.js" (text/javascript): npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
: failed to execute binary "npx" with args [--no-install babel --config-file /tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/babel.config.js --filename=js/main.js --out-file=/tmp/nix-build-darmstadt.ccc.de.drv-0/compileOut-150384115.js]: npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
Total in 1875 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/layouts/_default/baseof.html:13:8": execute of template failed: template: posts/single.html:13:8: executing "posts/single.html" at <partial "header.html" .>: error calling partial: "/tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/layouts/partials/header.html:43:20": execute of template failed: template: partials/header.html:43:20: executing "partials/header.html" at <$criticalScript.Content>: error calling Content: BABEL: failed to transform "js/critical.js" (text/javascript): npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
: failed to execute binary "npx" with args [--no-install babel --config-file /tmp/nix-build-darmstadt.ccc.de.drv-0/vqwvrdgzjbr47dq6pqrzpm812qv7zqms-source/babel.config.js --filename=js/critical.js --out-file=/tmp/nix-build-darmstadt.ccc.de.drv-0/compileOut-2896809591.js]: npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 30001:30000 "/var/empty/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /var/empty/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
          buildPhase = ''
              export HOME=./
              npm install
              export HOME=/asdasd
              npm run build
          '';
01:57:55
@joepie91:pixie.town@joepie91:pixie.townthat's odd, that's an error coming from npm01:58:47
@joepie91:pixie.town@joepie91:pixie.townthat probably isn't babel causing it?01:59:18
@joepie91:pixie.town@joepie91:pixie.townI'm not sure01:59:28
@joepie91:pixie.town@joepie91:pixie.townI would try with a verbose loglevel to see exactly what is trying to do a mkdir02:01:05
@lily:lily.flowersLily Foster
In reply to @joepie91:pixie.town
I would try with a verbose loglevel to see exactly what is trying to do a mkdir
/var/empty/.npm seemingly. i'm trying to figure out where /var/empty is coming from
02:01:32
@lily:lily.flowersLily Foster
npm ERR! syscall mkdir
npm ERR! path /var/empty/.npm
npm ERR! errno -1
02:01:41
@joepie91:pixie.town@joepie91:pixie.townno I mean as in, which process is trying to call mkdir02:01:48
@joepie91:pixie.town@joepie91:pixie.townI don't think it's babel, that's an npm-formatted error02:01:54
@joepie91:pixie.town@joepie91:pixie.townthis would normally imply that it's npm trying to mkdir02:02:08
@joepie91:pixie.town@joepie91:pixie.townbut I don't see why npm would be trying to mkdir $HOME02:02:22
@lily:lily.flowersLily Foster
In reply to @joepie91:pixie.town
but I don't see why npm would be trying to mkdir $HOME
is that even $HOME though?
02:03:57
@joepie91:pixie.town@joepie91:pixie.town that's what avocadoom has just done AIUI 02:04:35
@avocadoom:avocadoom.deavocadoom
In reply to @lily:lily.flowers
is that even $HOME though?
I dont think so, since I set HOME equal to my build dir
02:04:40
@joepie91:pixie.town@joepie91:pixie.townset $HOME to that02:04:38

Show newer messages


Back to Room ListRoom Version: 6