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

Webpack failed to parse source map #226

Closed
AmirHosseinKarimi opened this issue Jul 6, 2022 · 2 comments
Closed

Webpack failed to parse source map #226

AmirHosseinKarimi opened this issue Jul 6, 2022 · 2 comments

Comments

@AmirHosseinKarimi
Copy link

Describe the bug
Webpack compile app with following warning:

WARNING in ./node_modules/@persian-tools/persian-tools/build/persian-tools.esm.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '***/node_modules/@persian-tools/persian-tools/build/persian-tools.esm.js.map' file: Error: ENOENT: no such file or directory, open '***/node_modules/@persian-tools/persian-tools/build/persian-tools.esm.js.map'

Looks like Webpack can not find the source map file.

Screenshots
image

Additional context
Produced on CRA project.
From yarn.lock:

react@^18.2.0:
  version "18.2.0"

react-scripts@5.0.1:
  version "5.0.1"

webpack@^5.64.4:
  version "5.73.0"

webpack-sources@^1.4.3:
  version "1.4.3"

webpack-sources@^2.2.0:
  version "2.3.1"

webpack-sources@^3.2.3:
  version "3.2.3"
@ali-master
Copy link
Member

Try to install the package via npm instead and let me know if you still have the same error or not

@ali-master
Copy link
Member

v3.4.0 just published, install it and let me know if still have the same error or not.

@mediv0 mediv0 closed this as completed Jul 26, 2023
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

3 participants