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

SyntaxError: Unexpected token '<' #3

Open
SatalBill opened this issue Sep 20, 2022 · 0 comments
Open

SyntaxError: Unexpected token '<' #3

SatalBill opened this issue Sep 20, 2022 · 0 comments

Comments

@SatalBill
Copy link

I am using "@openocean.finance/api": "^0.0.3" and "@openocean.finance/wallet": "^0.4.26" in my node.js app.
By the way, when I import @openocean.finance/wallet (even not using, just imported), it gives me this error.

SyntaxError: Unexpected token '<'

Here is my index.js

var wallet_1 = require("@openocean.finance/wallet");
async function swapcrypto() {
  console.log('swap');
}

swapcrypto()

image

How to fix this?

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