react-scroll icon indicating copy to clipboard operation
react-scroll copied to clipboard

Uncaught SyntaxError: Identifier '__scdnguid' has already been declared

Open ouija opened this issue 2 years ago • 0 comments

Hey,

I'm a relative newcomer to using this plugin (and React in general, for that matter) but I noticed that when running a production build of my application that makes use of the hashSpy={true} option for my <Scrolllink> elements, I keep getting a Uncaught SyntaxError: Identifier '__scdnguid' has already been declared error whenever it scrolls from one <Scrolllink> element with hashSpy={true} to another. This does not occur when running a development build with Node.js.

If I disable hashSpy={true}, the issue is gone. Not quite sure what I'm doing wrong, or if I'm honest, really what I'm doing in general, but I'm faking it until I make it for now, and this issue is currently the only problem occuring in my newly created React app

ouija avatar Feb 08 '23 07:02 ouija