Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Babel 7 compatibility ? #27

Open
EmmanuelCervettiIESSUD opened this issue Jun 3, 2019 · 1 comment
Open

Babel 7 compatibility ? #27

EmmanuelCervettiIESSUD opened this issue Jun 3, 2019 · 1 comment

Comments

@EmmanuelCervettiIESSUD
Copy link

EmmanuelCervettiIESSUD commented Jun 3, 2019

Hello, I have babel 7 runtime (@babel/runtime) but react-boostrap-dialog seems to need babel < 7 runtime (babel-runtime)
Here is the compilation error :

`
These dependencies were not found:

  • babel-runtime/core-js/object/assign in ./node_modules/react-bootstrap-dialog/dist/index.js
  • babel-runtime/core-js/object/get-prototype-of in ./node_modules/react-bootstrap-dialog/dist/PromptInput.js, ./node_modules/react-bootstrap-dialog/dist/Prompts.js and 1 other
  • babel-runtime/helpers/classCallCheck in ./node_modules/react-bootstrap-dialog/dist/PromptInput.js, ./node_modules/react-bootstrap-dialog/dist/Prompts.js and 1 other
  • babel-runtime/helpers/createClass in ./node_modules/react-bootstrap-dialog/dist/PromptInput.js, ./node_modules/react-bootstrap-dialog/dist/index.js
  • babel-runtime/helpers/extends in ./node_modules/react-bootstrap-dialog/dist/index.js
  • babel-runtime/helpers/inherits in ./node_modules/react-bootstrap-dialog/dist/index.js, ./node_modules/react-bootstrap-dialog/dist/PromptInput.js and 1 other
  • babel-runtime/helpers/possibleConstructorReturn in ./node_modules/react-bootstrap-dialog/dist/index.js, ./node_modules/react-bootstrap-dialog/dist/PromptInput.js and 1 other
    `

Here is the babel part of my package.json
"@babel/cli": "^7.4.4", "@babel/core": "^7.4.5", "@babel/plugin-proposal-object-rest-spread": "^7.4.4", "@babel/preset-env": "^7.4.5", "@babel/preset-react": "^7.0.0", "@babel/runtime": "^7.4.5",

@akiroom
Copy link
Owner

akiroom commented Jul 14, 2019

Hi! I updated the whole dependencies since v0.12.0. Please try a new one.

At this time, the latest version is v0.13.0
https://github.com/akiroom/react-bootstrap-dialog/releases/tag/v0.13.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants