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.

Babel module imports stopped working after upgrade from 5.0.4 to 5.0.5

See original GitHub issue

Hi,

for some reason this code:

import Influx from 'influx';

stopped working after upgrading from 5.0.4 to 5.0.5 (or 5.0.6) I’m using babel and I’m not sure that this is not configuration issue. I’ve setup test repo where you can make fast test. https://github.com/josser/influx_update_issue

Try to change version in package.json to 5.0.5 or 5.0.6 and run:

node start.js

Thank you and sorry for my bad english.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
jowaycommented, Jun 16, 2017

when i used const Influx = require('influx') it works .

1reaction
mythfishcommented, Jun 15, 2017

same issue, any update?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug report - GitHub
To what I know this is an error when @babel/runtime is importing its internal module (both inside helpers/esm folder), es module resolution of ......
Read more >
Babel no longer accepting JSX after upgrading from webpack ...
It was working perfectly fine before I decided to switch over to webpack 5.0. How can I get webpack 5.0 to work with...
Read more >
babel/preset-env
babel /preset-env` is a smart preset that allows you to use the latest JavaScript without needing to micromanage which syntax transforms (and optionally, ......
Read more >
Babel issue running npm run dev after upgrade to Mix
js /home/sln/code/cloud/node_modules/webpack-cli/bin/cli.js:93 throw err; ^ Error: Cannot find module 'babel-plugin-transform-object- ...
Read more >
Framework7 v7 issues (upgrade and blank project)
node_modules/vue/dist/vue.runtime.esm.js” for import “h” … ... 49 silly audit '@babel/helper-module-imports': [ '7.18.6' ], 49 silly audit ...
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