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.

debug error after updating vaadin 14.1.17 ...

See original GitHub issue

when i run mvn clean package -Pproduction -DskipTests command as usual …

npm install gives this error.

ERROR in ../node_modules/apexcharts/dist/apexcharts.esm.js?babel-target=es5
Module build failed (from ../node_modules/babel-loader/lib/index.js):
TypeError: C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\apexcharts\dist\apexcharts.esm.js: Property left of ForInStatement expected node to be of a type ["VariableDeclaration","LVal"] but instead got null
    at Object.validate (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\types\lib\definitions\utils.js:131:11)
    at validateField (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\types\lib\validators\validate.js:24:9)
    at Object.validate (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\types\lib\validators\validate.js:17:3)
    at NodePath._replaceWith (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\replacement.js:172:7)
    at NodePath._remove (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\removal.js:55:10)
    at NodePath.remove (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\removal.js:34:8)
    at hooks (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\lib\removal-hooks.js:11:12)
    at NodePath._callRemovalHooks (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\removal.js:46:9)
    at NodePath.remove (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\removal.js:26:12)
    at convertFunctionParams (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\plugin-transform-parameters\lib\params.js:88:30)
    at PluginPass.Function (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\plugin-transform-parameters\lib\index.js:30:53)
    at newFn (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\visitors.js:179:21)
    at NodePath._call (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\context.js:55:20)
    at NodePath.call (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\context.js:42:17)
    at NodePath.visit (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\context.js:90:31)
    at TraversalContext.visitQueue (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:112:16)
    at TraversalContext.visitSingle (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:84:19)
    at TraversalContext.visit (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:140:19)
    at Function.traverse.node (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\index.js:84:17)
    at NodePath.visit (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\context.js:97:18)
    at TraversalContext.visitQueue (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:112:16)
    at TraversalContext.visitMultiple (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:79:17)
    at TraversalContext.visit (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:138:19)
    at Function.traverse.node (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\index.js:84:17)
    at NodePath.visit (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\context.js:97:18)
    at TraversalContext.visitQueue (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:112:16)
    at TraversalContext.visitMultiple (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:79:17)
    at TraversalContext.visit (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:138:19)
    at Function.traverse.node (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\index.js:84:17)
    at NodePath.visit (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\context.js:97:18)
    at TraversalContext.visitQueue (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:112:16)
    at TraversalContext.visitMultiple (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:79:17)
    at TraversalContext.visit (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:138:19)
    at Function.traverse.node (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\index.js:84:17)
    at NodePath.visit (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\path\context.js:97:18)
    at TraversalContext.visitQueue (C:\Users\UmitKIRTIL\IdeaProjects\yoksismezunaktarimiv2\node_modules\@babel\traverse\lib\context.js:112:16)
 @ ../node_modules/@vaadin/flow-frontend/com/github/appreciated/apexcharts/apexcharts-wrapper.js?babel-target=es5 22:0-36 42:32-42
 @ ../target/frontend/generated-flow-imports.js?babel-target=es5

Any ideas ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
faustAbccommented, Mar 5, 2020

I have updated the babel versions and made the fixes for Property left of ForInStatement expected node to be of a type ["VariableDeclaration","LVal"].

Released a new patch apexcharts@3.16.1. Please upgrade and update this thread if it fixed the issue.

Thanks! Upgrading to apexcharts@3.16.1 fixed the issue.

2reactions
bishwajitcsecommented, Mar 5, 2020

Same stuff for me also. Any Help please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue launching Vaadin Flow (14.1.17) application on prod ...
The developed Vaadin Flow app needs to be launched on a linux box. ... Updated vaadin to 14.3.7 and modified build.gradle as follows:...
Read more >
Vaadin 14.1.17 startup very slow - Stack Overflow
I'm facing very slow startup time (up to 6 minutes) and i'm not really understanding what's going on, i tried setting vaadin.servlet.
Read more >
Vaadin 14 - Troubleshooting - Martin Vysny
Sometimes Vaadin 14 fails mysteriously, which is very unfortunate: it now uses LOTS of JavaScript code, frameworks and tools.
Read more >
Index (Vaadin) - Javadoc.io
Resolver that maps beans to their (item) identifiers, removing the need to explicitly specify item identifiers when there is no need to customize...
Read more >
Vaadin - Bountysource
Scenario: I have a master-detail view of patient data. Selecting a patient should display or update a view of patient details based on...
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