Category "npm"

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:

bento-ng-d3 not found on registry.npmjs.org and some other bento packages as well, Angular

I have found the following dependency in my angular project package.json file. "@bento/bento-ng":"8.4.1", "@bento/bento-ng-d3":8.4.1, "@bento/bento-ng-datamap":

Yarn lock file resource source changed from registry.yarnpkg.com to registry.npmjs.org

I recently npm installed a package into my Ruby on Rails application. The installation changed my yarn.lock file. Specifically, the "resolved" field for all my

Vercel - `ZLIB_1.2.9' not found

I am trying to use canvas in a server less function on Vercel, but am running into an error I don't know how to get around: Error: /lib64/libz.so.1: version ZLI

Angular revert from 13.3.8 to 13.3.7

When I run : ng v I get the version in the screenshot. Where does "Angular: 13.3.8" come from and how can I revert it to 13.3.7 ? Also, where do the Packages c

npm ci passing locally but failed on gitlab

Getting this error during npm ci command, but it is working fine locally (tried removing node_modules and running npm ci to reinstall it, no errors) $ npm ci np