-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Typescript compile error #4542
Comments
{
"name": "nest-starter",
"version": "1.0.0",
"description": "Nest.js Starter For Minimalists",
"author": "CrazyOptimist",
"license": "ISC",
"scripts": {
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rm -rf dist && tsc",
"start:prod": "node -r ./tsconfig-paths-bootstrap.js dist/main.js",
"start:hmr": "node dist/server",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:e2e": "jest --config ./test/jest-e2e.json",
"webpack": "webpack --config webpack.config.js",
"ts-typeorm": "ts-node -r tsconfig-paths/register ./node_modules/.bin/typeorm",
"migration:create": "typeorm migration:create -d src/migrations",
"migration:run": "yarn ts-typeorm migration:run",
"migration:revert": "yarn ts-typeorm migration:revert",
"prepare": "husky install"
},
"dependencies": {
"@nestjs/common": "^7.6.5",
"@nestjs/core": "^7.6.5",
"@nestjs/jwt": "^7.2.0",
"@nestjs/passport": "^7.1.5",
"@nestjs/platform-express": "^7.6.5",
"@nestjs/swagger": "^4.7.12",
"@nestjs/typeorm": "^7.1.5",
"@types/bcrypt": "^3.0.0",
"bcrypt": "^5.0.0",
"class-transformer": "^0.3.2",
"class-validator": "^0.13.1",
"dotenv": "^8.2.0",
"lint-staged": "^11.1.2",
"mysql": "^2.18.1",
"opensea-js": "^1.2.1",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.6.3",
"swagger-ui-express": "^4.1.6",
"typeorm": "^0.2.30",
"typescript": "^4.1.3",
"web3": "^1.6.0"
},
"devDependencies": {
"@nestjs/testing": "^7.6.5",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.22",
"@types/supertest": "^2.0.10",
"@types/swagger-ui-express": "^4.1.2",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"eslint": "^7.18.0",
"husky": "^7.0.0",
"jest": "^26.6.3",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"supertest": "6.1.0",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.14",
"ts-node": "^8.1.1",
"tsconfig-paths": "^3.9.0",
"webpack": "^5.17.0",
"webpack-cli": "^4.4.0",
"webpack-node-externals": "^2.5.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
} |
Hey @crazyoptimist. Thanks for reaching out to us. I checked the logs you shared. It's been initiated from the package I am not sure if we can provide any support for such outdated packages. Consider that current version of As the issue is not directly related to If you found any issue building latest version of |
Is there an existing issue for this?
Current Behavior
It's a very simple code (a nest.js service) using opensea.io sdk.
It runs by
ts-node -r tsconfig-paths/register src/main.ts
.But it stuck when building by
tsc
.Here's the terminal log I'm seeing:
And here's my tsconfig:
Something is wrong in the tsconfig or am I missing something else?
Any help would be appreciated.
Expected Behavior
tsc
should run without an errorSteps to Reproduce
Here's the code you can use for reproduce:
Here's my tsconfig:
Web3.js Version
latest(1.6.0)
Environment
Anything Else?
No response
The text was updated successfully, but these errors were encountered: