-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
deno outdated fails with "Unknown export" error #28159
Comments
Your cache might be in some sort of broken state. If you can afford it, you can purge it with |
Thanks for the suggestion, but that didn't fix it. I'm still seeing the same error. $ deno clean
Removed /Users/[user]/Library/Caches/deno (10972 files, 101.23MB)
$ deno outdated
error: Unknown export './unstable-chmod' for '@std/[email protected]'.
Package exports:
* .
* ./copy
* ./empty-dir
* ./ensure-dir
* ./ensure-file
* ./ensure-link
* ./ensure-symlink
* ./eol
* ./exists
* ./expand-glob
* ./move
* ./walk |
Could you paste the content of |
Here you go:
|
@bartlomieju Your question put me on the right track: I deleted my |
I always encounter an error when I run
deno outdated
on my project:The error is always of the form "error: Unknown export './unstable-chmod' for '@std/[email protected]'.", but it's not 100 % consistent — sometimes it refers to an API in '@std/async' instead:
I do not use any of the mentioned unstable APIs in my code, and I don't import them anywhere. Though I do use both
@std/fs
and@std/async
in my code, e.g. like this:Excerpt from my
deno.jsonc
:Other deno tasks, such as building, work fine. It's only
deno outdated
where I'm seeing these errors. Any ideas? Thanks!The text was updated successfully, but these errors were encountered: