We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, upon building my TypeScript project with tsc, I got this error:
tsc
node_modules/detect-browser/index.d.ts:1:23 - error TS2688: Cannot find type definition file for 'node'. 1 /// <reference types="node" /> ~~~~ node_modules/detect-browser/index.d.ts:16:71 - error TS2503: Cannot find namespace 'NodeJS'. 16 export declare class NodeInfo implements DetectedInfo<'node', 'node', NodeJS.Platform, string> { ~~~~~~ node_modules/detect-browser/index.d.ts:20:18 - error TS2503: Cannot find namespace 'NodeJS'. 20 readonly os: NodeJS.Platform; ~~~~~~ ...
I followed https://stackoverflow.com/questions/43542710/buildcannot-find-type-definition-file-for-node and ran:
npm install @types/node --save-dev
This fixed the issue on my end. However I'm not finding other issues so I'm unsure if this is somehow just an issue on my end.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, upon building my TypeScript project with
tsc
, I got this error:I followed https://stackoverflow.com/questions/43542710/buildcannot-find-type-definition-file-for-node and ran:
This fixed the issue on my end. However I'm not finding other issues so I'm unsure if this is somehow just an issue on my end.
The text was updated successfully, but these errors were encountered: