Closed canonic-epicure closed 3 years ago
Quick debugging showed that baseUrl
in the code is URL
instance, whereas expected is string. Should be something simple
Also, I'm using Node 12 if that matters (had to change the top-level await to .then()
)
I am checking
Thanks for the clear steps to reproduce, there is indeed an error thrown when projectDirectoryUrl
is an url.
I have fixed that in #33.
When generating importmap for your project I get the following logs.
For the first warning it seems I have to install a peer dependency.
If you want to get rid of the second warning you can add "main": ""
in examples/browser/package.json. It indicates explicitely there is not entry file for this package and this repository won't try to find one.
Thanks for the quick resolution! I'll give it a try again.
This modules does not work out of the box for me:
Steps to reproduce: 1) Clone the https://github.com/bryntum/siesta, revision: 730449a 2)
npm i
,npx tsc
in it 3)cd examples/browser
,npm i
4)node generate-import-map.js
Might be because of symlink in the
node_modules
(local installation)Am I missing something?