#Error on : pnpm dlx trigger.dev@beta dev

1 messages · Page 1 of 1 (latest)

hollow wagon
#

Hi guys ! I'm following the basic start here tutorial but i'm encounteting a Zoderror when I want to just start the server ...

Could you help me ?

✘ [ERROR] Failed to read config ZodError: [

{
  "code": "invalid_type",
  "expected": "string",
  "received": "undefined",
  "path": [
    "project"
  ],
  "message": "Required"
}

]
at get error [as error]
(file:///Users/uu/Library/Caches/pnpm/dlx/vfj6yiimgyn4hslniysco4urym/190 at async wrapCommandAction
(file:///Users//Library/Caches/pnpm/dlx/vfj6yiimgyn4hslniysco4urym/1907954c239-b895/node_modules/.pnpm/[email protected]/node_modules/trigger.dev/dist/index.js:1469:10)
{
issues: [
{
code: 'invalid_type',
expected: 'string',
received: 'undefined',
path: [Array],
message: 'Required'
}
],
addIssue: [Function (anonymous)],
addIssues: [Function (anonymous)],
errors: [
{
code: 'invalid_type',
expected: 'string',
received: 'undefined',
path: [Array],
message: 'Required'
}

#

same using this :

npx @trigger.dev/cli@latest dev
✔️ [trigger.dev] Detected TriggerClient id: smartagentai-1gZr
✔️ [trigger.dev] Found API Key in .env file
✖ [trigger.dev] Server responded with 404 (http://localhost:3000/api/trigger).
✖ [trigger.dev] No server found (http://localhost:3001/api/trigger).
✖ [trigger.dev] No server found (http://localhost:3002/api/trigger).
✖ [trigger.dev] Your endpoint couldn't be verified. Make sure your app is running and try again. /api/trigger
[trigger.dev] You can use -H to specify a hostname, or -p to specify a port, or -s to specify https, or -t to specify the tunnel-url pointing to the local dev server.
SmartAgent.ai git:(main) ✗