Hi, I tried cloning the project and later cd to the project directory and tried npm i i got the following error:
I am using,
node -v : v8.15.0npm -v : 6.4.1OS : opensuse Leap 15.0
Error logs:
> fabcar-cc@0.1.0 build /home/abc/Documents/projects/convector-example-fabcar-rest/packages/fabcar-cc
> npm run clean && tsc
> fabcar-cc@0.1.0 clean /home/abc/Documents/projects/convector-example-fabcar-rest/packages/fabcar-cc
> rimraf dist client
../../../../../node_modules/@types/pouchdb-core/index.d.ts:93:19 - error TS2304: Cannot find name 'Request'.
93 url: string | Request,
~~~~~~~
../../../../../node_modules/@types/pouchdb-core/index.d.ts:94:12 - error TS2304: Cannot find name 'RequestInit'.
94 opts?: RequestInit
~~~~~~~~~~~
../../../../../node_modules/@types/pouchdb-core/index.d.ts:95:14 - error TS2304: Cannot find name 'Response'.
95 ) => Promise<Response>;
~~~~~~~~
Found 3 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! fabcar-cc@0.1.0 build: `npm run clean && tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the fabcar-cc@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/abc/.npm/_logs/2020-04-01T10_23_04_644Z-debug.log
lerna info lifecycle fabcar-cc@0.1.0~prepare: Failed to exec prepare script
lerna ERR! lifecycle "prepare" errored in "fabcar-cc", exiting 2
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! fabcar@0.1.0 lerna:install: `lerna bootstrap`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the fabcar@0.1.0 lerna:install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/abc/.npm/_logs/2020-04-01T10_23_04_657Z-debug.log
ERROR: "lerna:install" exited with 2.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fabcar@0.1.0 install: `npm-run-all -s lerna:install`
npm ERR! Exit status 1
Is this the problem with Lerna, or am I missing any dependency for your project?
Hi, I tried cloning the project and later cd to the project directory and tried
npm i
i got the following error:I am using, node -v : v8.15.0 npm -v : 6.4.1 OS : opensuse Leap 15.0
Error logs:
Is this the problem with Lerna, or am I missing any dependency for your project?