Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

How can I prevent my node production deployment from installed devDependencies?

I'm running into an issue with the production deployment of my Node app. When I deploy to dev it's fine. When I deploy to production, the build errors on the node-sass package. Based on this SO thread ...
kdub1312's user avatar
  • 905
-2 votes
0 answers
24 views

Can't npm install about anything on my VPS [closed]

This issue just popped up recently, like 20 minutes ago and I have no idea what's causing it. Prior to those 20 minutes, npm install was working just fine. I'm involved currently in web development ...
phoenix56's user avatar
0 votes
0 answers
12 views

in yo code New extension typescript doesn't create working dev environment

i am using npm on the yo code my system is manjaro linux I want to create a dev environment for a typescript extension. When i select webpack the ms-vscode.extension-test-runner is unavailable from ...
David Roderick's user avatar
-3 votes
0 answers
25 views

¿Node.Js not working? Access Denied and It work unexpectedly [closed]

Before yesterday everything was working perfectly, but today when I started to work, for some reason I got VSCODE Access Denied which is strange considering that everything worked fine and without ...
PonnyTheLight's user avatar
-1 votes
0 answers
23 views

Next.js library imports not working in server components

After updating my Next.js component library from ver. 1.2.0 to 1.3.0, existing server-compatible components suddenly break when imported into Next.js server components (e.g., page.tsx). I added a new ...
Brandon Lisonbee's user avatar
0 votes
0 answers
21 views

Is there a way to tell Turbopack to ignore .babelrc

