Category "npm"

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

How to downgrade node version?

I want to downgrade my version using npm. The current version is 16.13.1. I want to downgrade this to 12.0.1. Can anyone tell me how to do it? Thanks!

JFrog: how to remove a version of an npm package?

Used this command and it returns 200: npm unpublish myapp@"0.1.23" --verbose --registry https://myapp.jfrog.io/artifactory/api/npm/myapp/ Log: $ npm --

Tailwind with Angular 13

when I run : ng add @ngneat/tailwind I got this error: An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID !!!!!! VSCode. An

Expo Error starting tunnel Failed to install @expo/ngrok@^2.4.3 globally

I'm trying to run expo with a tunnel connection and I keep getting the following error: Error starting tunnel Failed to install @expo/ngrok@^2.4.3 globally: npm

NPM 8 workspaces - Install one package as the dependency for another package in monorepo

Say I have the following structure packages - @my-scope/packageA - @my-scope/packageB - @my-scope/packageC Let's say I want to install packageA as a depe

Import Typescript/JSX code directly from npm package

I am trying to build a very basic custom npm package which will be imported in a Typescript React app (created with CRA). React app ALPHA: import {MyText} from

Running node app on hosted ubuntu linux results in "unexpected token" when trying to timeout 60_000

I have a node.js app that runs fine on my Mac OS but when trying to run it on a hosted Linux, it says: /usr/myapp/src/js/main.js:165 await new Promise(r

npm install returns syscall spawn git error

I've tried to run npm install and faced these issues below I've tried to clear cache with force command, install git and update node but nothing worked here i

npm - The system cannot find the path specified (But then shows the result)

I am using npm after installing nodejs. I have installed it once before and I just finished deleting all the components because it kept giving the error in the

does npm node-cache value can be set in one file and access in another

i am working on a nodejs app where i have to maintain an api token for 24hr and then refersh it, currently i am writing that token on json file in every update

NPM Login without manually entering the username, password & email

I have been able to login to my npm registry manually, ie: on my local machine - but for some reason it's not working when it goes through the CI. The problem h

Can anyone help fixing my error on installing isolated-vm?

I run into the following error installing the npm package isolated VM on Debian 11: https://www.npmjs.com/package/isolated-vm The log doesn't help me that much.

How do I host Laravel and Inertiajs (React) app in cPanel?

I built a laravel with inertiajs App, Now I'm going to deploy my app to some host. I tried Siteground to deploy it but it doesn't support NPM! Now I'm trying to

$.fn.dataTable.render.moment is not a function with npm

I got a basic issue in my application that i can't solve : i would like to format date in my datatable using moment like i have done in this script : $().ready(

Yarn can't find private Github npm registry

I signed up for the Github private npm registry beta and followed their instruction: https://github.com/features/package-registry Works great with npm but I'd

@IsPhoneNumber() npm class validator how to add multiple countries code

In Nest js dto I want to validate user mobile number with multiple countries Regex. How can I do this? @IsPhoneNumber('IN', { message: (args: ValidationArg