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

PushContractTransaction。Eos({\n ^\n\nTypeError: Eos is not a function #22

Open
siyangsihai opened this issue Dec 24, 2021 · 0 comments

Comments

@siyangsihai
Copy link

node js v16.3.0.

Python 3.9.7

eos-js require is ok

(<class 'eosjs_python.Exceptions.PushContractTransactionException'>, PushContractTransactionException(b'/Users/rose/Library/Python/3.8/lib/python/site-packages/eosjs_python/js/PushContractTransaction.js:12\neos = Eos({\n ^\n\nTypeError: Eos is not a function\n at Object. (/Users/rose/Library/Python/3.8/lib/python/site-packages/eosjs_python/js/PushContractTransaction.js:12:7)\n at Module._compile (node:internal/modules/cjs/loader:1109:14)\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)\n at Module.load (node:internal/modules/cjs/loader:989:32)\n at Function.Module._load (node:internal/modules/cjs/loader:829:14)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)\n at node:internal/main/run_main_module:17:47\n'), <traceback object at 0x104416d80>)

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