You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to trigger the task from nestjs application it shows the mismatch in version
as
Trigger.dev (3.3.16)
[1] ------------------------------------------------------
[1] │
[1] ▲ Warning: Mismatch between your CLI version and installed packages
[1] │
[1] │ We recommend pinned versions for guaranteed compatibility
[1] │
[1] └ Deploy failed
[1]
[1] ERROR: Version mismatch detected while running in CI. This won't end well. Aborting.
[1]
[1] Please run the dev command locally and check that your CLI version matches the one printed below. Additionally, all @trigger.dev/* packages also need to match this version.
[1]
[1] If your local CLI version doesn't match the one below, you may want to pin the CLI version in this CI step. To do that, just replace trigger.dev@beta with trigger.dev@<FULL_VERSION>, for example: npx [email protected] deploy
[1]
[1] CLI version: 3.3.16
[1]
[1] Current package versions that don't match the CLI:
[1] - @trigger.dev/[email protected]
[1] - @trigger.dev/[email protected]
Later when I tried to upgrade all my packages as the cli I do have I got the following response
npx [email protected] deploy
Trigger.dev (3.3.16)
┌ Deploying project
│
▲ Warning: Mismatch between your CLI version and installed packages
│
│ We recommend pinned versions for guaranteed compatibility
│
│
│ Suggested updates
┌─────────────────────┬────────┬────────┐
│ package │ old │ new │
├─────────────────────┼────────┼────────┤
│ @trigger.dev/sdk │ 3.3.12 │ 3.3.16 │
├─────────────────────┼────────┼────────┤
│ @trigger.dev/nestjs │ 3.3.12 │ 3.3.16 │
└─────────────────────┴────────┴────────┘
│
◇ Would you like to apply those updates?
│ Yes
│
◇ Updating dependencies in package.json
│
│ Installing new package versions
│
│ Installing new package versions with yarn
│
│ Failed to install new package versions with yarn
X Error: Command failed with exit code 1: corepack yarn install
error Couldn't find any versions for "@trigger.dev/nestjs" that matches "3.3.16"
yarn install v1.22.22
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
That means the project was unable to find any latest update named 3.3.16 for nestjs
Later when I tried to downgrade everything using
npx [email protected] deploy --skip-update-check
Here it automatically upgrading it to 3.3.16
Trigger.dev (3.3.12 -> 3.3.16)
┌ Deploying project
│
◇ Checking your account details
The problem is I am getting stucked
when I try to use 3.3.16 there is no version for nestjs
and when I try to use 3.3.12 it strictly upgraded the cli version to 3.3.16
Reproduction repo
I am currently testing it locally
To reproduce
create a nestjs repo using
nest new my-trigger-app
then install
"@trigger.dev/sdk": "3.3.12",
"@trigger.dev/nestjs": "3.3.12",
"trigger.dev": "^3.3.12"
the above versions as dependencies
create a "trigger" folder inside "src" folder
create respective task, service and controller files
create the trigger.config.ts file inside root directory as described in docs
Trigger the task using controllers and services
the task is getting status as queued
Additional information
No response
The text was updated successfully, but these errors were encountered:
Provide environment information
System:
OS: Windows 10 10.0.19045
CPU: (4) x64 Intel(R) Core(TM) i3-7020U CPU @ 2.30GHz
Memory: 3.99 GB / 11.91 GB
Binaries:
Node: 22.9.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.8.3 - C:\Program Files\nodejs\npm.CMD
Describe the bug
When I try to trigger the task from nestjs application it shows the mismatch in version
as
Trigger.dev (3.3.16)
[1] ------------------------------------------------------
[1] │
[1] ▲ Warning: Mismatch between your CLI version and installed packages
[1] │
[1] │ We recommend pinned versions for guaranteed compatibility
[1] │
[1] └ Deploy failed
[1]
[1] ERROR: Version mismatch detected while running in CI. This won't end well. Aborting.
[1]
[1] Please run the dev command locally and check that your CLI version matches the one printed below. Additionally, all
@trigger.dev/*
packages also need to match this version.[1]
[1] If your local CLI version doesn't match the one below, you may want to pin the CLI version in this CI step. To do that, just replace
trigger.dev@beta
withtrigger.dev@<FULL_VERSION>
, for example:npx [email protected] deploy
[1]
[1] CLI version: 3.3.16
[1]
[1] Current package versions that don't match the CLI:
[1] - @trigger.dev/[email protected]
[1] - @trigger.dev/[email protected]
Later when I tried to upgrade all my packages as the cli I do have I got the following response
npx [email protected] deploy
Trigger.dev (3.3.16)
┌ Deploying project
│
▲ Warning: Mismatch between your CLI version and installed packages
│
│ We recommend pinned versions for guaranteed compatibility
│
│
│ Suggested updates
┌─────────────────────┬────────┬────────┐
│ package │ old │ new │
├─────────────────────┼────────┼────────┤
│ @trigger.dev/sdk │ 3.3.12 │ 3.3.16 │
├─────────────────────┼────────┼────────┤
│ @trigger.dev/nestjs │ 3.3.12 │ 3.3.16 │
└─────────────────────┴────────┴────────┘
│
◇ Would you like to apply those updates?
│ Yes
│
◇ Updating dependencies in package.json
│
│ Installing new package versions
│
│ Installing new package versions with yarn
│
│ Failed to install new package versions with yarn
X Error: Command failed with exit code 1: corepack yarn install
error Couldn't find any versions for "@trigger.dev/nestjs" that matches "3.3.16"
yarn install v1.22.22
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
That means the project was unable to find any latest update named 3.3.16 for nestjs
Later when I tried to downgrade everything using
npx [email protected] deploy --skip-update-check
Here it automatically upgrading it to 3.3.16
Trigger.dev (3.3.12 -> 3.3.16)
┌ Deploying project
│
◇ Checking your account details
The problem is I am getting stucked
when I try to use 3.3.16 there is no version for nestjs
and when I try to use 3.3.12 it strictly upgraded the cli version to 3.3.16
Reproduction repo
I am currently testing it locally
To reproduce
create a nestjs repo using
nest new my-trigger-app
then install
"@trigger.dev/sdk": "3.3.12",
"@trigger.dev/nestjs": "3.3.12",
"trigger.dev": "^3.3.12"
the above versions as dependencies
create a "trigger" folder inside "src" folder
create respective task, service and controller files
create the trigger.config.ts file inside root directory as described in docs
Trigger the task using controllers and services
the task is getting status as queued
Additional information
No response
The text was updated successfully, but these errors were encountered: