!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

211 Members
62 Servers

Load older messages


SenderMessageTime
10 Aug 2023
@lily:lily.flowersLily FosterOr is it possibly called something else?18:50:28
@countoren:matrix.orgcountorenwas using "outside" npx command18:50:32
@countoren:matrix.orgcountorennpx ng build18:50:41
@countoren:matrix.orgcountorendoes buildNpm give you ability to define it in nix?18:51:06
@lily:lily.flowersLily Foster Ah, if it doesn't need to be built then you can just do dontNpmBuild. But if you're needing to run a command to build, it might not be a bad idea to add it to the package.json 18:51:16
@lily:lily.flowersLily Foster* Ah, if it doesn't need to be built then you can just do `dontNpmBuild = true`. But if you're needing to run a command to build, it might not be a bad idea to add it to the package.json18:51:28
@countoren:matrix.orgcountorenI think I will just add it18:51:41
@lily:lily.flowersLily Foster* Ah, if it doesn't need to be built then you can just do `dontNpmBuild = true`. But if you're needing to run a command to build, it might not be a bad idea to add it to the package.json18:51:43
@countoren:matrix.orgcountorenshould it be with npx?18:51:46
@lily:lily.flowersLily FosterIt should probably be in devDependencies and then run without npx18:52:16
@countoren:matrix.orgcountorenng is in dev18:52:47
@lily:lily.flowersLily FosterThen yeah no npx needed18:52:59
@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

Show newer messages


Back to Room ListRoom Version: 6