esm.sh icon indicating copy to clipboard operation
esm.sh copied to clipboard

Failed to import - `@vitejs/plugin-vue`

Open renhiyama opened this issue 1 year ago • 0 comments

Failing module

  • GitHub: https://github.com/my/repo
  • npm: https://npmjs.com/package/my_package
let package = await URLImport("https://esm.sh/@vitejs/plugin-vue");

Error message

After running the code in reejs repl I got this:

Uncaught:
SyntaxError: The requested module './31fab7.js' does not provide an export named 'build'

Where the file name corresponds to https://esm.sh/v125/[email protected]/node/esbuild.mjs

Additional info

  • esm.sh version: v125
  • **Paste the reejs doctor report:

[reejs] Doctor
[RUNTIME] node
[VERSION] 0.9.21
[NODE_VER] 19.9.0
[REEJS_CACHE] 5 files
[REEJS_DIR] /data/data/com.termux/files/home/.reejs
[REEJS_DIR_EXISTS] true
[PWD] /data/data/com.termux/files/home

renhiyama avatar Jun 12 '23 13:06 renhiyama