Category "npm"

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

How do you know what package version you need in angular?

I had an asp.net core app on Angular 10.2.4, decided to upgrade to 11. Ran: ng update @angular/core@11 @angular/cli@11 it failed complaining of devkit. Uninstal

Error when trying to run dev server | React, SSR

I got this error when I'm trying to run server: E:...\node_modules\ts-loader\dist\watch-run.js:29 for (const [filePath, date] of times) { ^ TypeError: times is

How to start nuxt project on IP Address

This might be a stupid question since it seems pretty simple, but I can't get my nuxt project to run on my IP address. The Nuxt.js docs say that I have to put t

Unable to find expo in this project - have you run yarn / npm install yet?

I'm Unable to execute the expo start command. Error Message: PS C:\Users\Jacky Goyal\OneDrive\Desktop\rn1\my-project> expo start Starting project at C:\Users

How can I get live-reload on a local npm package in a monorepo?

I'm setting up a monorepo workspace for a Vue 3 (vite + ts), cloud functions, & shared-lib (shared functions and ts interfaces etc.). I can get the import o

ng test ELIFECYCLE error when run from npm script, but not when run directly from command line

Within my Angular (v10) project, I am trying to write a script for automated testing. But when executing from that script, I'm getting an npm ELIFECYCLE error.

Why I can't install React and uninstall create-react-app in my system?

I have tried so many ways. But I can't find any solution. The problem is I can't install ReactJS in my system. Here is the message I get when complete my instal

npm package.json aliases like webpack

i am trying to alias a module however i am not sure how to do that with package.json in webpack you would do something like this: module.exports = { //...

npm tells .env file doesn't exist (but it does), and it can even print it

All I want is to simply use an environment variable in an npm script without installing unnecessary dependencies. I have a .env file in the project root, conta

npm ERR! Error: EACCES: permission denied

I'm having this famous issue while trying to install Typescript in my react app. Concretely, I am running this: npm install --save typescript @types/node @types

Cannot find module '@material-ui/lab'

I am building a front-end page where I need @material-ui/lab. After installing the package with npm, I get a typescript error when compiling: TS2307: Cannot fin

Build error after updating Svelte: Package subpath './compiler.js' is not defined by "exports"

Problem I was on Svelte version 3.0.0 and used npm i svelte@latest to update to the most recent version. Now I can't get the app to run, I always get this errro

webpack < 5 used to include polyfills for node.js core modules by default

I am beginner to react js. Please someone provide input for below issue. In local system react js application is working fine but when i am generating build fr