Skip to content

import.meta' is currently unsupported, js engine: hermes #6

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

Open
devhimanshuhc opened this issue Jan 27, 2025 · 4 comments
Open

import.meta' is currently unsupported, js engine: hermes #6

devhimanshuhc opened this issue Jan 27, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@devhimanshuhc
Copy link

import.meta' is currently unsupported, js engine: hermes, this issue shows when i started the android debug build, alongside the following error

Error: ENOENT: no such file or directory, open 'C:\FILE_DIRECTORY\unknown'
    at Object.readFileSync (node:fs:441:20)
    at getCodeFrame (C:\FILE_DIRECTORY\node_modules\metro\src\Server.js:949:18)
    at Server._symbolicate (C:\FILE_DIRECTORY\node_modules\metro\src\Server.js:1026:22)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at Server._processRequest (C:\FILE_DIRECTORY\node_modules\metro\src\Server.js:419:7) {
  errno: -4058,
    at Server._processRequest (C:\FILE_DIRECTORY\node_modules\metro\src\Server.js:419:7) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\FILE_DIRECTORY\unknown'
}

Expected behavior
the model should be running in the UI

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

Smartphone (please complete the following information):

  • Device: motorola g62
  • OS: Android 12.0
@devhimanshuhc devhimanshuhc added the bug Something isn't working label Jan 27, 2025
@daviddaytw
Copy link
Owner

Hi @devhimanshuhc

Thank you for reaching out!

I think this is a duplication of #5 , can you try Step 4? Please let me know if that doesn't work.

https://github.com/daviddaytw/react-native-transformers?tab=readme-ov-file#4-babel-configuration

@devhimanshuhc
Copy link
Author

@daviddaytw i did but still getting the same error

@Prasad-178
Copy link

Prasad-178 commented Feb 4, 2025

Got the same error, then after doing step 4 got:
TypeError: not a valid backend

Do you know if I'm missing something simple here maybe? @daviddaytw

@daviddaytw
Copy link
Owner

Hi @devhimanshuhc @Prasad-178 , after testing with @xralphack . We figured out that it was because of the Expo cache.
Running npx expo start --clear solved the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants