Giter VIP home page Giter VIP logo

Comments (6)

JonasJW avatar JonasJW commented on June 2, 2024

It doesn't work for me I get these errors:

ERROR in node_modules/ng-scrollreveal/services/ngs-reveal.service.d.ts(1,23): error TS2688: Cannot find type definition file for 'scrollreveal'. node_modules/ng-scrollreveal/services/ngs-reveal.service.d.ts(9,19): error TS2503: Cannot find namespace 'scrollReveal'. node_modules/ng-scrollreveal/services/ngs-reveal.service.d.ts(27,63): error TS2503: Cannot find namespace 'scrollReveal'. node_modules/ng-scrollreveal/services/ngs-reveal.service.d.ts(35,109): error TS2503: Cannot find namespace 'scrollReveal'.

I tried so much to get ScrollReveal to work but it just wont work

from ngx-scrollreveal.

botoxparty avatar botoxparty commented on June 2, 2024

have you declared it in your scripts in your JSON file?

      "scripts": [
        "../node_modules/scrollreveal/dist/scrollreveal.js"
      ],


looks like it might not be. if you post your project somewhere I can debug it for you.

from ngx-scrollreveal.

JonasJW avatar JonasJW commented on June 2, 2024

Thanks for the Reply!I do have it declared in my scripts Array. I tried .min.js and .js but both give me this arrow. However somehow it works no, I can set ngsReveal to an Element and it is animated but the error still shows up in my console...

from ngx-scrollreveal.

botoxparty avatar botoxparty commented on June 2, 2024

Did you install the typings for ScrollReveal JS?

npm install --save-dev @types/scrollreveal

from ngx-scrollreveal.

JonasJW avatar JonasJW commented on June 2, 2024

That seems to be the solution. Thank you so much for helping!

from ngx-scrollreveal.

tinesoft avatar tinesoft commented on June 2, 2024

@JonasJW : I was literally writing a response just now... you beat me by 1sec!

Thanks @botoxparty for your answers! i'd have given the same ;)

Closing now

from ngx-scrollreveal.

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.