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

[forge-esm-ts | forge-svelte] Missing @types/node dependency #18

Open
rtritto opened this issue May 29, 2024 · 0 comments
Open

[forge-esm-ts | forge-svelte] Missing @types/node dependency #18

rtritto opened this issue May 29, 2024 · 0 comments

Comments

@rtritto
Copy link

rtritto commented May 29, 2024

ts-node has @types/node as peer dependency.
Transitive dependencies must be included.

Current yarn berry warning:

...
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ <PROJECT_NAME>@workspace:. doesn't provide @types/node (p2bacc), requested by ts-node.
➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code. 
➤ YN0000: └ Completed
...

Change

package.json:

{
  "devDependencies": {
+   "@types/node": "*"
  }
}
@rtritto rtritto changed the title Missing @types/node dependency [forge-esm-ts] Missing @types/node dependency May 29, 2024
@rtritto rtritto changed the title [forge-esm-ts] Missing @types/node dependency [forge-esm-ts | forge-svelte] Missing @types/node dependency May 30, 2024
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