-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Docs: local docs site is broken with React 15.6.2 #2153
Comments
Use |
Hmm, yes, maybe I should finally try using |
@ayastreb let us know if that worked for you. Performance is better with |
@brianespinosa yes, it works with |
|
Steps
rm -rf ./node_modules/ && node install
)npm start
as per contributing.mdhttp://localhost:8080/
in a browserExpected Result
Actual Result
Uncaught ReferenceError: React is not defined
and HTTP 404 http://cdnjs.cloudflare.com/ajax/libs/react/15.6.2/react.min.jsLooks like it happens because I have React 15.6.2 installed and cloudflare CDN doesn't have this version for some reason.
A workaround could be to lock React to 15.6.1 in
package.json
, e.g."react": "15.6.1"
instead of"react": "^15.6.1"
Any other ideas? 🤔
The text was updated successfully, but these errors were encountered: