Comments (2)
Please provide an minimum reproduction repo to help better investigation.
from nest-typed-config.
I am also having an issue with this when my Nest app is installed globally.
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'class-validator'
Require stack:
- C:\Users\floogulinc\AppData\Roaming\nvm\v16.15.0\node_modules\hyshare\node_modules\nest-typed-config\dist\utils\imports.util.js
- C:\Users\floogulinc\AppData\Roaming\nvm\v16.15.0\node_modules\hyshare\node_modules\nest-typed-config\dist\typed-config.module.js
- C:\Users\floogulinc\AppData\Roaming\nvm\v16.15.0\node_modules\hyshare\node_modules\nest-typed-config\dist\index.js
- C:\Users\floogulinc\AppData\Roaming\nvm\v16.15.0\node_modules\hyshare\node_modules\nest-typed-config\index.js
- C:\Users\floogulinc\AppData\Roaming\nvm\v16.15.0\node_modules\hyshare\dist\app.module.js
- C:\Users\floogulinc\AppData\Roaming\nvm\v16.15.0\node_modules\hyshare\dist\main.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.resolve (node:internal/modules/cjs/helpers:108:19)
at requireFromRootNodeModules (C:\Users\floogulinc\AppData\Roaming\nvm\v16.15.0\node_modules\hyshare\node_modules\nest-typed-config\dist\utils\imports.util.js:5:32)
at Object.<anonymous> (C:\Users\floogulinc\AppData\Roaming\nvm\v16.15.0\node_modules\hyshare\node_modules\nest-typed-config\dist\utils\imports.util.js:9:24)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159: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)
at require (node:internal/modules/cjs/helpers:102:18) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\floogulinc\\AppData\\Roaming\\nvm\\v16.15.0\\node_modules\\hyshare\\node_modules\\nest-typed-config\\dist\\utils\\imports.util.js',
'C:\\Users\\floogulinc\\AppData\\Roaming\\nvm\\v16.15.0\\node_modules\\hyshare\\node_modules\\nest-typed-config\\dist\\typed-config.module.js',
'C:\\Users\\floogulinc\\AppData\\Roaming\\nvm\\v16.15.0\\node_modules\\hyshare\\node_modules\\nest-typed-config\\dist\\index.js',
'C:\\Users\\floogulinc\\AppData\\Roaming\\nvm\\v16.15.0\\node_modules\\hyshare\\node_modules\\nest-typed-config\\index.js',
'C:\\Users\\floogulinc\\AppData\\Roaming\\nvm\\v16.15.0\\node_modules\\hyshare\\dist\\app.module.js',
'C:\\Users\\floogulinc\\AppData\\Roaming\\nvm\\v16.15.0\\node_modules\\hyshare\\dist\\main.js'
]
}
from nest-typed-config.
Related Issues (20)
- Default values are overriding loaders? HOT 2
- Bug/Feature request: only load environment variables that are specified in the config file HOT 2
- [peerDependencies] Incompatible with nestjs version 9 HOT 1
- Default value is ignored if property is undefined
- env var substitutions break if the variable isn't set HOT 3
- Nested configs won't initialize if no environment variable of that nested config is set HOT 2
- Request to update readme / docs to use ValidateNested instead of Allow where it makes sense HOT 1
- External Configuration "Validity" Check. HOT 2
- Build failed with version 2.5.0 HOT 1
- v2.5.0 has a failing build HOT 1
- Expanding env variables is not working anymore in v2.5.1 HOT 4
- optionalDependencies should be peerDependencies HOT 4
- Add ability to specify a default value for environment variable in the yaml file HOT 1
- New Release for NestJS 10 support HOT 1
- How to: async subset config sub modules? HOT 1
- Different throw exception behaviour on config syntax error when an array of loaders is given HOT 1
- Dependency lodash.set has an unpatched CVE HOT 1
- Add common production environment key/value parsing example HOT 1
- Environment Variable Substitution Not Working HOT 4
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 nest-typed-config.