さやまめ on Nostr: 😮> tsx src/generator.ts && eslint ./built/**/*.ts --fix ...
😮> tsx src/generator.ts && eslint ./built/**/*.ts --fix
node:internal/modules/cjs/loader:1146
throw err;
^
Error: Cannot find module '/workspace/packages/misskey-js/generator/node_modules/eslint/bin/eslint.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
at Module._load (node:internal/modules/cjs/loader:984: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: []
}
Published at
2024-07-21 05:16:27Event JSON
{
"id": "eaca2335597feadf61629cb45ab16622d06091a284991ecc91d57905d73b045a",
"pubkey": "79732458d3dcc0a33993a81d20e39762fb23591224ccc4899f55715ef247e89f",
"created_at": 1721538987,
"kind": 1,
"tags": [
[
"proxy",
"https://misskey.niri.la/notes/9vyo6dehvm",
"activitypub"
]
],
"content": "😮\u003e tsx src/generator.ts \u0026\u0026 eslint ./built/**/*.ts --fix\n\nnode:internal/modules/cjs/loader:1146\n throw err;\n ^\n\nError: Cannot find module '/workspace/packages/misskey-js/generator/node_modules/eslint/bin/eslint.js'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)\n at Module._load (node:internal/modules/cjs/loader:984:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)\n at node:internal/main/run_main_module:28:49 {\n code: 'MODULE_NOT_FOUND',\n requireStack: []\n}",
"sig": "b5a42ce865b1695671e62c030b9e4e6929a2b26c5ac2cd6cefcde51171ac38978b41e3ff197340bbf5c65afde231d340aee1fe1eba6e2460d82eee08308fd8ee"
}