Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

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

@fvirdia

Description

@fvirdia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions