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

error[excluded-module]: module in package's module graph was excluded from publishing #323

Closed
FlatMapIO opened this issue Mar 22, 2024 · 3 comments · Fixed by denoland/deno#23173
Assignees
Labels
bug Something isn't working

Comments

@FlatMapIO
Copy link

When I release a package, jsr checks for .d.ts in the deep dependencies in node_modules during slow type check and tells me the following error.


Checking for slow types in the public API...
error[excluded-module]: module in package's module graph was excluded from publishing
 --> /Projects/node_modules/.pnpm/oslo@1.1.3/node_modules/oslo/dist/crypto/index.d.ts
  = hint: remove the module from 'exclude' and/or 'publish.exclude' in the config file

  info: excluded modules referenced via a package export will error at runtime due to not existing in the package
  docs: https://jsr.io/go/excluded-module

error[excluded-module]: module in package's module graph was excluded from publishing
 --> /Projects/node_modules/.pnpm/oslo@1.1.3/node_modules/oslo/dist/crypto/index.js
  = hint: remove the module from 'exclude' and/or 'publish.exclude' in the config file

  info: excluded modules referenced via a package export will error at runtime due to not existing in the package
  docs: https://jsr.io/go/excluded-module
ƒ
error[excluded-module]: module in package's module graph was excluded from publishing
 --> /Projects/node_modules/.pnpm/oslo@1.1.3/node_modules/oslo/dist/encoding/index.d.ts
  = hint: remove the module from 'exclude' and/or 'publish.exclude' in the config file
@lucacasonato
Copy link
Member

@dsherret PTAL

@lucacasonato lucacasonato moved this from Needs Triage to Ready in JSR Mar 22, 2024
@lucacasonato lucacasonato added the bug Something isn't working label Mar 22, 2024
@dsherret
Copy link
Member

@FlatMapIO do you have a package where I could try to reproduce this?

@FlatMapIO
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants