In my consumer package, [code] --- In my source package [code] [code]
- User
In my consumer package,
npx lb-hotreload-watch node:internal/modules/cjs/loader:1147 throw err; ^ Error: Cannot find module '/home/commandblock2/tmp/node_modules/.bin/scripts/dist/watch.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) at Module._load (node:internal/modules/cjs/loader:985:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }
In my source package
cat bin/lb-hotreload-watch #!/bin/sh exec node "$0/../scripts/dist/watch.js" "$@"cat package.json { "name": "minecraft-lbng-types", "version": "1.0.7", "description": "utilities for writing typescripts for LiquidBounce nextgen", "author": "commandblock2", "license": "GPL-3.0", "bin": { "lb-hotreload-watch": "./bin/lb-hotreload-watch" }, "scripts": { "lb-hotreload-watch": "npx ts-node ./scripts/watch.ts", "build-watch": "tsc --target es2018 --module commonjs scripts/watch.ts --outDir scripts/dist || exit 0 && chmod +x scripts/dist/watch.js", "prepublishOnly": "npm run build-watch" }, "dependencies": { "chokidar": "^4.0.3", "@types/node": "^22.12.0", "ts-node": "^10.9.2", "typescript": "^5.7.3" }, "repository": { "type": "git", "url": "https://github.com/commandblock2/minecraft-LBNG-types.git" } }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.