Comments (7)
I don't think you can set a static property on a ES6 class like this: https://github.com/koistya/react-static-boilerplate/blob/master/components/Link/Link.js#L21
It should be:
class Link extends Component {
// ...
}
Link.propTypes = {
to: PropTypes.string.isRequired,
children: PropTypes.element.isRequired,
state: PropTypes.object,
onClick: PropTypes.func,
};
Easy fix, but this component should just be replaced by rackt/react-router
imho.
Update: I was wrong. I didn't realize this project was using ES6+ instead of ES6.
from react-firebase-starter.
- What version of node are you using?
- Have you tried deleting
node_modules/
and re-installing dependencies? - Did you mess with webpack config?
from react-firebase-starter.
I'm experiencing the exact same errors as @elliotatRetireup so I will spare you the stacktrace. I have already tried deleting node_modules
, I have not edited tools/webpack.config.js
and I am running node v5.4.1.
from react-firebase-starter.
I could never get this one to work, so I ended up using the setup on this page:
https://github.com/gaearon/react-transform-boilerplate
from react-firebase-starter.
I got an identical problem which was caused by copying "all" files from a checked out version of RSB - not realising the hidden files (.xxx) was missing.
Once corrected the problem disappeared
from react-firebase-starter.
Feel free to reopen if this issue still exists in the latest version or RSB.
from react-firebase-starter.
Hi there, I have the same problem. I cloned RSB yesterday (master)
I get the warning on all (even the included) components.
Missing class properties transform.
class ServiceOutput extends React.Component {
static propTypes = {
^
url: PropTypes.string,
};
OS: Windows 10
Node: 6.4
from react-firebase-starter.
Related Issues (20)
- An in-range update of @firebase/auth is breaking the build 🚨 HOT 2
- An in-range update of dotenv is breaking the build 🚨 HOT 1
- An in-range update of moment-timezone is breaking the build 🚨 HOT 1
- An in-range update of react is breaking the build 🚨 HOT 1
- An in-range update of eslint-config-prettier is breaking the build 🚨 HOT 1
- An in-range update of firebase-admin is breaking the build 🚨 HOT 1
- Migrate from JSS styles to Emotion
- Admin Access HOT 2
- error [email protected]: The engine "node" is incompatible with this module. Expected version "10". Got "12.13.0" HOT 2
- Subscriptions example
- Can't get CustomerChat working
- Cannot read property 'tap' of undefined with Typescript added
- [Feature Request] Scalars
- How to run react-firebase-starter in different GCP region
- [Question] What's the usual cost for maintaining this setup on gcloud+firebase? HOT 1
- How to pagination users or stories? HOT 1
- If I need a pure front-end frame, how can I refit it(react-firebase-starter) ?
- Issues with postgres connectivity running in dev mode HOT 1
- http://localhost:3000/login?error=connect%20ECONNREFUSED%20127.0.0.1%3A5432 HOT 1
- Is this repo still maintained ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-firebase-starter.