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

ENOENT: no such file or directory, open #2

Closed
evdama opened this issue Jul 19, 2020 · 2 comments
Closed

ENOENT: no such file or directory, open #2

evdama opened this issue Jul 19, 2020 · 2 comments

Comments

@evdama
Copy link

evdama commented Jul 19, 2020

I'm trying to use it with a Sapper project with the standard rollup config. I installed via npm install --save-dev svelte-avatar but getting this error:

Error: Could not load /Users/sa/0/edm/node_modules/svelte-avatar/src/lib/Avatar.svelte (imported by src/routes/chat.svelte): ENOENT: no such file or directory, open '/Users/sa/0/edm/node_modules/svelte-avatar/src/lib/Avatar.svelte'

The installed svelte-avatar directory in node_modules is
Screen Shot 2020-07-19 at 14 38 00
So it's inside a dist folder and not inside src/lib as the error suggests.

@wdtamagi
Copy link
Owner

wdtamagi commented Aug 9, 2020

Sorry about the delay, i will work on that.

Thanks for report!

@wdtamagi
Copy link
Owner

Fixed by d5e3628
And generated version 1.0.6 on npm

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