Giter Site home page Giter Site logo

Comments (6)

andrico1234 avatar andrico1234 commented on August 23, 2024

Hey, thanks for filing an issue.

Can you provide some more details about when you're seeing this issue, maybe a code snippet?
Does this issue come in the compiler when running your application or the package locally?

When I'm in the SkillNode.tsx file I don't have any issue with the typings file not being found, the intellisense on line 9 directs me to the corresponding file.

I also tried deleting and rebuilding the dist package incase a recent build may have prevent the typings file from being built but it doesn't seem to be the case.

I would rather not make my TypeScript set up more lenient for something I can't replicate.

from beautiful-skill-tree.

andrico1234 avatar andrico1234 commented on August 23, 2024

I'm actually getting the issue when I clone the repo and try building it.

I'll take a look at why this is the case

from beautiful-skill-tree.

andrico1234 avatar andrico1234 commented on August 23, 2024

I found the issue and am fixing it now, will release it as part of v1.0.1.

In my SkillNode.tsx file

import { SkillThemeType } from '../../';

Should have been:

import { SkillThemeType } from '../';

For some reason, my local environment was able to resolve the types file, even though the component should have been trying to access the index.tsx file in the src directory. Very weird, and i'm so happy that you took the time to file an issue for this!

from beautiful-skill-tree.

andrico1234 avatar andrico1234 commented on August 23, 2024

Please confirm that v1.0.1 works for you and I can close this issue :)

https://github.com/andrico1234/beautiful-skill-tree/releases/tag/v1.0.1

from beautiful-skill-tree.

huesoamz avatar huesoamz commented on August 23, 2024

Hi!, thanks for answer too quickly!, this happend to me when I use npm start, later I used yarn add .... and suddenly sound like that was fixing the issue, but was weird if I use npm instead of yarn.
Later on I realize that i need to use this app on the example folder, and not in the root, I was expecting a nodejs server not a tsdx watcher...Anyway I could get the example works for testing locally,

Thanks! I close the issue

from beautiful-skill-tree.

andrico1234 avatar andrico1234 commented on August 23, 2024

Thanks so much, I'll update the README to be more clear about how to run and build the package.

from beautiful-skill-tree.

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.