Category "npm"

How to fix Next.js Vercel deployment module not found error

My next.js app works on my machine and was working when deployed on Vercel but now it fails when building on Vercel with the following error: I've tried delet

ESBuild in NextJS: "You may need an appropriate loader to handle this file type" - /node_modules/esbuild/lib/main.d.ts

I am using mdx-bundler (which uses esbuild + node-gyp) in next.js. I have been working on this project for some time and everything is working. Now my partner j

npm run Build:dev error when doing Advance UI Customization

I wanted to customize the UI elements in the publisher portal and followed this guide But I get the following error when running this in cmd; npm run build:dev

How to deploy our app which is running on parcel bundler

In my recent project, I have made an animated website using gsap and parcel-bundler. When I want to run it, I will type parcel index.html or npm run dev and it

Huge increase in npm install times when upgrading from node v10 to v14 maybe due to date-fns module

I have recently upgrade from Node v10 to v14 in my project. With Node v10, npm install takes arround 1 minute. However, running npm install with Node v14 and wi

Get NPM Package README via API

I need to get NPM Package README files in PHP. Does anyone know an API that I can use to grab this? I've tried to use registry.npmjs.org, although the latest ve

How to exclude the folder but include all of its files and sub-folder while npm publish in angular library

When I build my angular library app i get the artifacts in the folder dist/. This means when the library is imported in another application it is done like this

Error creating react new project. using create-react-app

I am facing issues while creating a new project for React. Here is the command for how I am creating react project. npx create-react-app helloworld But the pro

NPM TypeORM - "Error: Duplicate migrations" after modifying/deleting migration file

I previously add a column to an existing table using, npm run migration:generate <filename>. However, I later realized that I misspelled the column name s

npm install returns error. Showing "no such file directory ../node_modules/mongodb-client-encryption/deps/lib/...'

I have a pretty big NextJS project going on, using mongodb but I havent been able to run npm install on it as it gives the following error. npm ERR! code 1 npm

deprecated errors while installing packagesin gastby

I am using a Gatsby theme and facing this errors while installing packages , I've tried npm install --legacy-peer-deps but when I run gatsby develop I get th

Install libmysqlclient-dev along with npm in dockers

I have an error when trying to install the libmysqlclient-dev package together with npm for some reason when installing libmysqlclient-dev it removes npm Step 1

How can I install a subfolder of a github repository using yarn?

I'm trying to add a library as a dependency to a project. This library is setup in a fairly peculiar way, with this file structure package.json library/ pac

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/parser' is not defined by "exports" in /usr/app/node_modules/postcss/package.json

Did a docker-compose up to build my project, but there's something wrong and I am getting this error: node:internal/errors:464 ErrorCaptureStackTrace(err);

Vue CLI error creating new project (npm error)

Please help me on this. I can't create a new Vue CLI project. It previously works good! Now not working... Vue CLI v4.2.3 ✨ Creating project in /We

Getting a bunch of error messages when trying to install Truffle. How do I fix this?

I am using Windows 11 and Windows PowerShell to write the commands. Right now its a struggle to just install Truffle :/ I've tried restarting the computer, inst

react-hot-toast custom positioning overlay

I am using react-hot-toast npm package for my notifications and i have created custom card with the help of toast.custom() function. I need to overlap notificat

Why doesn't my 'npm install --global yarn' work?

After running npm install --global yarn, I get an output that says: > [email protected] preinstall C:\Users\(me)\AppData\Roaming\npm\node_modules\yarn > :; (no

unknown error on npm install "npm ERR! Unexpected token '.'" on using NVM-Windows, Node v17, NPM v8

This seems to be a semi-common error, but it's unclear to me what is causing it. I want to know what is causing this error and how can I resolve it. Using NVM I

Error while installing truffle using "npm i truffle -g"

While installing Truffle on my desktop, an anonymous error occurs... First it's showing the error related to python which is strange but then I install python