Category "npm"

How to write a TypeScript NPM package with JSX property suggestion/autocompletion for intellisense

I created a mini UI library and published it to NPM registry. My library is written with strongly typed styled-components (TypeScript) and can be imported in Re

How to install PWA in magento2.4.2?

I have to **Install PWA studio for Magento 2.4.2** I did not find a proper way to install PWA studio in Magento and How to **add magento 2.4.2 to pwa studio**?

npm install issue : 27 vulnerabilities (16 moderate, 9 high, 2 critical) To address all issues , run: npm audit fix --force

When I enter npm install in the relevant react project folder, it gives back this error after installing node modules 27 vulnerabilities (16 moderate, 9 high, 2

gatsby build failing on netlify with throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath);

This error did not happen on my build from several months ago, I was on node v14.4.0 which was using npm v6.14.5. 6:09:13 PM: $ gatsby build 6:09:13 PM: interna

NPM Error "Can't find Python executable" in MacOS Big Sur

I've been looking for the answer to this for a good solid week now, with no success. I've looked at every StackOverflow post, every article from Google and ever

Next.js is not recognizing '@types/react'

When I try to run my Next.js app with npm run dev I get an error message saying that I don't have the required packages to run Next with Typescript: Please inst

Electron not starting properly due to SIGTRAP

I am getting into Electron to try to begin building desktop applications. I am running into this error: /home/me/dev/my-electron-app-2/node_modules/electron/dis

TypeError: Cannot read properties of null (reading 'dataset') in Laravel Jetstream-inertia

This error suddenly appears out of nowhere. i tried reinstalling the npm packages but it doesn't work. but when it works when i create a fresh project of jetstr

npx create-react-app show error when installing

npx create-react-app shoing eror whent installing, please help me how to solve this problem. my nodejs version is v16.14.2 and npm version is 8.5.0 Installing p

NPM vulnerabilities

When I scan my angular project using npm audit it will show some vulnerabilities. I have found several solution to make them fixed. But my question is what are

react-native start crashes with error npm[11708]: c:\ws\src\util-inl.h:369: Assertion `!(n > 0) || (ret != nullptr)' failed

I am trying run react-native app. when I run npx react-native start server start, displays react logo and crashes with error npm[11708]: c:\ws\src\util-inl.h:36

React update outdated dependencies flagged by checkmarx

In my project, I have some outdated dependencies that have been flagged by Checkmarx. However, the dependencies flagged are in react-scripts version 4.0.3. For

Can pnpm replace npm link // yarn link?

npm link and yarn link are both "not the best". I run into issues with them quite often. Now I have read about pnpm and its local storage. I wonder if pnpm can

How to solve NPM Install Errors gyp ERR

I've attempted most of what everyone has suggested online and still remain with this error when attempting to install opencv and serialport. I currently have V

typescript upgrade 1.8.10 to 2.9.2 and 4.6.4 build error

I have an angular application, using typescript 1.8.10 and working fine. I like to try and upgrade typescript from 1.8.10 to 2.9.2. Once I change this setting

I got this error when I was trying to install brain.js with npm, I wrote npm i -S brain.js

I tried to install brain.js but it shows this monster looking error which I couldn't fid any solution by searching many times. I typed in my shell "npm i -S br

Platform with type "Windows_NT" and architecture "ia32" is not supported by @aws-amplify/cli.}

My first AWS project, I was trying to use amplify cli, I used npm i -g @aws-amplify/[email protected] and amplify configure worked perfectly. Some way down the project w

TS2305: Module '"typeorm"' has no exported member 'Column' with Ionic v6 and angular 12

I recently update Ionic v5 to v6 and angular v10 to v12 then this typeorm error is shown when I run the ionic build command ERROR in src/app/entities/ttAgrupac

NPM Script only works if I run it in two terminals at the same time or in debug

I'm trying to run the command (On Windows using VS): npm run watch:sass to compile my sass into css. When I hit enter instead of seeing the regular message abou

'npm run build' failed in AWS CodeBuild but succeeded locally

I have a ReactJS application deployed to AWS using CodePipline and CodeBuild. However, in the AWS CodeBuild stage the 'npm run build' always failed with error: