!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 Members
58 Servers

Load older messages


SenderMessageTime
31 Jul 2023
@lily:lily.flowersLily FosterWeird. I didn't read the whole derivation so I'll look later. Was on mobile and just happened to notice that and thought it was weird12:00:09
@gdamjan:spodeli.orggdamjan mweinelt (Martin Weinelt) already merged the PR - but I'd like to see what improvements can be done to it12:23:42
@gdamjan:spodeli.orggdamjan * mweinelt (Martin Weinelt) already merged the PR - but I'd like to see what improvements can be done to it12:23:47
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
mweinelt (Martin Weinelt) already merged the PR - but I'd like to see what improvements can be done to it
Oh dang that was fast. Yeah I'm fine to review post-merge for possible fixups. It's probably for the best a security fix got merged quickly anyway
12:27:35
@hexa:lossy.networkhexasorry, I missed any conversdation here apparently12:28:16
@hexa:lossy.networkhexa * sorry, I missed any conversation here apparently12:28:20
@gdamjan:spodeli.orggdamjanoh, wait, you're Martin :)12:36:32
@gdamjan:spodeli.orggdamjanTIL12:36:38
@raitobezarius:matrix.orgraitobezarius:'DDDDDDDD14:01:05
@hexa:lossy.networkhexafck19:21:09
@hexa:lossy.networkhexa

ERROR:CLI Error: Could not find package.json up from /nix/store/qvpjwskw6j9n4g8749snwj5b6nk9xsb1-matrix-appservice-irc-1.0.1/bin/matrix-appservice-irc

19:21:13
@hexa:lossy.networkhexa cc gdamjan they want the package.json 19:32:33
@robert:funklause.dedotlambda I'm trying to package https://github.com/microsoft/pyright/tree/main and I need the dependencies from both package-lock.json and packages/pyright/package-lock.json. Any idea how to achieve that? 20:13:13
@robert:funklause.dedotlambdaBtw they use something called Lerna to manage this monorepo.20:18:12
@raitobezarius:matrix.orgraitobezariussorry for you20:20:22
@lily:lily.flowersLily Fosterl e r n a20:30:09
@lily:lily.flowersLily FosterI am also sorry for you20:30:17
@lily:lily.flowersLily FosterLerna does weird things20:30:24
@lily:lily.flowersLily FosterYou can kinda sorta do a merge across the JSON packages field and pray20:30:47
@lily:lily.flowersLily FosterIf you really are needing deps from both in the same cache20:31:06
@lily:lily.flowersLily FosterI wonder if we should support caching from multiple lockfiles20:31:55
@robert:funklause.dedotlambda
In reply to @lily:lily.flowers
If you really are needing deps from both in the same cache
Webpack (from /packages/pyright/package.json) needs glob (from /package.json). No idea why it's not automatically included as a dependency of the former
20:50:34
@gdamjan:spodeli.orggdamjan
In reply to @hexa:lossy.network
cc gdamjan they want the package.json
this Martin guy lied me
20:52:01
@lily:lily.flowersLily Foster
In reply to @robert:funklause.de
Webpack (from /packages/pyright/package.json) needs glob (from /package.json). No idea why it's not automatically included as a dependency of the former
Because lerna is hell
20:53:56
@lily:lily.flowersLily FosterWait you need from two package-lock.json files right? Two package.json files is normal for monorepos with npm workspaces or something20:54:40
@robert:funklause.dedotlambda
In reply to @lily:lily.flowers
Wait you need from two package-lock.json files right? Two package.json files is normal for monorepos with npm workspaces or something
Yes indeed. Glob is not present in packages/pyright/package-lock.json.
20:56:04
@lily:lily.flowersLily FosterAlright. I might make a PR to support passing multiple lockfiles for the same hash though20:57:08
@lily:lily.flowersLily Foster* Alright. I might make a PR to support passing multiple lockfiles for the same hash then20:57:15
@lily:lily.flowersLily Foster* Alright. I might make a PR to support passing multiple lockfiles for the same cache then20:59:20
@robert:funklause.dedotlambda

Actually glob does exist in packages/pyright/package-lock.json so I'm not sure why I get

[webpack-cli] Failed to load '/build/source/packages/pyright/webpack.config.js' config
[webpack-cli] Error: Cannot find module 'glob'
Require stack:
- /build/source/build/lib/webpack.js
- /build/source/packages/pyright/webpack.config.js
- /build/source/packages/pyright/node_modules/webpack-cli/lib/webpack-cli.js
- /build/source/packages/pyright/node_modules/webpack-cli/lib/bootstrap.js
- /build/source/packages/pyright/node_modules/webpack-cli/bin/cli.js
- /build/source/packages/pyright/node_modules/webpack/bin/webpack.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/build/source/build/lib/webpack.js:3:14)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/build/source/build/lib/webpack.js',
    '/build/source/packages/pyright/webpack.config.js',
    '/build/source/packages/pyright/node_modules/webpack-cli/lib/webpack-cli.js',
    '/build/source/packages/pyright/node_modules/webpack-cli/lib/bootstrap.js',
    '/build/source/packages/pyright/node_modules/webpack-cli/bin/cli.js',
    '/build/source/packages/pyright/node_modules/webpack/bin/webpack.js'
  ]
}
21:04:39

Show newer messages


Back to Room ListRoom Version: 6