ni_ka
ni_ka4w ago

script runs fine, but deployment fails with Could not resolve: "typescript".

Hi, see the error message below!
job=0195f058-b1b3-8dc4-b026-3bbecc16134e tag=chromium worker=wk-reports-e4fded849859-PcTkC hostname=e4fded849859

bun install v1.2.4 (fd9a5ea6)
Resolving dependencies
Resolved, downloaded and extracted [186]
Saved lockfile
+ puppeteer@24.4.0
+ windmill-client@1.479.3
98 packages installed [1012.00ms]
74 | typescript = require('typescript');
^
error: Could not resolve: "typescript". Maybe you need to "bun install"?
at /tmp/windmill/wk-reports-e4fded849859-PcTkC/0195f058-b1b3-8dc4-b026-3bbecc16134e/node_modules/cosmiconfig/dist/loaders.js:74:30
103 | typescript = (await import('typescript')).default;
^
error: Could not resolve: "typescript". Maybe you need to "bun install"?
at /tmp/windmill/wk-reports-e4fded849859-PcTkC/0195f058-b1b3-8dc4-b026-3bbecc16134e/node_modules/cosmiconfig/dist/loaders.js:103:36

Bun v1.2.4 (Linux x64 baseline)
Non-zero exit status for bun build: 1
job=0195f058-b1b3-8dc4-b026-3bbecc16134e tag=chromium worker=wk-reports-e4fded849859-PcTkC hostname=e4fded849859

bun install v1.2.4 (fd9a5ea6)
Resolving dependencies
Resolved, downloaded and extracted [186]
Saved lockfile
+ puppeteer@24.4.0
+ windmill-client@1.479.3
98 packages installed [1012.00ms]
74 | typescript = require('typescript');
^
error: Could not resolve: "typescript". Maybe you need to "bun install"?
at /tmp/windmill/wk-reports-e4fded849859-PcTkC/0195f058-b1b3-8dc4-b026-3bbecc16134e/node_modules/cosmiconfig/dist/loaders.js:74:30
103 | typescript = (await import('typescript')).default;
^
error: Could not resolve: "typescript". Maybe you need to "bun install"?
at /tmp/windmill/wk-reports-e4fded849859-PcTkC/0195f058-b1b3-8dc4-b026-3bbecc16134e/node_modules/cosmiconfig/dist/loaders.js:103:36

Bun v1.2.4 (Linux x64 baseline)
Non-zero exit status for bun build: 1
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?