iansinnott / iansinnott/react-static-boilerplate

Webpack problem with React-Bootstrap

Open
#23 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
103
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Hello,
I have been trying to add React-Bootstrap but when trying to import components I get this error below, and could not find a solution. Any idea on how to fix it?
Thank you

ThemeProvider.js:3 Uncaught TypeError: __WEBPACK_IMPORTED_MODULE_1_react___default.a.createContext is not a function
at Object. (ThemeProvider.js:3)
at __webpack_require__ (bootstrap 9cf716ebd281a04f8f96:659)
at fn (bootstrap 9cf716ebd281a04f8f96:85)
at Object. (Button.js:1)
at __webpack_require__ (bootstrap 9cf716ebd281a04f8f96:659)
at fn (bootstrap 9cf716ebd281a04f8f96:85)
at Object. (index.js:4)
at Object. (App.js:135)
at __webpack_require__ (bootstrap 9cf716ebd281a04f8f96:659)
at fn (bootstrap 9cf716ebd281a04f8f96:85)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.