Codesandbox-client: Invalid left-hand side expression in prefix operation

Created on 26 Jun 2020  路  3Comments  路  Source: codesandbox/codesandbox-client

馃悰 bug report

Description of the problem

Getting an error: "Invalid left-hand side expression in prefix operation" when running in codesandbox.io. However, if you download as a zip and run locally, it works (no error).

How has this issue affected you? What are you trying to accomplish?

Trying to import the h3-js npm library.

Link to sandbox: link

Your Environment

| Software | Name/Version |
| ---------------- | ------------ |
| 小odesandbox |
| Browser | Chrome
| Operating System | OSX
| Local node version | 10.16
| Local npm version | 6.9

馃悰 Bug

All 3 comments

Hey! Thanks for reporting this, I found the fix and will commit it any moment!

@CompuIves I just got the same error when importing the latest d3 version: https://codesandbox.io/s/sparkling-glitter-lgz8n?file=/src/App.js`.

It seems to already be the case when you import from d3-zoom.

Is this a new error or was there potentially a regression?

Interesting, definitely seems like a new one. Going to do some testing on this today...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oliversturm picture oliversturm  路  3Comments

wojciechczerniak picture wojciechczerniak  路  3Comments

eckmLJE picture eckmLJE  路  3Comments

waruyama picture waruyama  路  3Comments

CompuIves picture CompuIves  路  3Comments