question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

kit keeps saying: "sparticles is incorrectly packaged. Please contact the package author to fix."

See original GitHub issue

hieeee!

sveltekit keeps telling me to tell you this:

sparticles is incorrectly packaged. Please contact the package author to fix.

don’t shoot me, I’m just the messenger 🤪

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
simeydotmecommented, Dec 9, 2021

so… a little digging.

Firstly, here’s Sparticles running in Kit, no problem; https://stackblitz.com/edit/sveltekit-9sg6fn?file=src%2Froutes%2Findex.svelte

But I do see the warning log in console on npm run dev

I found almost no info in google, but I did find this (merge request submitted 10 hours ago, lol) https://github.com/feathersjs-ecosystem/feathers-vuex/pull/614

Their solution was to use a non-standard package.json property; exports to tell vite that the plugin supports esm.

As it appears vite is not detecting that the module is esm compatible, somehow?.. however, it’s weird, because this is in the “externalised server side render” logic (what does that even mean? externalised??) … but the warning occurs even if the module is loaded purely async on mount (client only) at time of build; but it should have been tree-shaken out at that point?

Anyway, I’m a little bit miffed at the issue… but if you’d like to dig further @rchrdnsh or help testing a branch with the package.json changes from feathers-vuex works in different environments, then please go ahead and then throw me a merge-request 😃 … otherwise I’ll get around to this as I can.

cheers again, stalker! 😛

0reactions
simeydotmecommented, Dec 20, 2021

should be sorted, my dude. 😎

Read more comments on GitHub >

github_iconTop Results From Across the Web

dl4phys/lecture06.ipynb at main · lewtun/dl4phys · GitHub
Today we'll do something completely different and explore an application of Transformers to a natural language processing (NLP) task called text summarization!
Read more >
node.js - NodeJS - Error installing with NPM - Stack Overflow
I am installing a certain NodeJS script - Caress. But i am not unable to. I am using Windows 8.1, can anyone tell...
Read more >
Searching for long-lived particles beyond the Standard Model ...
Finally, we provide information about current and proposed experiments to search for LLPs at the LHC via dedicated detectors. These include the MoEDAL...
Read more >
A Study of Higgs Production in Association with Squark Pairs ...
The Standard Model of particle physics has been extremely successful at explaining ex- perimental data. However, it has failed to provide answers to ......
Read more >
Untitled
Underwater bridge usa, Snow and ice removal contract, Djmaza ringtones free download! ... Negative equity multiplier, Dirt 3 fix pack download.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found