Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Compile error using react-scripts@1.0.2 #1700

Closed
msaron opened this issue May 23, 2017 · 1 comment
Closed

Failed to Compile error using react-scripts@1.0.2 #1700

msaron opened this issue May 23, 2017 · 1 comment

Comments

@msaron
Copy link

msaron commented May 23, 2017

Steps

Created a new app using create-react-app
react-scripts@1.0.2
react@15.5.4
react-dom@15.5.4
semantic-ui-react@0.68.3
semantic-ui-css@2.2.10

Expected Result

No Errors

Actual Result

Failed to Compile
./~/semantic-ui-react/src/modules/Sidebar/Sidebar.js
Module parse failed: E:\apps-node\goems-sem\node_modules\semantic-ui-react\src\modules\Sidebar\Sidebar.js Unexpected token (20:19)
You may need an appropriate loader to handle this file type.
|  */
| class Sidebar extends Component {
|   static propTypes = {
|     /** An element type to render as (string or function). */
|     as: customPropTypes.as,
This error occurred during the build time and cannot be dismissed.

Version

0.68.3

Testcase

@msaron msaron changed the title Failed to Compile using React 15.5 Failed to Compile using react-scripts@1.0.2 May 23, 2017
@msaron msaron changed the title Failed to Compile using react-scripts@1.0.2 Failed to Compile error using react-scripts@1.0.2 May 23, 2017
@msaron
Copy link
Author

msaron commented May 23, 2017

NVM. WebStorm injected arbitrary code into the project that caused the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant