S
SolidJSā€¢2y ago
siduck

My site no longer loads | updated all npm packages

the localhost keeps loading
23 Replies
siduck
siduckOPā€¢2y 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
siduckOPā€¢2y ago
im assuming updating the solid packages caused this
Carlo Nyte
Carlo Nyteā€¢2y ago
localhost updates but your production version doesn't - Are running the same exact packages/ version of everything?
siduck
siduckOPā€¢2y 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ā€¢2y ago
hmm yea just tried your repo and everything is running fine
siduck
siduckOPā€¢2y ago
yea that works but try updating all deps ncu -u if you've got npm-check-updates package globally
Carlo Nyte
Carlo Nyteā€¢2y 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
siduckOPā€¢2y 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ā€¢2y 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
siduckOPā€¢2y ago
yep nothing site is up since ages!
siduck
siduckOPā€¢2y ago
NvChad
NvChad is a blazing fast neovim framework with solid defaults and beautiful UI
Carlo Nyte
Carlo Nyteā€¢2y 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
siduckOPā€¢2y ago
@carlonyte found out the culprit!
siduck
siduckOPā€¢2y ago
siduck
siduckOPā€¢2y ago
this was it šŸ˜Ø
Carlo Nyte
Carlo Nyteā€¢2y ago
šŸ§ really? I wonder what changed to cause it to break
siduck
siduckOPā€¢2y 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
siduckOPā€¢2y ago
my production build looks like this šŸ˜Ø
siduck
siduckOPā€¢2y ago
nvm fixed
Carlo Nyte
Carlo Nyteā€¢2y ago
šŸ„³šŸ„³šŸ„³ What was the issue?
siduck
siduckOPā€¢2y ago
my start script had like npx serve dist replaced it to solid-start
Carlo Nyte
Carlo Nyteā€¢2y ago
Nice! Glad you got it working dude
Want results from more Discord servers?
Add your server