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

Unexpected identifier #2

Open
sedghi opened this issue Jan 25, 2021 · 2 comments
Open

Unexpected identifier #2

sedghi opened this issue Jan 25, 2021 · 2 comments

Comments

@sedghi
Copy link

sedghi commented Jan 25, 2021

I am getting the following error, after following the Readme

/Users/Documents/vtk-project/node_modules/vtk.js/Sources/macro.js:1
import vtk from './vtk';
       ^^^

SyntaxError: Unexpected identifier
@thewtex
Copy link
Owner

thewtex commented Mar 18, 2021

This is with npm run build? npm run start?

@take5v
Copy link

take5v commented Mar 29, 2021

Hello @thewtex!

I have the same issue. Tried both yarn run build and yarn run start.

Edit: importing compiled 'vtk.js/vtk' works.

Best regards,
Stas

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

3 participants