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

Errors when upload using the newest CLI #3289

Open
colehank opened this issue Jan 17, 2025 · 2 comments
Open

Errors when upload using the newest CLI #3289

colehank opened this issue Jan 17, 2025 · 2 comments
Labels

Comments

@colehank
Copy link

What went wrong?

in the newest openneuro version, when I upload my dataset by deno run -A jsr:@openneuro/cli upload --ignoreWarnings --dataset ds005810 NOD-MEG, I meet the errors as follows:

error: Uncaught (in worker "") SyntaxError: The requested module 'path-browserify' does not provide an export named 'join' at <anonymous> (file:///Users/zgh/Library/Caches/deno/npm/registry.npmjs.org/isomorphic-git/1.29.0/index.js:3:10)
error: Uncaught (in promise) null

Expected behavior

just let the cli work well

How to reproduce

Image

Desktop

  • OS: MacOs 15.2

Phone

  • Device:
  • OS:
  • Browser:
  • Version:

Additional information

No response

@colehank colehank added the bug label Jan 17, 2025
@nellh
Copy link
Contributor

nellh commented Jan 17, 2025

Hi, thank you for the bug report.

Can you try running this with the --reload argument to Deno like this deno run --reload -A ...? This will reload cached dependencies and may resolve this issue.

@colehank
Copy link
Author

Thanks for your reply!
I changed my code to deno run --reload -A jsr:@openneuro/cli upload --ignoreWarnings --dataset ds005810 NOD-MEG,
But this error still occurs. My deno version is 2.1.6
Image

@colehank colehank reopened this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants