React Bootstrap error: 'AccordionCollapseProps' is not exported from './AccordionCollapse'

neutrino

I added Bootstrap and routing to a frontend, deleted my node_modules, and re-installed them with yarn install. When I try to npm run build, I get:

Creating an optimized production build...
Failed to compile.

./node_modules/react-bootstrap/esm/index.js
Attempted import error: 'AccordionCollapseProps' is not exported from './AccordionCollapse'.

I'd like to fix this error. I can post more extensive code if helpful.

zxvaf

There is an open issue in their github repo: https://github.com/react-bootstrap/react-bootstrap/issues/5267

One reported fix is to roll back to version 1.0.1.

npm install [email protected] --save

That worked for me.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

'ControlLabel' is not exported from 'react-bootstrap'

From Dev

Attempted import error: 'getMoviesList' is not exported from './actions'; error in react redux

From Dev

Angular2 "no exported member bootstrap" error

From Dev

React Native importing function from exported class

From Dev

Why is the default exported component is giving no-undef error in React JS?

From Dev

Alert on error react bootstrap

From Java

ImportError: 'useNavigate' is not exported from 'react-router-dom'

From Dev

How to organise exported components from own React library

From Dev

Exported excel file from datagridview shows error when opened VB

From Dev

Getting error importing into phpMyAdmin a database exported from phpMyAdmin

From Dev

Attempted import error: 'default' is not exported from '../assertThisInitialized/_index.mjs'

From Dev

Attempted import error: 'default' is not exported from '../assertThisInitialized/_index.mjs'

From Dev

ARKit - Error loading DAE file exported from Maya

From Dev

Error in using react-bootstrap

From Dev

Is an embedded error exported?

From Dev

UIImages exported as movie error

From Dev

UIImages exported as movie error

From Dev

typescript definition for react-router v2.0 - error `has no exported member 'browserHistory'`

From Dev

Error LNK2028 when calling exported C function from C++ wrapper

From Java

Upgrade to Firebase JS 8.0.0: Attempted import error: 'app' is not exported from 'firebase/app' (imported as 'firebase')

From Dev

Canvas that created from video raising "Tainted canvases may not be exported." error when saving

From Dev

dlopen Segmentation fault error when get a instance from shared library's exported function

From Dev

delete columns from an exported table

From Dev

shell variable not exported from subshell?

From Dev

Calling a method from an exported activity

From Dev

How to integrate bootstrap from NPM in React application?

From Dev

Getting error if bootstrap is run from server but no error if run from file

From Dev

Getting error if bootstrap is run from server but no error if run from file

From Dev

Handle error from URI in Bootstrap table

Related Related

  1. 1

    'ControlLabel' is not exported from 'react-bootstrap'

  2. 2

    Attempted import error: 'getMoviesList' is not exported from './actions'; error in react redux

  3. 3

    Angular2 "no exported member bootstrap" error

  4. 4

    React Native importing function from exported class

  5. 5

    Why is the default exported component is giving no-undef error in React JS?

  6. 6

    Alert on error react bootstrap

  7. 7

    ImportError: 'useNavigate' is not exported from 'react-router-dom'

  8. 8

    How to organise exported components from own React library

  9. 9

    Exported excel file from datagridview shows error when opened VB

  10. 10

    Getting error importing into phpMyAdmin a database exported from phpMyAdmin

  11. 11

    Attempted import error: 'default' is not exported from '../assertThisInitialized/_index.mjs'

  12. 12

    Attempted import error: 'default' is not exported from '../assertThisInitialized/_index.mjs'

  13. 13

    ARKit - Error loading DAE file exported from Maya

  14. 14

    Error in using react-bootstrap

  15. 15

    Is an embedded error exported?

  16. 16

    UIImages exported as movie error

  17. 17

    UIImages exported as movie error

  18. 18

    typescript definition for react-router v2.0 - error `has no exported member 'browserHistory'`

  19. 19

    Error LNK2028 when calling exported C function from C++ wrapper

  20. 20

    Upgrade to Firebase JS 8.0.0: Attempted import error: 'app' is not exported from 'firebase/app' (imported as 'firebase')

  21. 21

    Canvas that created from video raising "Tainted canvases may not be exported." error when saving

  22. 22

    dlopen Segmentation fault error when get a instance from shared library's exported function

  23. 23

    delete columns from an exported table

  24. 24

    shell variable not exported from subshell?

  25. 25

    Calling a method from an exported activity

  26. 26

    How to integrate bootstrap from NPM in React application?

  27. 27

    Getting error if bootstrap is run from server but no error if run from file

  28. 28

    Getting error if bootstrap is run from server but no error if run from file

  29. 29

    Handle error from URI in Bootstrap table

HotTag

Archive