reMarkable-typescript icon indicating copy to clipboard operation
reMarkable-typescript copied to clipboard

"Object is possibly 'undefined'." during npm install

Open fvirdia opened this issue 5 years ago • 0 comments

On a freshly cloned repo, running npm install results in the error below. Adding "strictNullChecks": false, to tsconfig.json seems to solve the issue.

> [email protected] prepare /media/fernando/shared/reMarkable-typescript
> npx tsc

node_modules/getmac/source/index.ts:26:23 - error TS2532: Object is possibly 'undefined'.

26              for (const part of parts) {
                                   ~~~~~
Found 1 error.

fvirdia avatar Apr 18 '20 15:04 fvirdia