Skip to content

Error: Cannot find module './ILI9341-element' or its corresponding type declarations #108

@Sharvin26

Description

@Sharvin26

Hello I am trying to run wokwi elements in my local machine and I get the following error:

> rimraf dist && tsc --sourceMap false && tsc -m esnext --outDir dist/esm --sourceMap false && rollup -c rollup.config.js && terser -c -m -o dist/wokwi-elements.bundle.min.js dist/wokwi-elements.bundle.js

src/react-types.ts:45:32 - error TS2307: Cannot find module './ILI9341-element' or its corresponding type declarations.

45 import { ILI9341Element } from './ILI9341-element';

Steps to reproduce:

  1. Cloned the repo using: git clone [email protected]:wokwi/wokwi-elements.git
  2. Installed the dependencies using npm i

Here I get the error mentioned above.

System Configuration:

  • OS: Linux Mint 20.2 Cinnamon
  • Cinnamon version: 5.0.4
  • NodeJS version: 14.7.6
  • Npm version: 6.14.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions