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

No loader is configured for ".node" #11

Closed
keuller opened this issue Mar 5, 2023 · 3 comments
Closed

No loader is configured for ".node" #11

keuller opened this issue Mar 5, 2023 · 3 comments

Comments

@keuller
Copy link

keuller commented Mar 5, 2023

Environment

  • Nuxt 3.2.3
  • Vite plugin vsharp 1.4.2

Error

When I ran pnpm devon Nuxt project I got this error:

 ERROR  6:35:17 PM [vite] error while updating dependencies:                                                                                          18:35:17
Error: Build failed with 1 error:
node_modules/.pnpm/fsevents@2.3.2/node_modules/fsevents/fsevents.js:13:23: ERROR: No loader is configured for ".node" files: node_modules/.pnpm/fsevents@2.3.2/node_modules/fsevents/fsevents.node

When I ran pnpm build vshaprt plugin does not find the assets, even the resources exists on the specified path.

[unhandledRejection] Input file is missing: /workspace/personal/resumeapp/.nuxt/dist/server/start-yellow.png
@jw-12138
Copy link
Owner

jw-12138 commented Mar 6, 2023

could you please provide the file/folder structure or an example project?

@keuller
Copy link
Author

keuller commented Mar 6, 2023

Yes, my structure folder is:

[resumeapp]
  - assets
     - check.jpg
     - share.png
     - start-yellow.png
  - pages
     - index.vue 
  - public
     - favicon.ico

@jw-12138
Copy link
Owner

jw-12138 commented Mar 7, 2023

it appears that the issue at hand is connected to esbuild, pnpm and sharp. as a Vite plugin developer, my assistance may be limited. however, I can offer some guidance.

You may want to take a look at this issue on GitHub:
evanw/esbuild#1051

especially this comment:
evanw/esbuild#1051 (comment)

I wish this could help you!

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