Import 'macro' results error
See original GitHub issuehttps://kitware.github.io/vtk-js/docs/develop_class.html
I am following this tutorial to create new vtk.js class,
but it results error when
when I use
import macro from 'vtk.js/Sources/macro';
it results error saying
node_modules\vtk.js\Sources\macro.js:1
(function (exports, require, module, __filename, __dirname) { import vtk from './vtk';
                                                                     ^^^
SyntaxError: Unexpected identifier
How can I make a new vtk.js class without error?
Thanks
Issue Analytics
- State:
 - Created 4 years ago
 - Reactions:3
 - Comments:30 (1 by maintainers)
 
Top Results From Across the Web
Macro Error - Microsoft Support
The Macro Error message appears when there is an error in the macro that you were running. The specified method cannot be used...
Read more >Solved: Simple import macro error - SAS Support Communities
I am trying to import files that start with the same name: Combined (e.g., Combined1.csv, Combined2.csv, Combined3.csv).
Read more >Solved: Batch Import Macro - Errors in "File Not Found" an...
I am having trouble getting a batch import macro to work, as I keep getting error messages. The first error message I get...
Read more >Error on a failed Upload and Import File macro. - IBM
Cause. Records with no values in the import file are stopping the data import. The Oracle Import Table does not allow NULL columns....
Read more >"It looks like the results file you want to import is the wrong ...
It looks like the results file you want to import is the wrong type of file or it's incomplete. Check the results file...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Which version of
kw-web-suitegot pulled in? You may have to specify an older version. Like the one currently used in package.json.Should do
npm install kw-web-suite@10.0.0instead ofnpm install kw-web-suiteFYI @floryst
I’m developing on macOS, so I’m pretty sure that won’t be an issue.