Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to parse source map from" error #88

Open
brianyuen opened this issue Feb 3, 2022 · 1 comment
Open

"Failed to parse source map from" error #88

brianyuen opened this issue Feb 3, 2022 · 1 comment

Comments

@brianyuen
Copy link

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
@stianste
Copy link

Also experiencing this issue after upgrading create react app to v5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants