!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

194 Members
56 Servers

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


SenderMessageTime
15 Apr 2024
@aktaboot:tchncs.deaktaboot joined the room.10:45:29
16 Apr 2024
@pareto-optimal-dev:matrix.orgpareto-optimal-dev joined the room.16:46:31
@pareto-optimal-dev:matrix.orgpareto-optimal-dev

Why can't I require('@mongosh/autocomplete'); in nix install mongosh? I see that it is run like:

exec "/nix/store/4r6qr0bzmkdjjjaf7i4vbjmf92l9zpq0-nodejs-20.11.1/bin/node"  /nix/store/wzh6cmr5xnzg1ljsvfwpl2ph7iws5sxw-mongosh-2.2.2/lib/node_modules/mongosh/bin/mongosh.js "$@" 

I see that /nix/store/wzh6cmr5xnzg1ljsvfwpl2ph7iws5sxw-mongosh-2.2.2/lib/node_modules/mongosh/bin/mongosh.js has:

#!/nix/store/4r6qr0bzmkdjjjaf7i4vbjmf92l9zpq0-nodejs-20.11.1/bin/node
require('@mongosh/cli-repl/lib/run');

I guess I somehow need to add my require for mongosh/autocomplete to that mongosh.js file? I thought that because /nix/store/wzh6cmr5xnzg1ljsvfwpl2ph7iws5sxw-mongosh-2.2.2/lib/node_modules/mongosh/node_modules/@mongosh/autocomplete/ exists I could do require @mongosh/autocomplete.

16:51:18
17 Apr 2024
@alex3829:matrix.org@alex3829:matrix.org changed their display name from alex3829 to real_z22.04:36:36
@alex3829:matrix.org@alex3829:matrix.org changed their display name from real_z22 to real_z2.05:34:06
25 Apr 2024
@me:indeednotjames.com@me:indeednotjames.com left the room.03:36:37

Show newer messages


Back to Room ListRoom Version: 6