-
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
npm throws on subpath exports mapping #15605
Comments
@mpodwysocki I fixed the immediate problem you had, but trying to run the same code I get this error:
I looked into |
Okay, just confirmed, it doesn't work in Node either
|
@bartlomieju apologies for being on vacation. We have fixed the dependency issue and now just getting the error with 1.25.1 with can't load the module. Is there some new flag I'm missing?
|
@mpodwysocki we had a small regression in v1.25.1 that causes this problem. It's been already fixed and will be released in v1.25.2. If you are not on Mac M1 you can |
@bartlomieju unfortunately, I am on a MacBook Air M1, so I'll have to wait to try it out. Thanks for all your hard work! |
Using the Azure Notification Hubs SDK for JavaScript, trying to import from a subpath exports causes an error which it doesn't think is exported.
Full code snippet here: Azure Notification Hubs Send Example
Getting the following error:
Azure Notification Hubs uses subpath exports with the following mapping where
/models/*.ts
should be mapped to such maps as/models/notification.ts
:The text was updated successfully, but these errors were encountered: