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

JSR package "@david/dax" is not installed or doesn't exist. #1213

Open
scarf005 opened this issue Nov 25, 2024 · 8 comments
Open

JSR package "@david/dax" is not installed or doesn't exist. #1213

scarf005 opened this issue Nov 25, 2024 · 8 comments

Comments

@scarf005
Copy link

scarf005 commented Nov 25, 2024

Describe the bug

cannot make the error go away

To Reproduce

import $ from "jsr:@david/dax"

Expected behavior

code action install * and its dependencies work, but the extension log only outputs

op_load jsr:@david/dax false

this error only happens vscode deno extension and it type checks and runs fine on deno cli.

Screenshots

image

Versions

vscode: 1.95.3 deno: 2.1.1 extension: 3.42.0

@nayeemrmn
Copy link
Collaborator

nayeemrmn commented Nov 25, 2024

I can't reproduce, the install code action worked for me. Can you show verbatim what the output console shows when you try to install?

By the way, the debug logging op_load jsr:@david/dax false is removed in canary.

@scarf005
Copy link
Author

the verbatim output log was op_load jsr:@david/dax false. maybe it's because i haven't enabled debug logging.

@scarf005
Copy link
Author

// when restarting LSP
shutdown request received, shutting down
exit notification received, stopping
Starting Deno language server...
  version: 2.1.1 (release, aarch64-apple-darwin)
  executable: /Users/nemo/.local/share/deno/bin/deno
Connected to "Windsurf" 1.94.0
Enabling import suggestions for: https://deno.land
Refreshing configuration tree...
  Resolved Deno configuration file: "file:///Users/nemo/repo/quotalab-scripts/deno.jsonc"
  Resolved lockfile: "file:///Users/nemo/repo/quotalab-scripts/deno.lock"
  Resolved Deno configuration file: "file:///Users/nemo/repo/quotalab-scripts/userscript/deno.json"
  Resolved lockfile: "file:///Users/nemo/repo/quotalab-scripts/deno.lock"
