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 #106

Closed
QastanFIT opened this issue Mar 27, 2024 · 2 comments
Closed

Failed to parse source map #106

QastanFIT opened this issue Mar 27, 2024 · 2 comments
Labels

Comments

@QastanFIT
Copy link

Describe the bug
The library itself works perfect, for me. However, when running the React app there are a couple of warnings in the console.

Expected behavior
Having no warnings and/or errors in console

WARNING in ./node_modules/docx-preview/dist/docx-preview.mjs
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '\node_modules\docx-preview\src\word-document.ts' file: Error: ENOENT: no such file or directory, open '\node_modules\docx-preview\src\word-document.ts'

@zhangluka
Copy link

i'm also , so how do u fix this bug ?

@zhangluka
Copy link

facebook/create-react-app#11752 hope can help u

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

No branches or pull requests

3 participants