-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
JSXtransformer error for lowercase classes does not provide linenumber property. #2592
Comments
lolchocotaco
changed the title
JSXTransormer error does not provide linenumber.
JSXtransformer error for lowercase classes does not provide linenumber property.
Nov 24, 2014
What environment/browser are you in? |
I am running Yosemite and in Chrome. Also using the jsxtransformer and On Tuesday, November 25, 2014, Paul O’Shannessy [email protected]
Sameer Chauhan |
This was referenced Jan 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When attempting to use a react class with a lowercase ClassName, the transformer is not able to display line on which the error occurred. It turns out that the event variable passed to the to function
createSourceCodeErrorMessage(code, e)
does not contain an attribute called lineNumber.An error is thrown that states:
Uncaught TypeError: Cannot read property 'replace' of undefined
The actual error has only the properties
stack
andmessage
.Error: Lower case component names (myClass) are no longer supported in JSX: See http://fb.me/react-jsx-lower-cas at http://localhost:8080/app.js:undefined:undefined
The text was updated successfully, but these errors were encountered: