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

Cannot find name 'ChildProcess' #322

Closed
yyz945947732 opened this issue Oct 3, 2023 · 1 comment
Closed

Cannot find name 'ChildProcess' #322

yyz945947732 opened this issue Oct 3, 2023 · 1 comment

Comments

@yyz945947732
Copy link

image

i think @types/node should depend as dependencies instead of devDependencies because the content is explicitly referenced.

image

when my package depend open and build to bundler. ChildProcess not found error will be reported unless i install @types/node.

image

@sindresorhus
Copy link
Owner

This is a Node.js package, so you are expected to have the Node.js types already. Having the types as dependency is not feasible as it would conflict with other packages having other Node.js versions as dependency.

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2023
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

2 participants