Comments (13)
I believe we just need to remove the hard dep on @nestjs/common@8
at
Lines 36 to 37 in d9abb1f
from azure-database.
hi, i love nestjs, and its integration with cosmos has been a relief. Will you guys fix the dependencies soon so I can use nestjs@9?
from azure-database.
I got rid of the error by adding overrides to my package.json
:
"overrides": {
"@nestjs/azure-database": {
"@nestjs/common": "^9.1.4",
"@nestjs/core": "^9.1.4"
}
}
You may need to delete node_modules, package-lock.json and reinstall.
I'm not sure if anything else is broken on v9.
from azure-database.
Any updates on this? I've noticed there is a PR to fix this from July: #725
Using overrides in package.json worked for me too, but I don't see it as a long term solution.
from azure-database.
Hi! Same probleme here. Any update? No response since last message (1 month ago)
from azure-database.
I run in the same problem. deleting package-lock.json
and node_modules
doesnt work for me...
any update for this issue?
from azure-database.
I am working on upgrading this package. Please follow progress here: #884
from azure-database.
The overrides did not work for me. Any update on the issue?
Thanks
from azure-database.
@Eugene-Murray Did you try deleting package-lock.json
and node_modules
and reinstalling? It seems to only work with a fresh install
from azure-database.
NestJS 10 is out, this issue seems to prevent this library being used with it. I was unable to resolve it with resolutions in package.json
from azure-database.
I have the same Issue now when I upgrade to v10. A multitude of other issues arose with the overrides
workaround due to our mono repo build process. Is there any way I can support here @kamilmysliwiec?
from azure-database.
Having the same issue still:
[Nest] 32876 - 2023-10-05, 12:19:02 p.m. LOG [InstanceLoader] AzureCosmosDbModule dependencies initialized +40ms
[Nest] 32876 - 2023-10-05, 12:19:02 p.m. ERROR [ExceptionHandler] Nest can't resolve dependencies of the AzureCosmosDbCoreModule (COSMOS_DB_CONNECTION_NAME, ?). Please make sure that the argument ModuleRef at index [1] is available in the AzureCosmosDbCoreModule context.
Potential solutions:
- Is AzureCosmosDbCoreModule a valid NestJS module?
- If ModuleRef is a provider, is it part of the current AzureCosmosDbCoreModule?
- If ModuleRef is exported from a separate @module, is that module imported within AzureCosmosDbCoreModule?
@module({
imports: [ /* the Module containing ModuleRef */ ]
})
Error: Nest can't resolve dependencies of the AzureCosmosDbCoreModule (COSMOS_DB_CONNECTION_NAME, ?). Please make sure that the argument ModuleRef at index [1] is available in the AzureCosmosDbCoreModule context.
Potential solutions:
- Is AzureCosmosDbCoreModule a valid NestJS module?
- If ModuleRef is a provider, is it part of the current AzureCosmosDbCoreModule?
- If ModuleRef is exported from a separate @module, is that module imported within AzureCosmosDbCoreModule?
@module({
imports: [ /* the Module containing ModuleRef */ ]
})
from azure-database.
"dependencies": {
"@angular/animations": "~16.2.0",
"@angular/cdk": "^16.2.6",
"@angular/common": "~16.2.0",
"@angular/compiler": "~16.2.0",
"@angular/core": "~16.2.0",
"@angular/forms": "~16.2.0",
"@angular/material": "^16.2.6",
"@angular/platform-browser": "~16.2.0",
"@angular/platform-browser-dynamic": "~16.2.0",
"@angular/router": "~16.2.0",
"@azure/cosmos": "^4.0.0",
"@nestjs/azure-database": "^2.3.0",
"@nestjs/common": "^10.0.2",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.0.2",
"@nestjs/platform-express": "^10.0.2",
"@nx/angular": "16.9.1",
"axios": "^1.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"reflect-metadata": "^0.1.13",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
},
from azure-database.
Related Issues (20)
- Support configuring custom container names HOT 1
- Azure Table Storage: repository method findAll() add optional filters HOT 6
- Can't use cosmoDB readonly key / Must use cosmoDB readwrite key HOT 4
- Add support for async module initialization HOT 1
- Te package no contains Cosmos DB library HOT 6
- Cannot find module '@nestjs/azure-database' or its corresponding type declarations. HOT 7
- Class 'AzureTableStorageService' incorrectly implements interface 'TableService' HOT 3
- Regular Expression Denial of Service (ReDoS) HOT 1
- Dependency Dashboard
- Cosmos DB Mongodb API HOT 1
- How can a Table Query be performed on Azure Table Storage HOT 1
- Connection to Cosmos Hangs HOT 1
- Batch operations
- getModelToken should be exported
- azure-storage is deprecated HOT 3
- Migrate off `@azure/ms-rest-js`
- Disable DEBUG level logging in nestjs/azure-database
- strictNullChecks must be false
- Is there a plan to support hierarchical partition keys? HOT 6
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 azure-database.