You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm very new to node js, I've downloaded the project, do I need to install the packages /dependencies somehow? and do I need a specific version of npm? I've tried
npm install --force
npm run start
npm i --save-dev @types/node
npm install --force
npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/rollup
npm WARN dev rollup@"^4.4.0" from the root project
npm WARN 12 more (@rollup/plugin-commonjs, @rollup/plugin-image, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer rollup@"^2.0.0" from [email protected]
npm WARN node_modules/rollup-plugin-terser
npm WARN dev rollup-plugin-terser@"^7.0.2" from the root project
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/rollup
npm WARN peer rollup@"^2.0.0" from [email protected]
npm WARN node_modules/rollup-plugin-terser
npm WARN dev rollup-plugin-terser@"^7.0.2" from the root project
one of the first errors:
.ts:301:17 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node and then add 'node' to the types field in your tsconfig.
some of the latest errors:
[email protected] start
npm run build && lite-server -c ls-config.json
[email protected] build
npm run buildts && npm run buildru && npm run copypdfjsworker
I'm very new to node js, I've downloaded the project, do I need to install the packages /dependencies somehow? and do I need a specific version of npm? I've tried
npm install --force
npm run start
npm i --save-dev @types/node
npm install --force
npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/rollup
npm WARN dev rollup@"^4.4.0" from the root project
npm WARN 12 more (@rollup/plugin-commonjs, @rollup/plugin-image, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer rollup@"^2.0.0" from [email protected]
npm WARN node_modules/rollup-plugin-terser
npm WARN dev rollup-plugin-terser@"^7.0.2" from the root project
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/rollup
npm WARN peer rollup@"^2.0.0" from [email protected]
npm WARN node_modules/rollup-plugin-terser
npm WARN dev rollup-plugin-terser@"^7.0.2" from the root project
one of the first errors:
.ts:301:17 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.some of the latest errors:
src/document/entities/annotations/annotation-dict.ts:1144:5 - error TS2322: Type 'Timeout' is not assignable to type 'number'.
1144 this._transformationTimer = setTimeout(() => {
~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: