Skip to content
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

Cannot find module #23

Open
nagg-glotelho opened this issue Dec 8, 2021 · 0 comments
Open

Cannot find module #23

nagg-glotelho opened this issue Dec 8, 2021 · 0 comments

Comments

@nagg-glotelho
Copy link

Hello,
After installing @scalio-oss/nest-couchbase with the command line $ npm i @scalio-oss/nest-couchbase couchbase, I got this issue by running $ npm run start :

[19:14:07] Starting compilation in watch mode...

[19:14:09] Found 0 errors. Watching for file changes.

Debugger listening on ws://127.0.0.1:9229/039206f6-a852-418c-8431-5ca955179952
For help, see: https://nodejs.org/en/docs/inspector
Error: Cannot find module 'couchbase/lib/bucket'
Require stack:

  • /home/gautier/Documents/GLOTELHO PROJECTS/TESTS-PROJECTS/new.nestjs.structure.test-project/node_modules/@scalio-oss/nest-couchbase/couchbase/couchbase.repository.mixin.js
  • /home/gautier/Documents/GLOTELHO PROJECTS/TESTS-PROJECTS/new.nestjs.structure.test-project/node_modules/@scalio-oss/nest-couchbase/couchbase/couchbase.repository.factory.js
  • /home/gautier/Documents/GLOTELHO PROJECTS/TESTS-PROJECTS/new.nestjs.structure.test-project/node_modules/@scalio-oss/nest-couchbase/couchbase/index.js
  • /home/gautier/Documents/GLOTELHO PROJECTS/TESTS-PROJECTS/new.nestjs.structure.test-project/node_modules/@scalio-oss/nest-couchbase/module/couchbase-core.module.js
  • /home/gautier/Documents/GLOTELHO PROJECTS/TESTS-PROJECTS/new.nestjs.structure.test-project/node_modules/@scalio-oss/nest-couchbase/module/couchbase.module.js
  • /home/gautier/Documents/GLOTELHO PROJECTS/TESTS-PROJECTS/new.nestjs.structure.test-project/node_modules/@scalio-oss/nest-couchbase/module/index.js
  • /home/gautier/Documents/GLOTELHO PROJECTS/TESTS-PROJECTS/new.nestjs.structure.test-project/node_modules/@scalio-oss/nest-couchbase/index.js
  • /home/gautier/Documents/GLOTELHO PROJECTS/TESTS-PROJECTS/new.nestjs.structure.test-project/dist/app.module.js
  • /home/gautier/Documents/GLOTELHO PROJECTS/TESTS-PROJECTS/new.nestjs.structure.test-project/dist/main.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (/home/gautier/Documents/GLOTELHO PROJECTS/TESTS-PROJECTS/new.nestjs.structure.test-project/node_modules/@scalio-oss/src/couchbase/couchbase.repository.mixin.ts:2:1)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant