Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative import path "@std/fmt/colors" not prefixed (v1.13.0) #344

Open
ianlet opened this issue Oct 25, 2024 · 2 comments
Open

Relative import path "@std/fmt/colors" not prefixed (v1.13.0) #344

ianlet opened this issue Oct 25, 2024 · 2 comments

Comments

@ianlet
Copy link

ianlet commented Oct 25, 2024

Our deployment pipeline started failing since v1.13.0 with the following error:

error: Relative import path "@std/fmt/colors" not prefixed with / or ./ or ../
    at https://deno.land/x/[email protected]/deployctl.ts:9:33

This error started when upgrading deployctl from v1.12.0 to v1.13.0.

Here's the command we use to deploy:

deno run -A https://deno.land/x/deploy/deployctl.ts deploy --project=[PROJECT_ID] --include='server/,dist/' server/entry.deno.js

We're using Deno 2.0.3

Note: using Deno 2.0.3 with [email protected] works as expected.

@CahidArda
Copy link

we get the same error in our pipeline if a reproduction is needed. upstash/redis-js#1342

the project and the failing CI steps

@azohra
Copy link

azohra commented Dec 2, 2024

i was able to fix this by including deno.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants