Codesandbox-client: Cannot find path: @babel/runtime-corejs2/helpers/interopRequireWildcard

Created on 2 Oct 2018  路  12Comments  路  Source: codesandbox/codesandbox-client

馃悰 bug report

Today react-bootstrap sandbox lost parts of babel-functionality. It seems that at the same time there was updates to newer babel-version.

I am building a simple application on top of react & bootstrap. Importing certain components from "react-bootstrap" causes error message:
Cannot find path: @babel/runtime-corejs2/helpers/interopRequireWildcard

Link to sandbox: https://codesandbox.io/s/23o3q3p

Your Environment

| Software | Name/Version|
| ---------------- | ---------- |
| 小odesandbox |
| Google Chrome Version 69.0.3497.100 |
| Windows 10 |

All 12 comments

This is related to #1142, as well.

I woke this morning to one of my sandboxes displaying "Cannot find path: @babel/runtime/helpers/builtin/classCallCheck" or something similar.

https://codesandbox.io/s/m9v813r23x

And upon going to another sandbox, I get issues with "Support for the experimental syntax 'decorators-legacy' isn't currently enabled (6:3)"

https://codesandbox.io/s/v666o17963

Neither of these issues existed yesterday.

Pushed a fix

Should be out within 10min!

Build crashed with out of memory, ETA 10 min!

Build crashed with out of memory, ETA 10 min!

I know the feeling.

You da bes, @CompuIves . :+1:

The initial issue is fixed. Should be out in another 10 min.

Support for the experimental syntax 'decorators-legacy' isn't currently enabled (6:3)

This one is a bit more tricky because CRA v2 doesn't support decorators I believe. The easiest fix would be to downgrade react-scripts to 1.0.3 for the time being. Maybe I'm wrong though, would love to know!

Confirmed, react-scripts 1.1.5 fixes decorators. :+1:

All seems to be fine now, as far as I see. Many thanks for your haste, good sir!

Works again! Many thanks on my behalf too :-)

Closing as the initial issue is fixed, we can open another one for the decorators issue if that one is supported by CRA v2.

Oops

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CompuIves picture CompuIves  路  3Comments

BingoRUS picture BingoRUS  路  3Comments

k15a picture k15a  路  3Comments

yazaabed picture yazaabed  路  3Comments

faceyspacey picture faceyspacey  路  3Comments