You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project created via the CRA template doesn't work with try to use hygen to generate new componets:
$ yarn hygen view new
yarn run v1.22.19
$ hygen view new
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/edumac/dev/workspaces/my-app/node_modules/d3-array/src/index.js from /Users/edumac/dev/workspaces/my-app/node_modules/@deck.gl/carto/dist/es5/api/layer-map.js not supported.
Instead change the require of index.js in /Users/edumac/dev/workspaces/my-app/node_modules/@deck.gl/carto/dist/es5/api/layer-map.js to a dynamic import() which is available in all CommonJS modules.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Command used to generate the project: yarn create react-app my-app --template @carto/base-3
Version of C4R: 1.4.6
The text was updated successfully, but these errors were encountered:
The project created via the CRA template doesn't work with try to use
hygen
to generate new componets:Command used to generate the project:
yarn create react-app my-app --template @carto/base-3
Version of C4R:
1.4.6
The text was updated successfully, but these errors were encountered: