Comments (2)
I changed your nestia.config.ts
file like below, and succeeded to running the nestia
.
I can't understand the exact reason why, but it comes from too much declared underscore (_
) variable. I'd exprienced same error when developing frontend project bundling by webpack.
Anyway, you're defining some types in the global definitnion like global.isDev
and global.consola
. My library nestia
generates SDK library by parsing TypeScript source files, but it can't understand such non-standard implementation. If you remove such non-standard definitions, SDK would be well-generated.
export const NESTIA_CONFIG: nestia.IConfiguration = {
input: {
include: ['**/*.controller.ts'],
exclude: ['apps/page-service/**/*', 'apps/user-service/**/*'],
},
output: './api-client',
json: false,
swagger: {
output: './swagger.json',
},
compilerOptions: {
skipLibCheck: true,
types: ['node', 'jest', 'global.d.ts'],
},
};
export default NESTIA_CONFIG;
from nestia.
OK, Thanks!
from nestia.
Related Issues (20)
- Question: How to improve unit / E2E test speed HOT 2
- Nestia v2 -> v3 Migration HOT 1
- Nestjs fastify use NestInterceptor auto stringify HOT 2
- Typed Route with assertEquals HOT 4
- `https://nestia.io/docs/sdk/sdk/` is broken
- Generate wrong swagger when use union type HOT 1
- Custom QueryString parser support HOT 9
- Error on MacOS but not Stackblitz -- no transform has been configured -- due to PNPM hoisting HOT 1
- Very slow reaction on NX dev + loaders error
- How to customize error message? HOT 1
- SDK generator for `@WebSocketRoute()` functions
- How to properly use nestia in Docker HOT 1
- Enhance `@nestia/sdk` performance by abandoning `ts-node` HOT 5
- is tsconfig's strictPropertyInitialization property safe to set false? HOT 3
- binded arguments in the "path" between function's decorator and parameters' decorators are different HOT 11
- Text after the comma disappears in TypedFormData.Body HOT 2
- Cannot find module 'get-funtion-location' HOT 2
- In version `3.1.4` of @nestia/core, `nestia sdk` throws a `no transform has been configured` error. HOT 2
- [Bug Report] Parsing incorrect module paths HOT 1
- [Question or Bug Report] decompose option's bug on swagger generator with special tags, defined anonymous interface. HOT 2
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 nestia.