Giter Club home page Giter Club logo

Comments (9)

ianchute avatar ianchute commented on June 3, 2024

@athoma13 Have you found a solution for this? I was able to use the component successfully for a few days. When I reinstalled all my nodules in a different machine it doesn't seem to work anymore.

@BioPhoton Hope you can help us :(

from angular-star-rating.

ianchute avatar ianchute commented on June 3, 2024

I was able to workaround the problem by doing the following:

  1. rm -rf node_modules/angular-star-rating/node_modules
  2. comment out line 15 (moduleId: module.id) of node_modules\angular-star-rating\src\star-rating.component.ts

from angular-star-rating.

athoma13 avatar athoma13 commented on June 3, 2024

from angular-star-rating.

BioPhoton avatar BioPhoton commented on June 3, 2024

Hi, @athoma13, @ianchute!

Sry for my long delay. I was on a log trip....

I released a new version. Also the docs are updated. And i added and updated example folder which shows the usage in code.

This update should alse solve #4 as my example is created with the latest cli.

Please let me know if it works now.

from angular-star-rating.

Zoly90 avatar Zoly90 commented on June 3, 2024

I just checked it, I had to download the zip version and put it manually in the node_modules folder.
So it did not work with the npm install version. But unfortunately it is still not working by using the star-rating-comp tag, it is obvious that something is there and you can see it in inspect too but there is nothing on the browser (using Chrome).
On the other hand, the css version of this project works pretty good, but it is a little hard to work with. But the interactive part is not working :(
I hope you will be able to resolve the issue

from angular-star-rating.

BioPhoton avatar BioPhoton commented on June 3, 2024

Hi @Zoly90 ,
I'm not sure why your npm install is not working. if i do npm install [email protected] --save everything is in the node_modules/angular-star-rating folder.

The other problem "invisible component" is that you forgot to copy the star icons into your assets folder.

I updated the install guide. Please check it out here and give me feedback about the text and if it is detailed enough to follow.

Thx for your time!

Best,
Michael

from angular-star-rating.

Zoly90 avatar Zoly90 commented on June 3, 2024

Thank you for your advice @BioPhoton, but unfortunately it is still invisible :(. Maybe I will be able to make it work at a later time.
Best of all,
Zoli

from angular-star-rating.

BioPhoton avatar BioPhoton commented on June 3, 2024

Hi @athoma13.

As i described in the readme you can import the library as follow:

// IMPORT YOUR LIBRARY
import { StarRatingModule } from 'angular-star-rating';
  
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
  
    // SPECIFY YOUR LIBRARY AS AN  IMPORT
    StarRatingModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

from angular-star-rating.

BioPhoton avatar BioPhoton commented on June 3, 2024

I updated the docs once more. Guess it's pretty clear now. Also 2.0.0 is out, so i will close it.
Feel free to reopen the issue.

from angular-star-rating.

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.