Skip to content

Commit 49fdbc8

Browse files
committed
devin latest comments
1 parent 51c7c49 commit 49fdbc8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/config/extensions/additionalPackages.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ export default defineConfig({
1414
project: "<project ref>",
1515
// Your other config settings...
1616
build: {
17+
// Omit version for auto-resolution; for reproducible builds use e.g. packages: ["wrangler@X.Y.Z"]
1718
extensions: [additionalPackages({ packages: ["wrangler"] })],
1819
},
1920
});
2021
```
2122

22-
This allows you to include additional packages in the build that are not automatically included via imports. This is useful if you want to install a package that includes a CLI tool that you want to invoke in your tasks via `exec`. We will try to automatically resolve the version of the package but you can specify the version by using the `@` symbol.
23+
This allows you to include additional packages in the build that are not automatically included via imports. This is useful if you want to install a package that includes a CLI tool you can invoke in your tasks via `exec`. We will try to automatically resolve the version of the package but you can specify the version by using the `@` symbol.
2324

24-
If you omit the version, the build may use a cached or older resolution. For reproducible builds, pin the exact version (e.g. `wrangler@1.19.0`).
25+
If you omit the version, the build may use a cached or older resolution. For reproducible builds, pin the exact version (e.g. `wrangler@X.Y.Z`).
2526

2627
```ts
2728
import { defineConfig } from "@trigger.dev/sdk";
@@ -31,7 +32,7 @@ export default defineConfig({
3132
project: "<project ref>",
3233
// Your other config settings...
3334
build: {
34-
extensions: [additionalPackages({ packages: ["wrangler@1.19.0"] })],
35+
extensions: [additionalPackages({ packages: ["wrangler@X.Y.Z"] })],
3536
},
3637
});
3738
```

docs/troubleshooting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ And you're using Yarn v1.22 or another package manager, check if you have a `.pn
5050
If you see "Connection error" when running `trigger login` (or "Failed to create authorization code"), try these in order:
5151

5252
1. **Clear saved auth and retry:** `npx trigger.dev@latest logout`, then `npx trigger.dev@latest login` again. Sometimes an invalid config is cached.
53-
2. **VPN or firewall:** Disconnect from VPN or check firewall/proxy; try `npx trigger.dev@latest login -l debug` for more detail.
53+
2. **VPN or firewall:** Disconnect from VPN or check firewall/proxy; try `npx trigger.dev@latest login --log-level debug` for more detail.
5454
3. **TLS / certificate store:** Node may use a different CA store than your OS (e.g. `curl` works but the CLI fails). Try `export NODE_EXTRA_CA_CERTS=/etc/ssl/cert.pem` (macOS/Linux) then login again, or reinstall Node so it gets updated certs. Behind a corporate proxy or custom CA? Set `NODE_EXTRA_CA_CERTS` to that CA file.
5555

5656
## Deployment

0 commit comments

Comments
 (0)