I am developing a NextJS application, I am using Turbopack and I am using Jest as a testing framework. I need to include some plugins to be able to run my tests. Here are the plugins: { "env&...
KarljoY973's user avatar
0 votes
0 answers
10 views

Esbuild Architecture Mismatch: x64 vs. arm64 Causing Vite Build Failure After Transition from Rosetta 2

Summary of the Problem: Error Message: During the build (triggered via dfx build), Vite (which uses esbuild internally) fails because it detects that the installed esbuild binary is for a different ...
LDK's user avatar
  • 51
0 votes
0 answers
12 views

Ng serve with linked npm package with watch enabled compiling too slow after edits in package

Preconditions: Angular 14 npm package that is linked locally with npm link and is building with tsc && (concurrently "tsc -w" "tsc-alias -w") I need to import package from ...
glob0_o's user avatar
0 votes
0 answers
28 views

Why is my npm install resulting in modules not found in npm start?

When I run npm start in my package repository root directory, I'm getting an error that a module is not found. I've confirmed that street_images.js and /@streetmix/export-image/build/index.js are ...
Hugh_Kelley's user avatar
  • 1,040
0 votes
0 answers
26 views

How to enable HMR for a private React component library during development?

I’m currently developing a React component library that’s built with Rollup and released as a private npm package. This library is used across multiple applications. The issue I’m facing is that ...
nav's user avatar
  • 1
-4 votes
0 answers
36 views

Unable to get the correct version of npm for node.js [closed]

I downloaded the latest stable version of node.js V.22.14.0 and npm version 5.5.1 was automatically installed. I believe this version of npm is to old. I have uninstalled node.js and reinstalled ...
Richard's user avatar
0 votes
0 answers
13 views

Tensorflow: Convert Tensor to Tensor3D in TypeScript

I am new in Tensorflow and use the NPM library @tensorflow/tfjs-core. I want to convert a Tensor-Object to a 3D representation. I had a look into their API documenation, and found that this was ...
Gary Klasen's user avatar
  • 1,070
-4 votes
1 answer
76 views

Cypress on headless mode not able to resolve promises through await calls

I am developing an API testing backend using Cypress with cy.request. I am aware that cy.request natively uses built-in promises (Cypress.Chainable), so there is no need to handle it with JavaScript ...
rangana dilhara's user avatar
-2 votes
0 answers
38 views

I am partaking in a node.js course when I try to install a Node Package I receive the response shown in the image attached below

image showing response The image shows what I have tried and I was expecting to install underscore. Help with this matter would be greatly appreciated. I believe the image shows all the information ...
Richard's user avatar
1 vote
0 answers
45 views

running NPM install command fails on nasm and libcurl errors

I went through all posts i could, installed packages 1 by 1 and even did a clean install of everything starting from nodeJS. The error im getting is: npm warn cleanup Failed to remove some directories ...
MarkedOne's user avatar
-3 votes
0 answers
27 views

@types/webpack dependency suddenly started giving error

Recently I believe some changes were made to webpack dependency due to which I'm unable to deploy the service. This is the code snippet in types.d.ts file which was changed. Old Version type ...
Parteek Dhaliwal's user avatar
-2 votes
0 answers
42 views

npm not recognizing node? despite path being correct

I just installed node (LTS) and let chocolatey install, just rebooted my PC, and tried making a project but npm wont run node?, i checked everything, the paths, reinstalled node several times, ...
Alberto Huarastaca's user avatar
-1 votes
0 answers
23 views

Running a NPM Package via a Crontab [duplicate]

simple issue i'm running into. I have a script.sh file that contains: serverless invoke local this works when I run the script directly from the command line ala /home/ubuntu/script.sh however, I ...
sylargaf's user avatar
  • 522
0 votes
1 answer
43 views

npm install - npm Warning of Damaged Lockfile

I am trying to run npm install and am receiving an error of a damaged lockfile: npm warn reify invalid or damaged lockfile detected npm warn reify please re-try this operation once it completes npm ...
sweeney's user avatar
  • 15
0 votes
0 answers
15 views

npm relies on external package to import dependencies

We make a custom library, basically a wrapper around Angular Material. We use that library in our project, but sometimes I still want to use component from Angular Material directly. But now, I import ...
Thomas E's user avatar
  • 521
-3 votes
0 answers
34 views

npm test gives me a "Cannot find module" error [closed]

I'm trying to run npm test but when I do I get this error message: Cannot find module 'react-router-dom' from 'src/SignIn.test.js' I installed it using npm install react-router-dom and see it in my ...
Sricharan Kathika's user avatar
-1 votes
1 answer
27 views

The best solution for installing npm modules offline

For describing the situation: we have a Linux server that has access to npm registry and can install all of the dependencies from it. But the network traffic filter doesn't allow access to some files (...
Андрей Дьячков's user avatar
-1 votes
0 answers
27 views

Failed to compile. NPM Module not found: Error: Can't resolve

The issue when I run npm start: Failed to compile. Module not found: Error: Can't resolve '@fortawesome/free-brands-svg-icons' in '/srv/stable/CardioJS/src/components' ERROR in ./src/components/...
Erik's user avatar
  • 1
0 votes
0 answers
17 views

Build failure due to postinstall.js not being found

Good day. In my Expo app im using a package called 'react-native-vlc-media-player'. Running eas build -p ios with this package throws the following error in the logs. node:internal/modules/cjs/loader:...
BenefactorKrieger's user avatar
-4 votes
1 answer
33 views

How to find unused and deprecated packages for an Angular application? [closed]

Is there any way to take the exact list of unused and deprecated packages for an Angular application without using outdated or npm-check or depcheck?
VKD's user avatar
  • 847
-2 votes
0 answers
39 views

NPM 403 Err Permission permission_denied: read_package [closed]

I am currently facing an issue with the installation of a package from a private registry. I already followed the steps to solve the issue: npm config set, npm login and also generating PAT with a ...
Lemuel Lacanlale's user avatar
0 votes
0 answers
12 views

browserify-zlib falls outside of the project src/ directory

How do I get rid of this error? Module not found: Error: You attempted to import /home/sebastian/dev/frontend/node_modules/browserify-zlib/lib/index.js which falls outside of the project src/ ...
Sebastian Nielsen's user avatar
-3 votes
1 answer
34 views

How to replace a specific text in YAML file using TypeScript? [closed]

I have a YAML file like below: server: url: "https://example.org/emp/details" userId: "lmn" port: "9090" ... ... Now I want to replace the url with https://example....
GettingStarted With123's user avatar
0 votes
0 answers
49 views

my node.js is not installed, although in the laravel herd application my node.js status is installed

I am currently learning to use laravel, when I want to install tailwind using the terminal in vs code with the command “npm install tailwindcss @tailwindcss/vite” an error appears “npm : The term 'npm'...
jack Jhonson's user avatar
1 vote
1 answer
41 views

How to Use Different Namespaces in an Angular Library?

I want to create a library in Angular, this will have two sections: UI and Services, UI is for the components that can be reused in the projects where the packages are installed, same case for the ...
IvanEP's user avatar
  • 23
-2 votes
2 answers
134 views

Create react project using vite, npm reports vulnerabilities

I have getting 3 vulnerability While creating fresh react project using vite. I have updated my node and npm to version node:22.14.0 and npm:11.1.10 All my commands are: npm create vite@latest After ...
Pratham Chaurasia's user avatar
-1 votes
0 answers
35 views

Build both ARM64 and X64 macOS targets with electron-builder including their dependencies

I have a problem with building separate images for macOS for both main architectures for an electron-based application. I use electron-builder with this config: electron-builder.yml: # ... npmRebuild: ...
Ákos Kovács's user avatar
0 votes
2 answers
29 views

Import CSS file from npm package

I'm working on a project using Here Maps JavaScript SDK. This is my package.json file: { "name": "rapp", "version": "0.1.0", "private": true, &...
MakePeaceGreatAgain's user avatar
0 votes
0 answers
26 views

Why `virtual-store-dir` needs to be unique for each project in `pnpm`

virtual-store-dir The documentation https://pnpm.io/npmrc#virtual-store-dir says: NOTE: the virtual store cannot be shared between several projects. Every project should have its own virtual store (...
TSR's user avatar
  • 20.6k
0 votes
0 answers
51 views

React Refused to load the script bundle.js because it violates the following Content Security Policy directive script-src-elem 'none'

I have huge troubles getting CSP to work. Background is, I was creating a new web application based on react. The deployment should happens on Azure "Static Web Apps". Thus, the JavaScript ...
trinity420's user avatar
-2 votes
2 answers
128 views

How to make a background bash script pause while an npm build runs?

I'm setting up a new method of deploying my personal react website, which is using vite for bundling. My idea is: I push un-bundled changes from local to remote repo a web hook informs my server (...
Mike Willis's user avatar
  • 1,512
0 votes
1 answer
206 views

react, typescript, tailwind + npm & vite - styles from tailwind config do not work

I am trying to learn some web dev and starting to learn typescript with react and tailwind using npm and vite... I was making the initial set up via. tailwind page: https://tailwindcss.com/docs/...
markCos0's user avatar
-1 votes
0 answers
67 views

C:\Program Files\nodejs\node.exe: --r= is not allowed in NODE_OPTIONS

I installed Node.js on a new laptop. I cloned my Next.js project from Github and ran npm install for installing node modules, which ran properly. To run my local development server, I am running npm ...
mukunda's user avatar
  • 685
-2 votes
0 answers
59 views

npm audit says 12 vulnerabilities found in react package [duplicate]

npm audit says 12 vulnerabilities found in react package and I can't import css module and I can't fix it with npm audit fix --force. Sometimes when I do npm audit fix --force it says npm audit found ...
Thi Ha's user avatar
  • 1
0 votes
0 answers
17 views

(Shopware 6) Integrating a custom npm package into administration

I want to try to integrate the functionality of the vuedraggable package https://www.npmjs.com/package/vue-draggable into the administration of Shopware 6 (Version 6.6.10.0). I've followed this guide ...
orb-livan's user avatar
0 votes
0 answers
51 views

NPM Update 10.9.4 to 11.1.0

These are the errors I am getting while updating from npm 10.9.2 to 11.1.0. I tried several commands to fix this issue, but none succeeded. If anyone has encountered this problem before, please share ...
KARTHIK KAMBLE's user avatar
0 votes
1 answer
23 views

Read write on local drive through Streamlit application as executable (built using npm)

new to streamlit and have no experience with npm. I have created streamlit app and packaged it as an executable .exe following a tutorial https://youtu.be/3wZ7GRbr91g?si=8FLBt3PsAxvEEzjo . streamlit ...
amen's user avatar
  • 45
0 votes
0 answers
60 views

Issue with Installing Private GitHub Package: "405 Method Not Allowed" & "Incorrect Packument"

We have an internal package for our UI library, which is stored in the GitHub package registry and installed using the npm command. Now, as of this morning, when we bumped a patch version and ...
rabeeh_ta's user avatar
0 votes
0 answers
20 views

Use Run and Debug in VSCode with a typescript api in an npm workspace that is not at the root of the project

Here is my problem : I need to setup a launch.json command that runs my typescript express api inside a npm workspace that is not at the root folder ! Here's my folder archi : |---- resources (lvl 1) |...
Kolopox's user avatar
  • 408
2 votes
1 answer
96 views

Error when build NestJS project: util_1.isObject is not a function

I am rebuilding a NestJS project that I could run in 8 months ago, with base on the Dockerfile below FROM node:alpine as base WORKDIR /usr/src/app RUN apk add --no-cache ffmpeg COPY package*.json ....
bao.le's user avatar
  • 174
-1 votes
0 answers
39 views

How to Automatically run npm version patch in GitLab CI/CD

I have an Angular monorepo containing one application and three libraries. I am trying to automate versioning and publishing for each library using GitLab CI/CD. Issue 1 (Local behavior): When I run ...
vsam's user avatar
  • 642
-4 votes
0 answers
43 views

Error on GitHub workflow while the command "npm run build" is executed

I'm trying to create the auto-deploy of my React - Node app on a server, but I don't know why the npm run build command for the frontend "compilation" works if I do it with my own SSH ...
Davide Chirichella's user avatar
0 votes
0 answers
98 views

I'm moving to Angular v19 and I'm struggling with setup initialisation of NGRX/store

denormalized-user.selectors.ts:22 Uncaught TypeError: Cannot read properties of undefined (reading 'SelectEntities') After upgrading my application from Angular v18 to v19. I'm getting the error upon ...
paker981's user avatar
0 votes
0 answers
42 views

npm on Windows keeps requiring WSL

I am trying to run my NPM projects on Windows, but when I run npm run dev, it keeps asking me to install WSL, even though I don't want to use it. Here’s what happens: C:\{Path}\GitHub\project> npm ...
Saad_Elkarak's user avatar
0 votes
0 answers
75 views

Vercel build keep install all over again and getting error

So i'm deploy my Next.js project (Frontend) on to Vercel. My previous ones were smooth, but not this time when it keep npm install after build successfully. Here is the full log: [12:03:19.845] ...
tomdapchai's user avatar

1
2 3 4 5
1005