mdoery ~ software development

adventures in coding

React Bootstrap renames ControlLabel to FormLabel

| Comments

Summary: Serverless Stack tutorial breaks because React Boostrap package renamed ControlLabel to FormLabel

Here’s another tip on the Serverless Stack tutorial. Their “create a login” page has some boilerplate to create a login page. When you copy it to your containers directory, you get this error in your browser at localhost:3000:

127:14-26 'react-bootstrap' does not contain an export named 'ControlLabel'.

Looks like this happened about Nov 2018. Just change every reference of ControlLabel to FormLabel and you’re good to go.