-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
[Bug]: cspell
crashes under pnpm due to undeclared dependency on @cspell/cspell-types
#4639
Closed
5 of 19 tasks
Labels
Comments
Thank you. I'll take a look. |
Jason3S
added a commit
that referenced
this issue
Jul 15, 2023
fixed in 6.31.2 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Info
Kind of Issue
Which Tool or library
Which Version
Version: 6.31.1
Issue with supporting library?
OS:
version:
OS version if applicable.
Bug Description
Describe the bug
cspell
has declared adevDependency
on@cspell/cspell-types
but uses this dependency published packages.cspell/packages/cspell/src/app/lint/lint.ts
Line 11 in 002f28c
Adding the following to
package.json
serves as a workaround.To Reproduce
Steps to reproduce the behavior:
48bde93589f5d9e942d280faf355f8269bc5f6ac
pnpm install
(withv8.6.7
or have corepack enabled)pnpm run release-readiness
Expected behavior
CSpell (invoked by
pnpm run release-readiness
runs to completion without error.Screenshots
NA
Additional context
Works fine in npm (and likely Yarn Classic) as
@cspell/cspell-types
is hoisted from another cspell package (cspell-dictionary
,cspell-grammar
,cspell-lib
,cspell-trie-lib
).cspell.json
If applicable, attach a copy of the
cspell.json
file.Example Repository (Optional)
NA
The text was updated successfully, but these errors were encountered: