-
-
Notifications
You must be signed in to change notification settings - Fork 544
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 destructure property 'parsed' of 'req' as it is null. #835
Comments
Problem in this code with small typo fix crud/packages/crud/src/crud/reflection.helper.ts Lines 2 to 9 in d6d3c4e
|
Currently i fix it by function readPackage(pkg, context) {
if (pkg.name === '@nestjsx/crud') {
console.log('crud', pkg.dependencies);
pkg.dependencies = {
...pkg.dependencies,
'@nestjs/common': '9.0.5',
};
}
return pkg;
}
module.exports = {
hooks: {
readPackage
}
} For But both variants is trick and can broke some features of |
fix nestjsx#835 Add support of it nestjs/nest@6076545
@Kolobok12309 As this repo seems dead (your PR will never be merged), can you please do the same for this fork instead?https://github.com/gid-oss/dataui-nestjs-crud |
This is already solved there, as I can see now: |
Ya, i know) |
you are right, I already switched to that repo |
To fix this issue
|
It works locally - all tests are good, but when it is deployed - the same error pops up.. Strange, because |
I just setup a baisc crud with typeORM as in docs, but for
Cannot destructure property 'parsed' of 'req' as it is null.
environment:
The text was updated successfully, but these errors were encountered: