S
SolidJSā€¢17mo ago
siduck

My site no longer loads | updated all npm packages

the localhost keeps loading
23 Replies
siduck
siduckā€¢17mo ago
GitHub
nvchad.github.io/package.json at src Ā· NvChad/nvchad.github.io
Site for NvChad . Contribute to NvChad/nvchad.github.io development by creating an account on GitHub.
siduck
siduckā€¢17mo ago
im assuming updating the solid packages caused this
Carlo Nyte
Carlo Nyteā€¢17mo ago
localhost updates but your production version doesn't - Are running the same exact packages/ version of everything?
siduck
siduckā€¢17mo ago
yes both are running the same packages didnt know we could define different package versions for production! also it seems like i'm missing esbuild and solid-start-node are those necessary? i installed them, no luck! any pointers? @mdynnl
Carlo Nyte
Carlo Nyteā€¢17mo ago
hmm yea just tried your repo and everything is running fine
siduck
siduckā€¢17mo ago
yea that works but try updating all deps ncu -u if you've got npm-check-updates package globally
Carlo Nyte
Carlo Nyteā€¢17mo ago
gotcha. but for your site could you not update everything for the time being so that it works and then update each package one by one and see which breaks it?
siduck
siduckā€¢17mo ago
sounds good! šŸ˜„ i kinda tried it before but had to rm -rf node_modules every time! so got tired of it
Carlo Nyte
Carlo Nyteā€¢17mo ago
not a long term fix, but as long as your site is up and users can interact with it and there's no error log?
siduck
siduckā€¢17mo ago
yep nothing site is up since ages!
siduck
siduckā€¢17mo ago
NvChad
NvChad is a blazing fast neovim framework with solid defaults and beautiful UI
Carlo Nyte
Carlo Nyteā€¢17mo ago
hmm well if it just started happening, guess you can assume one dependencies been updated but another hasn't. So just wait it out šŸ˜…
siduck
siduckā€¢17mo ago
@carlonyte found out the culprit!
siduck
siduckā€¢17mo ago
siduck
siduckā€¢17mo ago
this was it šŸ˜Ø
Carlo Nyte
Carlo Nyteā€¢17mo ago
šŸ§ really? I wonder what changed to cause it to break
siduck
siduckā€¢17mo ago
idk, i see that i dont need that package anymore! unocss has improved a lot this alone would suffice but i have another issue now
siduck
siduckā€¢17mo ago
my production build looks like this šŸ˜Ø
siduck
siduckā€¢17mo ago
nvm fixed
Carlo Nyte
Carlo Nyteā€¢17mo ago
šŸ„³šŸ„³šŸ„³ What was the issue?
siduck
siduckā€¢17mo ago
my start script had like npx serve dist replaced it to solid-start
Carlo Nyte
Carlo Nyteā€¢17mo ago
Nice! Glad you got it working dude
Want results from more Discord servers?
Add your server