denoland / deployctl

Command line tool for Deno Deploy
https://deno.com/deploy
MIT License
352 stars 58 forks source link

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

Open ianlet opened 1 month ago

ianlet commented 1 month ago

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/deploy@1.13.0/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 deployctl@1.12.0 works as expected.

CahidArda commented 3 weeks ago

we get the same error in our pipeline if a reproduction is needed. https://github.com/upstash/redis-js/pull/1342

the project and the failing CI steps