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
{{ message }}
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
I met a problem when I install and use deck.gl I traced the error and found it's a problem of viewport-mercator-project's dependency.
The error shows as below:
Module not found:
Can't resolve '@babel/runtime/helpers/esm/assertThisInitialized' in
'/site/node_modules/[email protected]@viewport-mercator-project/dist/esm'
The package's version is 5.3.0.
Install deck.gl in your project with npm install deck.gl(first time, or use @latest tag when install the package) and run any code that includes deck.gl can reproduce the problem, here is my code:
It seems @babel/runtime renamed es6 to esm and caused the can't find module problem. See more at babel/babel#8266 (comment) .
Because of the repo I developed itself can't modify its' babel version casually (@babel/runtime before v7.0.0-beta56), currently I can only copy the folder in @babel/runtime/helpers/es6 to @babel/runtime/helpers/esm and solve the problem temporarily.
@TrySound I specified the version to v7.0.0-beta46 and I thought I found the reason of it. More details can be found in the discussion visgl/luma.gl#805 (comment) .
And I think the issue can be closed, since that's not an internal problem of viewport-mercator-project or other deck.gl related dependencies.
I met a problem when I install and use deck.gl I traced the error and found it's a problem of viewport-mercator-project's dependency.
The error shows as below:
The package's version is 5.3.0.
Install deck.gl in your project with npm install deck.gl(first time, or use @latest tag when install the package) and run any code that includes deck.gl can reproduce the problem, here is my code:
There is a similar problem in
luma.gl
visgl/luma.gl#805 , and I don't know if there is any other dependency of deck.gl exists the same problem.I thought downgrade the version of related dependencies should work.
Related issues or problems
The text was updated successfully, but these errors were encountered: