Comments (7)
is this breaking your app? try using node v18, some of our dependancies may not work for nodev16
from web3.js.
seems to be an issue on dependancy abitype and web3.js typescript lib might not be compatible.
from web3.js.
ya ill take a look into this, can u show me ur package.json
from web3.js.
@luu-alex hello. I did a yarn install with node v18 but I get the same error.
from web3.js.
plans to update a typescript version of web3.js?
from web3.js.
This is an image of package.json of abitype used by web3.js.
from web3.js.
{
"name": "web3-abi-type-error",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.1",
"web3": "^4.11.0"
},
"devDependencies": {
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@types/supertest": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.5.0",
"prettier": "^3.0.0",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
},
"yarn": {
"packageManager": "[email protected]"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}
The same error occurs with web3js
installed in nest init
The package.json
is as above.
from web3.js.
Related Issues (20)
- add eth_newPendingTransactionFilter to rpc method wrappers
- web3 components loading time
- QuickNodes provider update HOT 1
- Test Workflows for Node v18 & v20 are Unstable
- Refactor some parts of Contract, Accounts and Eth packages
- Cannot read property 'prototype' of undefined, js engine: hermes HOT 1
- Create Sample Project for Angular + Web3.js HOT 1
- Create Sample Project Vue.js + Web3.js HOT 1
- Create Sample Project for React + Web3.js
- Move AccountAbstraction (EIP4337) from plugins into core library
- Add RPC provider: Public
- `CalculateFeeData`
- Attract New Developers (2024 H2)
- Accelerate Marketing Efforts (2024 H2)
- Diversify Financing (2024 H2)
- Improve Community Experience (204 H2)
- Create Angular template documentation
- Create Vue.js Template Documentation
- Create React Template Documentation
- Git pre-commit hook for changelog updates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web3.js.