Skip to content

Unable to complete TypeScript #504

Open
@HoustonAsh

Description

@HoustonAsh

I have installed ardiuno-iot-js and now i can't build the project:

[ERROR] 14:35:39 ⨯ Unable to compile TypeScript:
src/routes/events/create.ts(1,33): error TS7016: Could not find a declaration file for module 'arduino-iot-js'. '/home/devaxe/Documents/Dugar/bundles/mergen-sawdag-back/app/node_modules/arduino-iot-js/lib/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/arduino-iot-js` if it exists or add a new declaration (.d.ts) file containing `declare module 'arduino-iot-js';`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions