Open
Description
With version 2.2.0
of this addon I'm getting following error: require() of ES Module ... not supported. Instead change the require of index.js in null to a dynamic import() which is available in all CommonJS modules
when using ember-cli-addon-docs
. When I downgrade to 2.1.0
this problem goes away.
Reproduction
- Checkout this branch of this repo
- Setup:
cd ember-leaflet
pnpm install
- Run the ember-cli-addon-docs app:
cd docs
pnpm start
- See error:
> ember serve
require() of ES Module /Users/michal/ember/ember-leaflet/node_modules/.pnpm/@[email protected]/node_modules/@handlebars/parser/dist/cjs/index.js not supported.
Instead change the require of index.js in null to a dynamic import() which is available in all CommonJS modules.
Stack Trace and Error Report: /var/folders/8q/yrjx_8s115q43r8w5qd90_m00000gn/T/error.dump.3c029355a72e79b98031412cab726c5d.log
ELIFECYCLE Command failed with exit code 1.
Metadata
Metadata
Assignees
Labels
No labels