Skip to content
Advertisement

Tag: npm

Using React packages in Astro

So I’ve started building a portfolio site for myself, gone with Astro as it’s now the cool new thing, so thought why not, was going to use Gatsby but this seems like the more performant solution and you have a lot of freedom with it (not tied in to a GQL CMS). As I understand it, Astro is a solution

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

Node js Engine not upgrading for firebase function node compatibility

First failed Here is the package.json Error: package.json in functions directory has an engines field which is unsupported. Valid choices are: {“node”: 10|12|14|16} Deploys to runtimes below Node.js 10 are now disabled in the Firebase CLI. Existing Node.js 8 functions will stop executing at a future date. Update existing functions to Node.js 10 or greater as soon as possible. I

Vulnerability in NestJS 8.4.5

Recently, when I run npm audit in my npm package, I receive the following error: The problem seems to be in the dicer package which is a very popular package used by NestJS. I searched the web for possible solutions but can’t find any fixes. Has anyone been able to fix this yet? Thanks in advance. Answer It seems that

Tailwind default color classes not working

I’m building a React application using Tailwind CSS Framework. I have used NPM to install tailwind in my react app in the following manner: Then I have also edited my tailwind.config.js file in the following manner: And updated my index.css file in the following manner: Then I tried to use default color classes that tailwind CSS provides in the following

Advertisement