WindmillWWindmill
Powered by
Evaldas_BE
Windmill•16mo ago•
15 replies
Evaldas_B

TypeScript(Deno) unable to find types

Imports in TypeScript(Deno) are causing errors:

// Cannot find module 'npm:windmill-client@1.415.1' or its corresponding type declarations.(2307)
import * as wmill from "npm:windmill-client@1.415.1"
// Cannot find module 'npm:windmill-client@1.415.1' or its corresponding type declarations.(2307)
import * as wmill from "npm:windmill-client@1.415.1"


This is the same snippet that is provided by default the only difference is that the import is uncommented.

Import is cashed so that should not be an issue.

Can confirm the same behavior on self-hosted and cloud.

The dependencies are actually loaded in and the scripts are running fine. The problem seems to be with TypeScript language server
image.png
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Typescript types for npm packages
bnasonBbnason / help
18h ago
Unable to connect to Atlas in typescript Mongodb
vinzceVvinzce / help
10mo ago
Passing custom argument to deno CLI
StockiSStocki / help
3y ago
Using Types as Inputs to Script
rothnicRrothnic / help
9mo ago