Ian Alexander
05/18/2021, 10:22 PMCannot find module 'shared' or its corresponding type declarations.
The module is imported to the web project with "shared": "file:../build/js/packages/shared"
and into the javascript file with import { Platform } from 'shared';
Any idea where I may be going wrong?rnett
05/18/2021, 11:25 PM./build/js/packages/shared/kotlin
instead, as per https://kotlinlang.org/docs/js-ir-compiler.html#preview-generation-of-typescript-declaration-files-d-ts. It seems right to me other than that though.Ian Alexander
05/19/2021, 7:57 AMIan Alexander
05/19/2021, 8:04 AMnpm install
and now the modules picked up (still haven't quite got the import of Platform
, but at least a different error message!)