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

Error building app with React 18.0 and Nextjs

Open kleiberjp opened this issue 2 years ago • 1 comments

Once make an upgrade to latest version of react and next js im finding this issue, and no clue about what's going on

error - ./node_modules/react-scroll/modules/components/Button.js Module parse failed: Unexpected token (9:6) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

render() { return ( <input {...this.props}> {this.props.children}

kleiberjp avatar Apr 08 '22 01:04 kleiberjp

Yeah, I have the same with Button. Link is working. And I am using Next.js (just additional information).

bezenson avatar Feb 06 '23 15:02 bezenson