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
With [email protected] it fails to compile: ./src/index.js
Module build failed: Error: unknown Statement of type "ForOfStatement"
at Array.forEach (native)
Reproducible Demo
The text was updated successfully, but these errors were encountered:
Yep. I have a PR out to fix it too. #4630 Just rebased it to resolve conflicts. I imagine it's the kind of thing that will be addressed once CI is unbroken.
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
generator
Environment
node -v
: v8.1.3npm -v
: 5.8.0yarn --version
(if you use Yarn): 1.6.0npm ls react-scripts
(if you haven’t ejected): [email protected]Then, specify:
Steps to Reproduce
function* test() { for (let num of [1,2,3]) { yield console.log("test"); } }
to index.js
Expected Behavior
In [email protected] this shows a running page.
Actual Behavior
With [email protected] it fails to compile: ./src/index.js
Module build failed: Error: unknown Statement of type "ForOfStatement"
at Array.forEach (native)
Reproducible Demo
The text was updated successfully, but these errors were encountered: