Error: ENOENT: no such file or directory, scandir for assets

SDK Version: 38.0.0
Platforms: Android

i started a fresh project in my home folder, following the procedure as i always did
then i enter the project folder (C:\Users\lorenzo\myApp) and run ‘expo start’
when i try to open it in android (with ‘a’ from terminal or using DevTools), it correctly install expo on the emulator but the i got the following error

Error: ENOENT: no such file or directory, scandir ‘C:\Users\lorenzo\assets’

and i dont really understand why it is looking for assets folder inside my home folder (which of course have no assets folder) insted that project folder

Worst thing, all my previous (working correctly) projects are showing this error!

any suggestion to solve?

Hey @popland, can you try clearing the relevant caches and see if the issue persists?

Cheers,
Adam

it took me hours of deleting, moving home and so on, but finally it worked
thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.