op_load file:///Users/nemo/repo/quotalab-scripts/src/motp-server.ts true
Server ready.
op_load file:///Users/nemo/repo/quotalab-scripts/src/motp-server.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/index.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/hono.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/hono-base.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/compose.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/context.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/request.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/router.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/types.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/utils/headers.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/utils/http-status.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/utils/types.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/utils/body.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/utils/url.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/utils/html.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/utils/mime.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/router/reg-exp-router/index.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/router/reg-exp-router/router.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/router/reg-exp-router/node.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/router/reg-exp-router/trie.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/router/smart-router/index.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/router/smart-router/router.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/router/trie-router/index.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/router/trie-router/router.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/router/trie-router/node.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/client/index.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/client/client.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/utils/cookie.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/client/types.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/client/utils.ts true
op_load https://jsr.io/@hono/hono/4.6.11/src/middleware/cors/index.ts true
op_load jsr:@david/dax false
op_load https://deno.land/x/imagemagick_deno@0.0.31/mod.ts true
op_load file:///Users/nemo/Library/Caches/deno/npm/registry.npmjs.org/@imagemagick/magick-wasm/0.0.31/dist/index.d.ts true
op_load https://raw.githubusercontent.com/DjDeveloperr/Tesseract-Deno/3b61d4e405e3bb10b656e37738ddf5ac4207c832/mod.ts true
op_load file:///Users/nemo/repo/quotalab-scripts/bin/github-create-pr.ts true
op_load https://jsr.io/@david/dax/0.42.0/mod.ts true
op_load https://jsr.io/@std/fmt/1.0.3/colors.ts true
op_load https://jsr.io/@david/which/0.4.1/mod.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/command.ts true
op_load https://jsr.io/@david/path/0.2.0/mod.ts true
op_load https://jsr.io/@std/path/1.0.8/basename.ts true
op_load https://jsr.io/@std/path/1.0.8/_os.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/basename.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/basename.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/assert_path.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/_util.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/constants.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/basename.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/_util.ts true
op_load https://jsr.io/@std/path/1.0.8/dirname.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/dirname.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/dirname.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/dirname.ts true
op_load https://jsr.io/@std/path/1.0.8/extname.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/extname.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/extname.ts true
op_load https://jsr.io/@std/path/1.0.8/from_file_url.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/from_file_url.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/from_file_url.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/from_file_url.ts true
op_load https://jsr.io/@std/path/1.0.8/is_absolute.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/is_absolute.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/is_absolute.ts true
op_load https://jsr.io/@std/path/1.0.8/join.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/join.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/normalize.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/normalize.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/normalize_string.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/join.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/normalize.ts true
op_load https://jsr.io/@std/path/1.0.8/normalize.ts true
op_load https://jsr.io/@std/path/1.0.8/relative.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/relative.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/resolve.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/relative.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/relative.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/resolve.ts true
op_load https://jsr.io/@std/path/1.0.8/resolve.ts true
op_load https://jsr.io/@std/path/1.0.8/to_file_url.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/to_file_url.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/to_file_url.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/to_file_url.ts true
successfully cancelled request with ID: 2
op_load https://jsr.io/@std/fs/1.0.5/empty_dir.ts true
op_load https://jsr.io/@std/fs/1.0.5/_to_path_string.ts true
op_load https://jsr.io/@std/fs/1.0.5/ensure_dir.ts true
op_load https://jsr.io/@std/fs/1.0.5/_get_file_info_type.ts true
op_load https://jsr.io/@std/fs/1.0.5/ensure_file.ts true
op_load https://jsr.io/@std/fs/1.0.5/copy.ts true
op_load https://jsr.io/@std/fs/1.0.5/_is_subdir.ts true
op_load https://jsr.io/@std/path/1.0.8/constants.ts true
op_load https://jsr.io/@std/io/0.221.0/buffer.ts true
op_load https://jsr.io/@std/assert/0.221.0/assert.ts true
op_load https://jsr.io/@std/assert/0.221.0/assertion_error.ts true
op_load https://jsr.io/@std/bytes/0.221.0/copy.ts true
op_load https://jsr.io/@std/io/0.221.0/types.ts true
op_load https://jsr.io/@std/path/1.0.8/mod.ts true
op_load https://jsr.io/@std/path/1.0.8/format.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/format.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/format.ts true
op_load https://jsr.io/@std/path/1.0.8/types.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/format.ts true
op_load https://jsr.io/@std/path/1.0.8/parse.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/parse.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/parse.ts true
op_load https://jsr.io/@std/path/1.0.8/to_namespaced_path.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/to_namespaced_path.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/to_namespaced_path.ts true
op_load https://jsr.io/@std/path/1.0.8/common.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/common.ts true
op_load https://jsr.io/@std/path/1.0.8/glob_to_regexp.ts true
op_load https://jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/glob_to_regexp.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/glob_to_regexp.ts true
op_load https://jsr.io/@std/path/1.0.8/is_glob.ts true
op_load https://jsr.io/@std/path/1.0.8/join_globs.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/join_globs.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/constants.ts true
op_load https://jsr.io/@std/path/1.0.8/posix/normalize_glob.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/join_globs.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/constants.ts true
op_load https://jsr.io/@std/path/1.0.8/windows/normalize_glob.ts true
op_load https://jsr.io/@std/path/1.0.8/normalize_glob.ts true
op_load https://jsr.io/@std/streams/0.221.0/reader_from_stream_reader.ts true
op_load https://jsr.io/@std/io/0.221.0/reader_from_stream_reader.ts true
op_load https://jsr.io/@std/io/0.221.0/write_all.ts true
op_load https://jsr.io/@std/streams/0.221.0/writer_from_stream_writer.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/command_handler.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/pipes.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/common.ts true
op_load https://jsr.io/@std/io/0.221.0/buf_reader.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/console/mod.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/console/confirm.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/console/utils.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/lib/mod.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/lib/rs_lib.generated.js true
op_load https://jsr.io/@david/dax/0.42.0/src/console/logger.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/console/multiSelect.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/console/progress/mod.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/console/progress/format.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/console/progress/interval.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/console/prompt.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/console/select.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/request.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/result.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/cat.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/args.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/cd.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/cp_mv.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/echo.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/exit.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/export.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/mkdir.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/printenv.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/pwd.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/rm.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/sleep.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/test.ts true
op_load https://jsr.io/@std/fs/1.0.5/exists.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/touch.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/unset.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/commands/which.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/shell.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/runtimes/process.common.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/runtimes/process.deno.ts true
op_load https://jsr.io/@david/dax/0.42.0/src/vendor/outdent.ts true
op_load file:///Users/nemo/repo/quotalab-scripts/bin/github-cli-merge.ts true
op_load https://jsr.io/@std/cli/1.0.6/parse_args.ts true
op_load asset:///lib.dom.d.ts true
op_load asset:///lib.dom.extras.d.ts true
op_load file:///Users/nemo/repo/quotalab-scripts/userscript/codeit.user.js true
op_load file:///Users/nemo/repo/quotalab-scripts/userscript/discord-alt-number.user.js true
op_load file:///Users/nemo/repo/quotalab-scripts/userscript/codeit-next.js true
successfully cancelled request with ID: 13
op_load jsr:@david/dax false // when running install dax
op_load jsr:@david/dax false // when running install dax
op_load jsr:@david/dax false // when running install dax

@nayeemrmn
Copy link
Collaborator

Do you have entries related to jsr:@david/dax in your lockfile? Please share them if so

@scarf005
Copy link
Author

Do you have entries related to jsr:@david/dax in your lockfile? Please share them if so

deno.jsonc.zip
deno.lock.zip

@nayeemrmn
Copy link
Collaborator

Was this caused by #1215 (comment)?

"deno.config": "/home/scarf/deno.jsonc",

@scarf005
Copy link
Author

yes, will close.

@scarf005 scarf005 reopened this Nov 29, 2024
@scarf005
Copy link
Author

scarf005 commented Nov 29, 2024

shutdown request received, shutting down
exit notification received, stopping
Starting Deno language server...
  version: 2.1.2 (release, aarch64-apple-darwin)
  executable: /Users/nemo/.local/share/deno/bin/deno
Connected to "Windsurf" 1.94.0
Enabling import suggestions for: https://deno.land
Refreshing configuration tree...
  Resolved Deno configuration file: "file:///Users/nemo/repo/quotalab-scripts/deno.jsonc"
  Resolved lockfile: "file:///Users/nemo/repo/quotalab-scripts/deno.lock"
  Resolved Deno configuration file: "file:///Users/nemo/repo/quotalab-scripts/userscript/deno.json"
  Resolved lockfile: "file:///Users/nemo/repo/quotalab-scripts/deno.lock"
Server ready.
successfully cancelled request with ID: 2
successfully cancelled request with ID: 7

happens again with global deno.config removed.

@scarf005 scarf005 reopened this Nov 29, 2024
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

2 participants