This repository was archived by the owner on Mar 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
1.0 beta.27 not working for typescript "resolves to a non-module entity" #1259
Comments
Possible to pass the compile process: var Web3 = require('web3'); This way |
@nivida the problem wasn't fixed, I'm still not able to use |
@jeansouza Yes, there is a similar TS issue. I will fix and release it asap. I apologize for the troubles. |
@nivida thank you very much! =] |
The readme file got updated and explains the usage of the Web3.js lib in a commonjs environment. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am currently upgrading to latest 1.0 beta.27,
import { default as Web3 } from 'web3'; doesn't work . gives a error below
/node_modules/web3/index"' resolves to a non-module entity and cannot be imported using this construct.
The text was updated successfully, but these errors were encountered: