#Issue with Node SDK / setup loading in a NextJS app

1 messages · Page 1 of 1 (latest)

hexed obsidian
#
node --loader ts-node/esm ./ci/dagger.mts --help
(node:69516) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));'
(Use `node --trace-warnings ...` to show where the warning was created)

node:internal/process/esm_loader:34
      internalBinding('errors').triggerUncaughtException(
                                ^
[Object: null prototype] {
  [Symbol(nodejs.util.inspect.custom)]: [Function: [nodejs.util.inspect.custom]]
}

Node.js v21.5.0
dagger v0.9.7 (registry.dagger.io/engine) darwin/arm64

Not sure where this is breaking down...

#

Note, I'm just trying to run this outside the CLI first. I see the same error while using the CLI

hexed obsidian