Giter Site home page Giter Site logo

Import aliases about nestia HOT 6 CLOSED

afonsomatos avatar afonsomatos commented on July 19, 2024
Import aliases

from nestia.

Comments (6)

samchon avatar samchon commented on July 19, 2024 1

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.

samchon avatar samchon commented on July 19, 2024 1

@afonsomatos and @hmmhmmhm

Have fixed. Install the nestia v2.0 version and test it. All may be fine.

from nestia.

samchon avatar samchon commented on July 19, 2024

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:

from nestia.

hmmhmmhm avatar hmmhmmhm commented on July 19, 2024

@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.

hmmhmmhm avatar hmmhmmhm commented on July 19, 2024

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.

from nestia.

samchon avatar samchon commented on July 19, 2024

@afonsomatos, @hmmhmmhm

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.