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

Open
philmetzger opened this issue Nov 8, 2023 · 0 comments
Open

Failed to parse source map #105

philmetzger opened this issue Nov 8, 2023 · 0 comments
Assignees

Comments

@philmetzger
Copy link

philmetzger commented Nov 8, 2023

Describe the bug
When I run my dev server, i get the following warnings (everything works though)

Failed to parse source map from '/home/phil/node_modules/react-microphone-recorder/src/RecordAudio.tsx' file: Error: ENOENT: no such file or directory, open '/home/phil//node_modules/react-microphone-recorder/src/RecordAudio.tsx'

Failed to parse source map from '/home/phil/node_modules/react-microphone-recorder/src/index.ts' file: Error: ENOENT: no such file or directory, open '/home/phil/node_modules/react-microphone-recorder/src/index.ts'

Failed to parse source map from '/home/phil/node_modules/react-microphone-recorder/src/useAudioLevels.ts' file: Error: ENOENT: no such file or directory, open '/home/phil/node_modules/react-microphone-recorder/src/useAudioLevels.ts'

Failed to parse source map from '/home/phil/node_modules/react-microphone-recorder/src/useRecorder.ts' file: Error: ENOENT: no such file or directory, open '/home/phil/node_modules/react-microphone-recorder/src/useRecorder.ts'

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in ./node_modules/react-microphone-recorder/dist/esm/RecordAudio.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/phil/node_modules/react-microphone-recorder/src/RecordAudio.tsx' file: Error: ENOENT: no such file or directory, open '/home/phil/node_modules/react-microphone-recorder/src/RecordAudio.tsx'

WARNING in ./node_modules/react-microphone-recorder/dist/esm/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/phil/node_modules/react-microphone-recorder/src/index.ts' file: Error: ENOENT: no such file or directory, open '/home/phil/node_modules/react-microphone-recorder/src/index.ts'

WARNING in ./node_modules/react-microphone-recorder/dist/esm/useAudioLevels.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/phil/node_modules/react-microphone-recorder/src/useAudioLevels.ts' file: Error: ENOENT: no such file or directory, open '/home/phil/node_modules/react-microphone-recorder/src/useAudioLevels.ts'

WARNING in ./node_modules/react-microphone-recorder/dist/esm/useRecorder.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/phil/node_modules/react-microphone-recorder/src/useRecorder.ts' file: Error: ENOENT: no such file or directory, open '/home/phil/node_modules/react-microphone-recorder/src/useRecorder.ts'

I start my dev server using this script: "dev": "cp ./envs/.env.local ./.env && react-scripts start",

To Reproduce
I installed the package "react-microphone-recorder": "^1.0.0",
and import it like this import { useRecorder } from 'react-microphone-recorder';

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Package info (please complete the following information):

  • ^1.0.0

Additional context
"react": "^18.2.0",

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