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

Compilation problem using commonjs/es6 #23

Open
ilariaventurini opened this issue Jan 28, 2020 · 0 comments
Open

Compilation problem using commonjs/es6 #23

ilariaventurini opened this issue Jan 28, 2020 · 0 comments

Comments

@ilariaventurini
Copy link
Contributor

ilariaventurini commented Jan 28, 2020

Inside tsconfig.json there is an attribute called module: "". Its value can be commonjs, es6, ...

If in data-juggler the value is module: "commonjs", you can:

  • yarn test
  • yarn build
  • npx ts-node ./benchmark-test/create-dataset.ts
  • npx ts-node ./benchmark-test/main.ts

but if you run views, then you have this error:

referenceError

So, change module: "commonjs" in module: "es6" then:

  • yarn build
  • run views.
@ilariaventurini ilariaventurini mentioned this issue May 11, 2020
8 tasks
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