m0ltzM
Windmill6mo 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

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";
}


Tried without nobundling, it also fails but in a different way.
Was this page helpful?