Closed Mickael-M closed 3 years ago
The trace shows debugger running. It isn’t supposed to do that when you run the yarn
command.
Can you share your package.json
and ensure you’re running yarn install
from the same directory as package.json
?
Hi @paambaati
Thanks a lot for you quick answer.
here's my package.json:
{
"name": "kafkaConnection",
"version": "0.0.0",
"license": "ISC",
"scripts": {
"build": "node build.js && tsc --build tsconfig.prod.json",
"lint": "eslint --fix './src/**/*.ts'",
"start": "node -r module-alias/register ./dist --env=production",
"start:dev": "nodemon",
"test": "nodemon --config ./spec/nodemon.json",
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts, html",
"ignore": [
"src/public"
],
"exec": "ts-node -r tsconfig-paths/register ./src"
},
"_moduleAliases": {
"@daos": "dist/daos",
"@entities": "dist/entities",
"@shared": "dist/shared",
"@server": "dist/Server",
"@kafka": "dist/kafka",
"@service": "dist/service",
"@model": "dist/model"
},
"dependencies": {
"@types/ip": "^1.1.0",
"command-line-args": "^5.1.1",
"cookie-parser": "^1.4.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"jsonfile": "^6.0.1",
"kafkajs": "^1.13.0",
"module-alias": "^2.2.2",
"node-gyp": "^7.1.0",
"tslib": "^2.0.1",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/command-line-args": "^5.0.0",
"@types/cookie-parser": "^1.4.2",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/express": "^4.17.8",
"@types/find": "^0.2.1",
"@types/helmet": "0.0.48",
"@types/jasmine": "^3.5.14",
"@types/jsonfile": "^6.0.0",
"@types/morgan": "^1.9.1",
"@types/node": "^14.10.3",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"find": "^0.3.0",
"fs-extra": "^9.0.1",
"jasmine": "^3.6.1",
"nodemon": "^2.0.4",
"prettier": "^2.1.2",
"supertest": "^4.0.2",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.0.2"
}
}
I have the same issue with node-lz4, but only for those 2, I must do something wrong but I can't figure out what exactly, and can't find a lot of info about similar issues.
thanks in advance for your response.
Hello everyone,
I end up with this issue when trying install kafkajs-lz4:
Did anyone face this issue? Is there a way to work around it? Thanks in advance for your answers