Replies: 2 comments 1 reply
-
Hi @alvisjosh, I had troubles reproducing it, since in majority cases I'm using NextJs, but if you encounter same warnings with other packages, the reason is in latest CRA v5.x (Webpack 5), where warnings can be disabled by setting env var |
Beta Was this translation helpful? Give feedback.
-
Hi , I have installed the library using: npm i react-parallax-tilt. I got npm errs . npm ERR! code ENOTEMPTY npm ERR! A complete log of this run can be found in: how to solve this errs.Please.thankyou |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I have installed the library using:
npm i react-parallax-tilt
A simply import and use of gives me a few warnings, one of them is as below:
WARNING in ./node_modules/react-parallax-tilt/dist/index.esm.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/Users/stevenkik/Documents/battle-era/Web/battleera/node_modules/react-parallax-tilt/src/features/glare/Glare.ts' file: Error: ENOENT: no such file or directory, open '/Users/stevenkik/Documents/battle-era/Web/battleera/node_modules/react-parallax-tilt/src/features/glare/Glare.ts'
How to resolve those warning?
--
Alvis
Beta Was this translation helpful? Give feedback.
All reactions