Category "npm"

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

How can I run two dev servers with yarn workspaces?

I have two yarn workspaces A and B. Within each workspace, I can run yarn start to run webpack dev server on different ports. Therefore, I am trying to use the

Why does NPM not work with installing styled-components? Why does Xcode build fail if I install with Yarn?

I am trying to start a React app with React Native CLI (also tried with Expo, both with a Yarn startup and NPM startup separately). This is the error NPM trying

How to install a global npm package using fnm (Fast Node Manager)?

My Problem I have installed fnm (Fast Node Manager) from this github repo and it works all great except for installing global npm packages. For example, the wel

npm start run problem with react-app-rewire

I am trying to use mobx in a reactjs project. I have installed these packages using yarn add command: yarn add mobx mobx-react react-app-rewired react-app-rewi

React.JS App MODULE_NOT_FOUND error on 'npm start'

I have a problem with React.js. After creating a react application, when I run the command npm start I have the following error: PS G:\workspace\WEB\gab-web\cli

What is the term for a program that consumes a dependency?

I am currently working on an update to a package, which other programs use as a dependency. I'm curious what the correct term is for those dependency-consuming

Node Sass setup

I am trying to set up development for node-sass but I keep getting "6 packages are looking for funding" which affects anytime I run npm run sass, and I get back

Manifest: Line: 1, column: 1, Syntax error on Chrome browser

I have a react app that built through npm run build. GET and POST request from the front-end to back-end gives status 200 but I am getting a weird error that ma

Error: EPERM: operation not permitted, mkdir 'C:\Users\MY'

Can't run npx commands in windows 8.1 pro. showing error Error: EPERM: operation not permitted, mkdir 'C:\Users\MY' my folder path contains space. full command

Nodemon EADDRINUSE error every time I save

When using Nodemon I keep getting the EADDRINUSE error telling me the port is currently in use elsewhere even though it isn't. This error shows up almost every

Cannot find module 'caniuse-lite/dist/unpacker/agents' when running create react app

I am trying to create a new react application. I have node version 14.15.3 and npm version 6.14 Error: Cannot find module 'caniuse-lite/dist/unpacker/agents' w

Problem: ParserError: Syntax Error at line: 1, column 32

I am new to programming and I am with this problem. When I put in the Terminal "npm run build" to create the compression of my project in React.js I have this e

Suddenly, NPM script variables no longer work

I use package.json variables like this in NPM scripts: // package.json { "version": "0.12.1", "scripts": { "get-version": "echo %npm_package_version%"

TeamCity and NPM login via OAuth token

I'm trying to integrate TeamCity Server (Windows) with my private NPM repo. I have create an OAuth token. But I can't find any examples how to use the token in

I installed yarn globally, but got error "zsh:command not found : yarn"

npm install -g yarn > [email protected] preinstall /Users/myname/.npm-global/lib/node_modules/yarn > :; (node ./preinstall.js > /dev/null 2>&1 || tr