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
../../node_modules/@types/chai/index.d.ts(121,9): error TS8020: JSDoc types can only be used inside documentation comments.
../../node_modules/@types/chai/index.d.ts(122,9): error TS8020: JSDoc types can only be used inside documentation comments.
../../node_modules/@types/chai/index.d.ts(126,16): error TS2370: A rest parameter must be of an array type.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! car-cc@0.1.0 build: npm run clean && npm run client:generate && tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the car-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/osboxes/.npm/_logs/2019-08-30T23_23_50_972Z-debug.log
The text was updated successfully, but these errors were encountered:
Hey @jackyjqcheung, the issue is because both @types/chai and @types/mocha made a breaking change in one of their releases. Removing the ^ in the dependencies and leaving the same version as it is marked in the package.json will fix the issue.
Hi, I git clone this example and run "npm install" and it fails and asks for "chai" so I install the chai as follows
npm install --save-dev @types/chai
then I run "npm install " again, but it still fails. Here is the error log:
lerna info Symlinking packages and binaries
lerna info lifecycle car-cc@0.1.0~prepare: car-cc@0.1.0
../../node_modules/@types/chai/index.d.ts(121,9): error TS8020: JSDoc types can only be used inside documentation comments.
../../node_modules/@types/chai/index.d.ts(122,9): error TS8020: JSDoc types can only be used inside documentation comments.
../../node_modules/@types/chai/index.d.ts(126,16): error TS2370: A rest parameter must be of an array type.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! car-cc@0.1.0 build:
npm run clean && npm run client:generate && tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the car-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/osboxes/.npm/_logs/2019-08-30T23_23_50_972Z-debug.log
The text was updated successfully, but these errors were encountered: