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

Issue using with node project. #66

Closed
ghost opened this issue Mar 12, 2022 · 2 comments
Closed

Issue using with node project. #66

ghost opened this issue Mar 12, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 12, 2022

I get the following error when trying to use the module

`App threw an error during load
C:\Users\desktop\testapp\main.js:12
import {DBFFile} from 'dbffile';
^^^^^^

SyntaxError: Cannot use import statement outside a module`

I am a beginner so I am sure this is user error. What is the proper way to import this project?

@ghost
Copy link
Author

ghost commented Mar 13, 2022

Ok reading up about this and my issues seem to be with electron not supporting es Modules sadly.

@yortus yortus closed this as completed Mar 20, 2022
@yortus
Copy link
Owner

yortus commented Mar 20, 2022

Sounds like there's nothing actionable here @freeloader247? Feel free to re-open otherwise.

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

1 participant