!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

206 Members
59 Servers

Load older messages


SenderMessageTime
10 Aug 2023
@lily:lily.flowersLily Foster Just "scripts": { "build": "ng build" } in package.json I guess 18:53:31
@countoren:matrix.orgcountorenyes, that is basically what I did it has some more flaf.18:54:26
@countoren:matrix.orgcountoren

:/ :

npm verb cli /nix/store/y85811fai07h16xqwh99wnql0cwgb17c-nodejs-18.16.1/bin/node /nix>
npm info using npm@9.5.1
npm info using node@v18.16.1
npm verb logfile could not create logs-dir: Error: EACCES: permission denied, mkdir '>
npm verb title npm ci
npm verb argv "ci" "--ignore-scripts" "--loglevel" "verbose"
npm verb logfile logs-max:10 dir:/nix/store/ghzlmpp85mfshrh3biypxvhflxd92ld3-client-0>
npm verb logfile could not be created: Error: ENOENT: no such file or directory, open>
npm verb logfile no logfile created
...skipping...
    at module.exports (/build/server/node_modules/webpack/lib/util/createHash.js:135:>
    at NormalModule._initBuildHash (/build/server/node_modules/webpack/lib/NormalModu>
    at /build/server/node_modules/webpack/lib/NormalModule.js:444:10
    at /build/server/node_modules/webpack/lib/NormalModule.js:320:13
    at /build/server/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /build/server/node_modules/loader-runner/lib/LoaderRunner.js:203:19
    at VirtualFileSystemDecorator.readFile (/build/server/node_modules/@ngtools/webpa>
    at processResource (/build/server/node_modules/loader-runner/lib/LoaderRunner.js:>
    at iteratePitchingLoaders (/build/server/node_modules/loader-runner/lib/LoaderRun>
    at iteratePitchingLoaders (/build/server/node_modules/loader-runner/lib/LoaderRun>
    at /build/server/node_modules/loader-runner/lib/LoaderRunner.js:176:18
    at loadLoader (/build/server/node_modules/loader-runner/lib/loadLoader.js:47:3)
    at iteratePitchingLoaders (/build/server/node_modules/loader-runner/lib/LoaderRun>
    at runLoaders (/build/server/node_modules/loader-runner/lib/LoaderRunner.js:365:2>
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization erro>
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'

18:55:20
@lily:lily.flowersLily FosterAh there should be a diagnostic message that says how to resolve openssl things after that in the log18:56:43
@countoren:matrix.orgcountoren
		"build": "ng build fix1 --prod --source-map=false",
18:56:57
@countoren:matrix.orgcountorenno18:57:10
@lily:lily.flowersLily FosterSomething about openssl legacy providers. Let me go double check real quick18:57:36
@countoren:matrix.orgcountorenno problem, Thank you18:57:49
@lily:lily.flowersLily Foster NODE_OPTIONS = "--openssl-legacy-provider" on the derivation 18:58:06
@countoren:matrix.orgcountorenright...18:58:17
@lily:lily.flowersLily Foster* `env.NODE_OPTIONS = "--openssl-legacy-provider"` on the derivation18:58:30
@countoren:matrix.orgcountorenadd it commented 18:58:41
@countoren:matrix.orgcountoren * had it commented 18:58:55
@countoren:matrix.orgcountoren Nice! GJ Lily Foster that was it. 19:00:47
@countoren:matrix.orgcountorenjust need to finish wrapping it up nicely but the should be it19:01:26
@lily:lily.flowersLily FosterOh good! I'm glad 🎉19:01:49
@lily:lily.flowersLily FosterI'll PR the tokens thing now if it works. I might add some rust tests and docs first though19:02:05
@countoren:matrix.orgcountorenI guess it should work as well if I add it as a normal ENV variable right?19:02:55
@countoren:matrix.orgcountorendont want to make it complex for the users19:03:36
@countoren:matrix.orgcountorenanother way will be a writeShellScript to load it to daemon. maybe this one is better.19:04:34
@lily:lily.flowersLily FosterNix just doesn't have a good way to import an env var to the builder that doesn't leak it into the store during evaluation or involve setting it on the builder daemon conf19:05:17
@lily:lily.flowersLily FosterUnfortunately19:05:20
@countoren:matrix.orgcountorenwell writeShellScript that reads the npmrc wont leak it to nix store19:05:43
@lily:lily.flowersLily FosterSo are you meaning a shell script that changes the daemon systemd overrides and reloads it? (Just to be clear)19:06:04
@countoren:matrix.orgcountorenif you want I could it give it to put in docs the moment i have it19:06:13
@countoren:matrix.orgcountorenyes19:06:21
@lily:lily.flowersLily FosterOkay if it's just a script that configures someome's system I suppose that won't leak anywhere19:06:41
@lily:lily.flowersLily Foster(Maybe make sure override file has tight perms though)19:06:58
@countoren:matrix.orgcountorenbtw could not override a file there19:07:20
@lily:lily.flowersLily Foster Or have it include an EnvironmentFile in the unit settings that you put elsewhere with tight perms is probably best 19:07:29

Show newer messages


Back to Room ListRoom Version: 6