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 issue when upgrading to 59.4

See original GitHub issue

Issue type

I’m submitting a … (check one with “x”)

  • [x ] bug report
  • feature request

Issue description

Current behavior: babel issue when upgrading to 59.4 returns an error as soon as the app runs

Expected behavior: app works normally without errors Steps to reproduce:

Related code:

error i get http://prntscr.com/ncq9l5

`The development server returned response error code: 500

URL: http://10.0.2.2:8081/index.delta?platform=android&dev=true&minify=false

Body: {“type”:“TransformError”,“lineNumber”:1,“column”:9,“filename”:“node_modules\react-native-ui-kitten\src\components\calendar\layout\index.js”,“errors”:[{“description”:“SyntaxError: d:\Kensoftware Work\Apps\Lyv2\node_modules\react-native-ui-kitten\src\components\calendar\layout\index.js: Support for the experimental syntax ‘exportNamespaceFrom’ isn’t currently enabled (1:10):\n\n> 1 | export * as Vertical from ‘./rkCalendarVerticalLayout’;\n | ^\n 2 | export * as Horizontal from ‘./rkCalendarHorizontalLayout’;\n 3 | \n\nAdd @babel/plugin-proposal-export-namespace-from (https://git.io/vb4SG) to the ‘plugins’ section of your Babel config to enable transformation.”,“filename”:“node_modules\react-native-ui-kitten\src\components\calendar\layout\index.js”,“lineNumber”:1}],“name”:“SyntaxError”,“message”:“SyntaxError: d:\Kensoftware Work\Apps\Lyv2\node_modules\react-native-ui-kitten\src\components\calendar\layout\index.js: Support for the experimental syntax ‘exportNamespaceFrom’ isn’t currently enabled (1:10):\n\n> 1 | export * as Vertical from ‘./rkCalendarVerticalLayout’;\n | ^\n 2 | export * as Horizontal from ‘./rkCalendarHorizontalLayout’;\n 3 | \n\nAdd @babel/plugin-proposal-export-namespace-from (https://git.io/vb4SG) to the ‘plugins’ section of your Babel config to enable transformation.”,“stack”:“SyntaxError: d:\Kensoftware Work\Apps\Lyv2\node_modules\react-native-ui-kitten\src\components\calendar\layout\index.js: Support for the experimental syntax ‘exportNamespaceFrom’ isn’t currently enabled (1:10):\n\n> 1 | export * as Vertical from ‘./rkCalendarVerticalLayout’;\n | ^\n 2 | export * as Horizontal from ‘./rkCalendarHorizontalLayout’;\n 3 | \n\nAdd @babel/plugin-proposal-export-namespace-from (https://git.io/vb4SG) to the ‘plugins’ section of your Babel config to enable transformation.\n at Object.raise (d:\Kensoftware Work\Apps\Lyv2\node_modules\@babel\parser\lib\index.js:3851:17)\n at Object.expectPlugin (d:\Kensoftware Work\Apps\Lyv2\node_modules\@babel\parser\lib\index.js:5172:18)\n at Object.maybeParseExportNamespaceSpecifier (d:\Kensoftware Work\Apps\Lyv2\node_modules\@babel\parser\lib\index.js:8392:12)\n at Object.maybeParseExportNamespaceSpecifier (d:\Kensoftware Work\Apps\Lyv2\node_modules\@babel\parser\lib\index.js:2251:32)\n at Object.parseExport (d:\Kensoftware Work\Apps\Lyv2\node_modules\@babel\parser\lib\index.js:8334:42)\n at Object.parseExport (d:\Kensoftware Work\Apps\Lyv2\node_modules\@babel\parser\lib\index.js:2199:24)\n at Object.parseStatementContent (d:\Kensoftware Work\Apps\Lyv2\node_modules\@babel\parser\lib\index.js:7395:27)\n at Object.parseStatement (d:\Kensoftware Work\Apps\Lyv2\node_modules\@babel\parser\lib\index.js:7291:17)\n at Object.parseStatement (d:\Kensoftware Work\Apps\Lyv2\node_modules\@babel\parser\lib\index.js:1993:26)\n at Object.parseBlockOrModuleBlockBody (d:\Kensoftware Work\Apps\Lyv2\node_modules\@babel\parser\lib\index.js:7868:25)”} processBundleResult BundleDownloader.java:296 access$200 BundleDownloader.java:37 onResponse BundleDownloader.java:174 execute RealCall.java:206 run NamedRunnable.java:32 runWorker ThreadPoolExecutor.java:1162 run ThreadPoolExecutor.java:636 run Thread.java:764 `

Other information:

OS, device, package version

latest version 3.1.3


insert information here

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
evertonmadeiracommented, May 3, 2019

npm install react-timer-mixin. Have a good day!

0reactions
oleksandr-kuzmenkocommented, Jun 9, 2019

thx!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade to Babel 7
This just means Babel itself won't run on older versions of Node. It can still output code that runs on old Node versions....
Read more >
webpack module build fails when attempting to upgrade from ...
I ran into a similar issue using the updgrade tool as mentioned, ... introduced into package.json , by trying to do the upgrade...
Read more >
Subtitle reading speed: A new tool for its estimation
This article presents a new tool which has been developed in order to make reading speed calculations, and whose results are expressed by ......
Read more >
[Help] Running into loader-related issue when trying to use ...
... into loader-related issue when trying to use CodeMirror v5.59.4 ... file with the presets for @babel/preset-env and @babel/preset-react).
Read more >
babel-loader - npm
Note: Issues with the output should be reported on the Babel Issues ... npm install -D babel-loader@7 babel-core babel-preset-env webpack ...
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