Skip to content

Tag: build

heroku build failed on deployment

I am trying to host my React application on heroku but I keep getting the following errors: I have tried to do both –legacy-peer-deps and npm install –force but my build keeps getting failed. Is there a way to fix this recurrent problem. Answer I had to update the peer dependency for credit-card-input library in the package-lock.json file to be

What is a good file structure to have with Vite? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 25 days ago. Improve this question I am using Vite to easily run tailwind and other npm packages in my vanilla HTML and JavaScript. This is what

Rollup unexpectedly generates a file for reactive state

I’m kinda of new to rollup, and been having several issues with it over the last couple of weeks. I’m currently using rollup to build Lit components to production. And for some unknown reason, when it generates a file which contains, what I believe is the reactive state for every component – query-assigned-elements-78bcb1b1.js. Every component that has reactive state then