!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

206 Members
59 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
20 Dec 2023
@adis:blad.is@adis:blad.isAnd faster isn't the only concern. Bytes transferred matters. 06:32:38
21 Dec 2023
@peter-lustig:matrix.orgpeter-lustig
>     at VariableDeclarator.bind (file:///build/2rdr2hwic3kd9pwpgp32s206yh5kqwhs-source/node_modules/rollup/dist/es/shared/node-entry.js:4639:23)
       >
       > ERROR: `npm build` failed

Is this some nix issue again?

I can build the project fine with npm run build

15:40:21
@peter-lustig:matrix.orgpeter-lustigbut with nix the build command seems to fail for some reason15:40:52
@peter-lustig:matrix.orgpeter-lustig

My build script (left the hash out for abbreviation):

packages.${system}.default = pkgs.buildNpmPackage {
      name = "project-build";
      src = ./.;
      installPhase = ''
        mkdir $out
        cp -r build/* $out
        cp package.json $out
        cp -r node_modules $out
      '';
    };
  };
15:42:05
@peter-lustig:matrix.orgpeter-lustig More explicitly getting is not exported by "^@virtual:$env/static/private", imported by, but I do not get this error when I only run npm run build without doing anything nix. 15:45:05

Show newer messages


Back to Room ListRoom Version: 6