Rollup Build error on v3.3.5
See original GitHub issueVersion
3.3.5
Steps to reproduce
import Typeahead in a react component and run rollup -c
Expected Behavior
It should build without an error
Actual Behavior
Build fails with error below
[!] Error: 'Typeahead' is not exported by node_modules\react-bootstrap-typeahead\lib\index.js
https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module
src\lib\input\TypeaheadInput.js (2:8)
1: import React from 'react';
2: import {Typeahead} from 'react-bootstrap-typeahead';
^
3: import 'react-bootstrap-typeahead/css/Typeahead.min.css';
4: import 'react-bootstrap-typeahead/css/Typeahead-bs4.min.css';
error Command failed with exit code 1.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
rollup - npm
There are 5343 other projects in the npm registry using rollup. ... compile to a CommonJS module rollup main.js --format cjs --file bundle....
Read more >Rollup failed to resolve import "jss-plugin-{}" - Stack Overflow
It runs fine on local, but when I use yarn build, I get the following error: [vite]: Rollup failed to resolve import "jss-plugin-{}"...
Read more >rollup failed to resolve import "react-dom/client" - You.com
Asked Dec 3, 2022 • 0 votes 1 answer. QUESTION ANSWERS ... Which are like compile errors. ... slidevjs/slidevBuild fail: Rollup failed to...
Read more >rollup-plugin-typescript2 | Yarn - Package Manager
rollup -plugin-typescript2. owner ezolenko3.5mMIT0.34.1TS vulns 0 vulnerabilities. Seamless integration between Rollup and TypeScript. Now with errors.
Read more >rollup.js
compile to a CommonJS module ('cjs') rollup main.js --file bundle.js ... Exit the build with an error if any warnings occurred, once the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ericgio I tried that and it results in
Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
. No idea if I did that correctly thoughI think the issue introduced after 3.2.4. If I rollback to that, rollup works fine.