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

[BUG] Error at Importing Aepp-Sdk when running aeproject test #392

Closed
VitalJeevanjot opened this issue Dec 24, 2021 · 2 comments
Closed
Labels
aeproject bug Something isn't working

Comments

@VitalJeevanjot
Copy link

Describe the bug
When I ran aeproject test on the default aeproject (exampleTests.js file), Then I got an error that looks like [1]
However, a little bit of tracking got me to realize that it is in the util script from aeproject module when importing aepp-sdk [2]. The whole script ae-sdk.js is getting printed on the console which makes it harder to locate the actual errors on less precise terminal windows.

To Reproduce
Steps to reproduce the behavior:

  1. Initialize the AEproject project aeproject init
  2. Start the node with aeproject env
  3. Run the tests with aeproject test
  4. See the error

Expected behavior
It should work fine.

Screenshots
[1]
image

[2]
image

Aeproject information (please complete the following information):

  • OS executed at: [Ubuntu 20.04.2 LTS]
  • AEproject Version [^4(alpha)]
  • AEsdk Version [^10]
@VitalJeevanjot
Copy link
Author

Thanks to @omar-saadoun message on discord, This is solved by me as well by upgrading node to older LTS (12) to newer LTS (16).

@davidyuk
Copy link
Member

This is also being solved on the sdk side in:
aeternity/aepp-sdk-js#1365
aeternity/aepp-sdk-js#1371
aeternity/aepp-sdk-js#1382

@marc0olo marc0olo closed this as completed Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aeproject bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants