Giter Club home page Giter Club logo

Comments (9)

fisshy avatar fisshy commented on June 28, 2024

Will look into it tonight.

from react-scroll.

ponty96 avatar ponty96 commented on June 28, 2024

please do man, thou I'm looking @ a possible fix. If I get one, I'll submit a PR

from react-scroll.

fargerio avatar fargerio commented on June 28, 2024

Probably related:
babel gives me an error even earlier in the same file, somehow babel does not accept the ES6 Syntax in Helpers.js:

const { bool, object, string, func, number } = React.PropTypes;
      ^

SyntaxError: Unexpected token {

from react-scroll.

fisshy avatar fisshy commented on June 28, 2024

thanks, will look into it. Somthing came up yesterday, will try to solve it today.

from react-scroll.

ponty96 avatar ponty96 commented on June 28, 2024

okay. @fisshy any possible fix yet?

from react-scroll.

wavymav avatar wavymav commented on June 28, 2024

I'm having the same problem

from react-scroll.

fisshy avatar fisshy commented on June 28, 2024

Sorry for the delayed fix guys

fixed in v1.0.1 on npm or 2a492f5 for the code

from react-scroll.

mmahalwy avatar mmahalwy commented on June 28, 2024

@fisshy having same problem too... even with 1.0.1

/Users/mmahalwy/Desktop/quran/quran.com-frontend/node_modules/react-scroll/lib/mixins/Helpers.js:6
const { bool, object, string, func, number } = React.PropTypes
      ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:404:25)
    at Module._extensions..js (module.js:432:10)
    at require.extensions.(anonymous function) (/Users/mmahalwy/Desktop/quran/quran.com-frontend/node_modules/babel-register/lib/node.js:138:7)
    at Object._module3.default._extensions.(anonymous function) [as .js] (/Users/mmahalwy/Desktop/quran/quran.com-frontend/node_modules/require-hacker/babel-transpiled-modules/require hacker.js:250:71)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/mmahalwy/Desktop/quran/quran.com-frontend/node_modules/react-scroll/lib/components/Link.js:5:15)

from react-scroll.

fisshy avatar fisshy commented on June 28, 2024

Fixed thanks to @mmahalwy 7ae01d4 and v1.0.2 on npm

from react-scroll.

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.