question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

build breaks with 5.0.0-beta.2

See original GitHub issue

Issue description

  • reactstrap version #5.0.0-beta.2
  • import method es
  • react version #16.2.0
  • bootstrap version #4.0.0

What is happening?

when building with gulp + browserify this happens:

/Users/matteo/dev/my-project/node_modules/react-popper/lib/react-popper.js:1
export { default as Manager } from './Manager';
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
  • If I install 5.0.0-beta everything is fine
  • If I install 5.0.0-beta.2 the build breaks
  • If I manually install react-popper 0.8.2 and delete 0.8.1 everything is fine again

the strange thing is that react-popper was updated from 0.8.1 to 0.8.2 to “fix: build” (see https://github.com/souporserious/react-popper/commit/0d97929b038b1bba69f920772505f8d6af158f3f), while reactstrap’s commit b515e6b says “chore(build): downgrade react-popper to fix build”

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
mpolinowskicommented, Feb 28, 2018

Similar issue with a Gatsby SSR starter using reactstrap - updating to 0.8.2 solved it.

2reactions
TheSharpieOnecommented, Feb 27, 2018

The fix build was supposed to downgrade the version in the yarn lock, I didn’t notice it was bumped in the package.json… Yay two package systems! …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Software - Green-GO Intercom System Documentation
F#994 Tables in the rooms setup assistant are broken. ... 5.0.0 Beta Release Candidate 2 [Build 4221 - 4220]¶. 2021-12-21 · macOS |...
Read more >
Unity 2022.2.0b5
Unity 2022.2.0 Beta 5. Released: ... Universal Windows Platform Build Support ... Android: Added preliminary support for Magic Leap 2.
Read more >
2.0.0-beta.2 Changelog - Clarity Design System
This build introduces breaking change. Please read below. Breaking Changes. 4 Changes. Bugs. 5 Bug Fixes. New Components. 1 Component.
Read more >
Release Notes for Zabbix 5.0.0beta2
Zabbix Team is pleased to announce the availability of Zabbix 5.0.0beta2. ... in details and provide late-breaking or other information that supplements its ......
Read more >
Changelog of ngx-extended-pdf-viewer - PdfShowcase
1.5.2 #142 now the PDF viewer can be used in a form ... 5.0.0-beta.1 #478 fixed the CSS code for printing (broken by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found