HTML-GL
HTML-GL copied to clipboard
Ionic 3 Error: "Cannot find module html-gl"
I have installed html-gl via npm but whenever I try to use it in my typescript files I get the following error: Cannot find module html-gl
I imported the module as follows: import * as HTML_GL from 'html-gl';
Am I doing something wrong? If I check my node_modules folder the html-gl folder is in there.
The package.json references "main": "index.js",, which doesn't exist.
It doesn't seem this package was ever meant to work with module build tools, considering no files have any kind of export.
Exactly, version 2 uses TypeScript + Webpack and you may find it in the corresponding branch. Not ready to be released yet.
2018-03-20 3:03 GMT+01:00 Thomas Mullen [email protected]:
The package.json references "main": "index.js",, which doesn't exist.
It doesn't seem this package was ever meant to work with build tools, considering no files have any kind of export.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PixelsCommander/HTML-GL/issues/86#issuecomment-374447136, or mute the thread https://github.com/notifications/unsubscribe-auth/AAxer-48VAS49_gFn7KsnWSnMWpj12oTks5tgGNngaJpZM4Q2R6K .