Skip to content

Cannot import this module with a dependency resolver #6

@Kieran-Lynn

Description

@Kieran-Lynn

Im trying to use your library in a project of my own and want to be able to build my app using Rollup. But whenever I go to run my script I get

"Error: Cannot find module '/home/pi/node-led-display/dist/build/Release/node-rpi-rgb-led-matrix.node'"

I believe the issue is line 12 in your index.js file. It looks like you're trying to import the old node rpi led matrix (https://www.npmjs.com/package/node-rpi-rgb-led-matrix) but doing it in a weird way. Why wasnt it just listed as a dependency in your package.json? I believe this would fix my issue and my dependency resolver would be able to find the original node-rip-rgb-led-matrix package.

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