Comments (6)
I may found a way to solve the problem. It is wrote on the #27
@afonsomatos and @hmmhmmhm, I'll try to solve this bug within 2 weeks. If you can't wait that time, you'd better not to use the alias
feature of the tsconfig.json
from nestia.
Have fixed. Install the nestia v2.0 version and test it. All may be fine.
from nestia.
Looking at the new commit, there's no problem for the such alias imports.
To utilize the alias imports without error, run the nestia sdk
command on a directory who've containing the tsconfig.json
. Or run the nestia sdk
command with newly configured nestia.config.json
file with compilerOptions
variable. I've prepared new examples for you. Read one of the below link, the you may understand how:
tsconfig.json
: https://github.com/samchon/nestia/tree/master/test/tsconfig.jsonnestia.config.json
: https://github.com/samchon/nestia/tree/master/test/nestia.config.ts
from nestia.
@samchon The same error occurs based on the latest nest. I cannot configure any form of absolute path. I specified it in tsconfig.json, and I specified it in nestia.config.ts, and it's the same.
from nestia.
I provide you with a reproducible sample. nest operation works well, but if you type npx nestia sdk
in your project, you will encounter problems.
- CodeSandbox: https://codesandbox.io/s/misty-grass-5jzu4w?file=/src/app.controller.ts
- Github: https://github.com/hmmhmmhm/nestia-issue-report-1
from nestia.
I'm sorry for such late update.
It was so difficult to fixing this bug, but from now on, any project would be failed by the alias paths.
It's the v2.0.8 update.
from nestia.
Related Issues (20)
- 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
- 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 5
- Long output type names cause syntax errors HOT 1
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.