WindmillWWindmill
Powered by
m0ltzM
Windmill•8mo ago•
43 replies
m0ltz

Haalp! Trying Windmill for the first time and failing!

A dev with 10+ years of Node/TS experience, but still can't figure it out!

Did
wmill sync push --yes
wmill sync push --yes


Run from the UI:

error: Cannot find package 'windmill-client' from '/tmp/bun/main.ts'

Script is this:

//nobundling
import * as wmill from 'windmill-client';

export async function main() {
  const { token } = await wmill.getResource('u/foo/bar')
  console.log('ta', token)
  return "Hello world";
}
//nobundling
import * as wmill from 'windmill-client';

export async function main() {
  const { token } = await wmill.getResource('u/foo/bar')
  console.log('ta', token)
  return "Hello world";
}


Tried without
nobundling
nobundling
, it also fails but in a different way.
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Trying to understand Windmill+Powershell
bohitiBbohiti / help
14mo ago
Windmill and RabbitMQ
derevDderev / help
2y ago
The app.windmill.dev
BerlinBBerlin / help
2y ago
what's a windmill server, and what's a windmill client ?
DonaldDDonald / help
16mo ago