Hi,
I'm familiarizing myself with react-anime and have it installed and working on my React app on Node 17.4.0 with a simple translateX animation. I'm getting both an error and warning in the terminal. No errors in the browser console. I've removed both node_modules and package-json.lock file and did a npm install again with no luck. Any help would be great! Here's the error:
Compiled with warnings.
Failed to parse source map from '/Users/byuen/Documents/Dev/billboard/node_modules/react-anime/dist/react-anime.modern.js.map' file: Error: ENOENT: no such file or directory, open '/Users/byuen/Documents/Dev/billboard/node_modules/react-anime/dist/react-anime.modern.js.map'
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
assets by chunk 1.68 MiB (name: main)
asset static/js/bundle.js 1.67 MiB [emitted] (name: main) 1 related asset
asset main.83f09de76eaf347ab393.hot-update.js 12.2 KiB [emitted] [immutable] [hmr] (name: main) 1 related asset
assets by path *.json 343 bytes
asset asset-manifest.json 315 bytes [emitted]
asset main.83f09de76eaf347ab393.hot-update.json 28 bytes [emitted] [immutable] [hmr]
asset index.html 555 bytes [emitted]
Entrypoint main 1.68 MiB (1.75 MiB) = static/js/bundle.js 1.67 MiB main.83f09de76eaf347ab393.hot-update.js 12.2 KiB 2 auxiliary assets
cached modules 1.53 MiB [cached] 120 modules
runtime modules 28.2 KiB 13 modules
./src/App.js 8.53 KiB [built] [code generated]
WARNING in ./node_modules/react-anime/dist/react-anime.modern.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/username/Documents/Dev/billboard/node_modules/react-anime/dist/react-anime.modern.js.map' file: Error: ENOENT: no such file or directory, open '/Users/username/Documents/Dev/billboard/node_modules/react-anime/dist/react-anime.modern.js.map'
@ ./src/App.js 7:0-43 159:41-46 162:19-32
@ ./src/index.js 8:0-24 11:33-36
1 warning has detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
webpack 5.68.0 compiled with 1 warning in 127 ms
^C
username@username-m02 billboard % node -v
v17.4.0
Hi, I'm familiarizing myself with react-anime and have it installed and working on my React app on Node 17.4.0 with a simple translateX animation. I'm getting both an error and warning in the terminal. No errors in the browser console. I've removed both node_modules and package-json.lock file and did a npm install again with no luck. Any help would be great! Here's the error: