Comments (1)
Lines 1 to 37 in 8087e58
When running below script, alias@src
occurs the MODULE_NOT_FOUND
error. However, the alias@api
does not occur any error and it succeeded to generating the SDK library. To research differences between two projects alias@src
and alias@api
, I used another huge backend project and configured the alias @api
. By the research, I understood that the MODULE_NOT_FOUND
error depdens on scalability of the project. It may origin error of the TypeScript and ts-node.
To sovle the problem, I tried to use tsconfig-paths and it was successfull. However, to utilize the tsconfig-paths, target project must have the tsconfig.json
and compilerOptions.baseUrl
props at the same time. If the target project does not have tsconfig.json
or the compilerOptions.baseUrl
, the tsconfig-paths occures its domain error.
Therefore, I've to separate the Nestia SDK generator programs to be incompatible for two cases; whether tsconfig-paths is required or not.
from nestia.
Related Issues (20)
- 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
- Generic interfaces are not included in SDK when using @WebSocketRoute and clone: true HOT 4
- `TypedParam` should use validator configured in tsconfig just like `TypedQuery` / `TypedBody` HOT 2
- How to use on Nest monorepo structure ? HOT 2
- RangeError: Maximum call stack size exceeded HOT 12
- Nestia SDK not working with Monorepo or Thirdparty HOT 1
- e2e Generation is failed HOT 6
- Long output type names cause syntax errors HOT 1
- Using SDK in a React native project HOT 11
- Separate `@nestia/benchmark` from `@nestia/e2e`
- `TypedParam` does not support object destructuring without name parameter like NestJS Param HOT 1
- Is there an reason to `config.swagger.decompose` defaults to false? HOT 3
- (Off topic) how hard is to use nestia capabilities outside nestjs controller? HOT 1
- npx nestia sdk -> error TS5024: Compiler option 'jsx' requires a value of type string. HOT 1
- Error on swagger with Typescript 5.5.2 installed by typia setup 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.