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

Export extension still missing from npm registry #60

Open
patrickheeney opened this issue Oct 9, 2023 · 0 comments
Open

Export extension still missing from npm registry #60

patrickheeney opened this issue Oct 9, 2023 · 0 comments

Comments

@patrickheeney
Copy link

patrickheeney commented Oct 9, 2023

Describe the Issue

I am using ts-dot-prop which uses ts-util-is as a dependency. I can see in version 2.0.2 the extension was added but I am still getting the following error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'ts-util-is/dist/src/index' imported from ts-util-is/dist/index.js

Upon checking npm view ts-util-is and downloading the tarball the extension is missing from dist/index.js which is still showing: export * from './src/index';. I confirmed I am on version 2.0.2 using the same tarball as linked above.

When I npm run build locally I see the extension. Is it possible the extension is getting stripped through a deployment process?

When I patch the node_modules to include the extension, it is working again.

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

1 participant