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

Open
garikar opened this issue Nov 6, 2024 · 0 comments
Open

Failed to parse source map #130

garikar opened this issue Nov 6, 2024 · 0 comments

Comments

@garikar
Copy link

garikar commented Nov 6, 2024

Hello,

I'm using yarn to add the package. When I use it, on the terminal the following messages appear:
WARNING in ./node_modules/react-native-material-menu/dist/Menu.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/user/projects/react-test/reactmodule/node_modules/react-native-material-menu/src/Menu.tsx' file: Error: ENOENT: no such file or directory, open '/home/user/projects/react-test/reactmodule/node_modules/react-native-material-menu/src/Menu.tsx'

WARNING in ./node_modules/react-native-material-menu/dist/MenuDivider.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/user/projects/react-test/reactmodule/node_modules/react-native-material-menu/src/MenuDivider.tsx' file: Error: ENOENT: no such file or directory, open '/home/user/projects/react-test/reactmodule/node_modules/react-native-material-menu/src/MenuDivider.tsx'

WARNING in ./node_modules/react-native-material-menu/dist/MenuItem.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/user/projects/react-test/reactmodule/node_modules/react-native-material-menu/src/MenuItem.tsx' file: Error: ENOENT: no such file or directory, open '/home/user/projects/react-test/reactmodule/node_modules/react-native-material-menu/src/MenuItem.tsx'

WARNING in ./node_modules/react-native-material-menu/dist/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/user/projects/react-test/reactmodule/node_modules/react-native-material-menu/src/index.ts' file: Error: ENOENT: no such file or directory, open '/home/user/projects/react-test/reactmodule/node_modules/react-native-material-menu/src/index.ts'

Is there a way to fix these warnings/errors?

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

1 participant