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

Fix[dev-cli] fix deno std issue #1119

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RyanKung
Copy link
Contributor

When executing commands, errors may occur because deno-cliffy introduces an older version of std. The solution is to upgrade deno-cliffy to version r4.

deno --version
deno 2.1.6 (stable, release, x86_64-unknown-linux-gnu)
v8 13.0.245.12-rusty
typescript 5.6.2
deno task build-binaries

Task build-binaries ./tools/build.sh
updating: c/ (stored 0%)
updating: c/process.c (deflated 54%)
updating: c/libcjson/ (stored 0%)
updating: c/libcjson/cJSON.h (deflated 69%)
updating: c/libcjson/libcjson.a (deflated 59%)
updating: c/libcjson/cJSON.c (deflated 81%)
updating: c/ao.h (deflated 71%)
updating: c/ao.c (deflated 78%)
updating: c/helpers.c (deflated 77%)
updating: c/helpers.h (deflated 63%)
updating: lua/ (stored 0%)
updating: lua/process.lua (deflated 30%)
updating: lua/ao.lua (deflated 74%)
Compile file:///home/ryan/ao/dev-cli/src/mod.js to /home/ryan/ao/dev-cli/./tools/../dist/ao
error: Writing deno compile executable to temporary file '/home/ryan/ao/dev-cli/./tools/../dist/ao.tmp-a1cba5297137a32a'

Caused by:
    Import assertions are deprecated. Use `with` keyword, instead of 'assert' keyword.

    import data from "./_data.json" assert { type: "json" };

      at https://deno.land/[email protected]/console/unicode_width.ts:4:1

....

Note: It is recommended to update deno.lock at the same time. Maintainers can choose to either close this PR and update it themselves or merge this PR and update deno.lock.

related PR: c4spar/deno-cliffy#691

@RyanKung RyanKung changed the title Fixed[dev-cli] fix deno std issue Fix[dev-cli] fix deno std issue Jan 18, 2025
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

Successfully merging this pull request may close these issues.

1 participant