You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider a scenario where you want to test a locally developed library library-foo by loading it into another project project-bar.
.
├── library-foo/
└── project-bar/
In this situation, running the following command in the project root of project-bar attempts to send an HTTP request to npmjs and fails:
aube add /path/to/library-foo/
❯ aube add /path/to/library-foo/
Error: × failed to fetch /path/to/library-foo/: HTTP error: HTTP status client error (405
│ Method Not Allowed) for url (https://registry.npmjs.org/%2Fpath%2Fto%2Flibrary-foo%2F)
Since package managers like pnpm and bun can handle local paths directly, it would be great if aube could handle them in the same way. Alternatively, if aube's policy strictly requires explicit prefixes (file:, link:), providing a friendly hint/suggestion in the error message would be very helpful.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Consider a scenario where you want to test a locally developed library
library-fooby loading it into another projectproject-bar.In this situation, running the following command in the project root of
project-barattempts to send an HTTP request to npmjs and fails:Since package managers like
pnpmandbuncan handle local paths directly, it would be great ifaubecould handle them in the same way. Alternatively, ifaube's policy strictly requires explicit prefixes (file:,link:), providing a friendly hint/suggestion in the error message would be very helpful.Beta Was this translation helpful? Give feedback.
All reactions