Category "npm"

Project throws Uncaught TypeError: s.fn.modal is undefined

When I set up a bootstrap5-dialog project in nodejs, there will be thrown an error message:Uncaught TypeError: s.fn.modal is undefined when the main index page

npm warn deprecated and npm errors

I tried to install truffle and all these deprecated messages and errors occured , i checked the npm modules version with 'npm-check -u' and it says it is all g

React Js docker image building error with ERROR [linux/arm64 5/7] RUN npm install --silent. Running on Mac M1

I am creating a React Js docker image to run on multiple architecture when i run the command I get an error. I tried a lot but not successful. I am using Mac M1

Laravel TALL npm run dev --openssl-legacy-provider is not allowed in NODE_OPTIONS

I have just updated the npm packages of my Laravel project right at my MacOS system (I have been developing on Laravel Homestead since so long but npm didn't wo

how to change npm install command in ElasticBeanstalk (Node)?

I knew that the elastic beanstalk environments will execute the command npm --production install. But, from https://github.com/npm/cli/issues/4027, npm v8 (Node

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in the package.json of a module in node_modules

This is a React web app. When I run npm start This error occurred > [email protected] start > react-scripts start node:internal/modules/cjs/loader:488

Can't resolve 'otp-input-react' in my D:\project\app\src

I am trying what I am doing is wrong but didn't find any.Tried to uninstall and reinstall the package then also it is not working here are the images for more c

Corrupted file - .xml2js.DELETE/package,json in node_modules within an Angular project

Errors began after updating to Angular-Cli V10.1.0. Initial problems I encountered: The ng command was not working. I found that core dependencies were missing:

SyntaxError: Unexpected reserved word => prettier/third-party.js

I'm pretty new to Node, npm and webpack. I'm trying to set up a Craft 3 environment with Tailwind css. Everything worked fine out of the box, but when i run npm

GRAILS, ANGULAR, GRADLE --- Execution failed for task ':npmInstall'. --- npm finished with non-zero exit value 1

I am developing a project in IntelliJ and I am using Angular for the frontend and Grails for the backend. The project is being built with Gradle, and I am getti

How to use template literals of ES6 script

I have been trying to solve a template literal question on hackerrank. It works fine on my local IDE but giving error on Hackerrank IDE. Heres the code two add

NPM installation

C:\WINDOWS\system32>npm install npm@latest -g npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation

Vuejs3, Vite - How to run Production Build

I'm trying to run a simple vue.js app. My setup is a vue.js 3 app with vite, built according to the tutorial on the official website. (https://vitejs.dev/guide/

Package.json with multiple entrypoints

I have a library which was used as follows import { Foo } from '@me/core'; const foo = new Foo(); The package.json of that library looks like "name": "@me/core

How to resolve err code 403 Forbidden in npm install?

I'm trying to run npm install in a public repository. I’ve cloned it to my PC but it throws me this error. I’ve tried verifying my npm account, and

Webpack compilation error with Cypress-webpack-preprocessor

I am not able to run cypress test and getting foll error: When I ran cypress run: It is giving below Webpack compilation error Webpack Compilation Error ./cypre

why npm install does not respect version in package.json

Nodejs version - 14.17.3 npm version - 6.14.13 I am confused over the difference in package versions - the one I have declared in package.json is different than

How can i disable the Maximize button for BrowserWindow in Electron?

Im new to Electron.js and im trying to disable the Maximize button, i know its possible but i don't know how to do it. I tried frame: false but its not working

Yarn - How do I update each dependency in package.json to the latest version?

I have a react app with deprecated dependencies. To make it work, I have to update the dependencies to their newer (but stable) versions. As per this stakoverfl

What should the entry point be for a pure CSS npm project?

I have a CSS file that I want to upload to npm. My project's folder structure is as follows: my-project (folder) | +---- css (folder) | +---- my-pro