Rocketseat / adonis-bull

The easiest way to start using an asynchronous job queue with AdonisJS. Ready for Adonis v5 ⚡️
MIT License
308 stars 57 forks source link

bug npm install | this.container.bind is not a function BullProvider.register #76

Closed ghost closed 3 years ago

ghost commented 3 years ago

Когда я беру свой проект с гитхаба То есть беру проект без папки node_modules И устанавливаю пакеты npm install Возникает такой баг

console

[ info ]  building project...
[ info ]  starting http server...

TypeError: this.container.bind is not a function

1 BullProvider.register
  \blog\node_modules\@rocketseat\adonis-bull\build\providers\BullProvider.js:11

2 anonymous
  \blog\node_modules\@adonisjs\fold\build\src\Registrar\index.js:103

3 Registrar.register
  \blog\node_modules\@adonisjs\fold\build\src\Registrar\index.js:101

4 anonymous
  \blog\node_modules\@adonisjs\application\build\src\Application.js:515

5 Application.registerProvidersa
  \blog\node_modules\@adonisjs\application\build\src\Application.js:509

6 HttpServer.wire
  \blog\node_modules\@adonisjs\core\build\src\Ignitor\HttpServer\index.js:52

7 HttpServer.start
  \blog\node_modules\@adonisjs\core\build\src\Ignitor\HttpServer\index.js:146

[ warn ]  Underlying HTTP server died with "0 code"
[ info ]  watching file system for changes

package.json


{
  "name": "adonis-ts-adminpanel",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "build": "node ace build --production",
    "start": "node server.js",
    "dev": "node ace serve --watch",
    "lint": "eslint . --ext=.ts"
  },
  "devDependencies": {
    "@adonisjs/assembler": "^5.0.1",
    "adonis-preset-ts": "^2.0.0",
    "eslint": "^7.20.0",
    "eslint-plugin-adonis": "^1.2.1",
    "pino-pretty": "^4.5.0",
    "typescript": "^4.1.5",
    "youch": "^2.1.1",
    "youch-terminal": "^1.0.1"
  },
  "dependencies": {
    "@adonisjs/auth": "^5.1.1",
    "@adonisjs/bodyparser": "^7.0.1",
    "@adonisjs/core": "^5.0.4-preview-rc-2.1",
    "@adonisjs/lucid": "^10.0.0",
    "@adonisjs/mail": "^5.2.3",
    "@adonisjs/redis": "^6.0.2",
    "@adonisjs/repl": "^1.1.6",
    "@rocketseat/adonis-bull": "^1.0.0-2",
    "@types/node-telegram-bot-api": "^0.51.1",
    "@types/socket.io": "^2.1.13",
    "adonis-fcm": "^1.0.1-rc1",
    "geoip-lite": "^1.4.2",
    "google-auth-library": "^7.0.2",
    "inbox": "^1.1.59",
    "luxon": "^1.26.0",
    "mailparser": "^3.1.0",
    "mysql": "^2.18.1",
    "phc-argon2": "^1.1.0",
    "proxy-addr": "^2.0.6",
    "reflect-metadata": "^0.1.13",
    "server-destroy": "^1.0.1",
    "socket.io": "^3.1.1",
    "socketio-jwt": "^4.6.2",
    "source-map-support": "^0.5.19",
    "telegraf": "^4.1.1"
  }
}
HigoRibeiro commented 3 years ago

Hey @dedpalich , I am going to close this issue because it is not following the guidelines described here..

While contributing or interacting in any way in this project, refrain from using any language other than English.

ghost commented 3 years ago

Sorry

Translate: When I take my project from github That is, I take the project without the node_modules folder And install the npm installation packages There is such an error

What is the problem with using Google Translate?