Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

Why am I getting this terminal error and how do I fix it?

I keep getting this error when trying to use npm on my VS Code terminal. Does anyone know why it keeps giving me this? Error I tried uninstalling and re-installing the node and it says it is running ...
Mariah Wedel's user avatar
-1 votes
0 answers
11 views

after npm run build certificate folder is emtpy

i have just now cloned corporate github set env variables and run npm run build and npm run dev. it created empty certificate folder and when i try to go to url it says this error: GET / 307 in 298ms ...
vako davitashvili's user avatar
-1 votes
0 answers
29 views

Error: Element type is invalid. Received a promise that resolves to: undefined. Lazy element type must resolve to a class or function [closed]

I am trying to create and publish nextjs ui component Hsciifontpicker inside a [npmjs lib : hsciifontlib]. can I use next/font/local=>localFont function in a npmjs library component ? ...
Vimal Kumar's user avatar
-2 votes
0 answers
27 views

react do not start on pc they show below error [closed]

npm error code ENOENT npm error syscall open npm error path C:\Users\ACER\package.json npm error errno -4058 npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, ...
Prathmesh Shakewar's user avatar
0 votes
0 answers
22 views

How can I deploy a web app with prisma to docker with different os binaries?

Im building my first website on docker and it uses prisma. My project is on windows and I am building onto a linux base-image which I assume is causing problems. When I build my docker file I get the ...
Caden The Yak's user avatar
-3 votes
0 answers
50 views

Cannot find module 'express' in server.js [closed]

I'm working on a Node.js project and express is not found when I use it in server.js. This is what I see when I run pm2 logs. In pm2 the only active process is server.js /home/ec2-user/.pm2/logs/...
Bogdan Mihai Pantelimon's user avatar
-2 votes
1 answer
29 views

Is it safe to use npm package for Amazon SP API application? [closed]

I want to use this library https://www.npmjs.com/package/amazon-sp-api to simplify amazon SP-API data access in my app. But is that safe to use it? Or there is a risk that a developer will do some ...
Kernier's user avatar
  • 17
0 votes
0 answers
27 views

Unable to Download NPM due to EACCES error on MacOS

I am unable to install npm on MacOS Sequoia 15.4. I get the following error: npm error code EACCES npm error syscall rename npm error path /usr/local/lib/node_modules/npm npm error dest /usr/local/lib/...
mfusco's user avatar
  • 57
-2 votes
0 answers
50 views

Why is npm run preview running into a site not found error?

I am following the tutorial at https://www.youtube.com/watch?v=NKqogVcqDHA, where I am Making a React project in WordPress, and here is the code from the boilerplate where I should be seeing what's ...
JustJed's user avatar
1 vote
2 answers
52 views

NPM installation issue

Guys can you please help me on this I have trouble run npm run dev for my windows 11. I tried everything but still error exist. Do i have a problem on my OS? I tried to remove node_modules, run npm ...
Sayan Mondal's user avatar
-4 votes
0 answers
36 views

install reactjs problem using command prompt windows [closed]

I had a problem installing via the Windows command prompt and I have uninstalled and reinstalled but had problems, maybe my friends here can help me with my problem. 0 verbose cli C:\Program Files\...
wiihii's user avatar
  • 33
2 votes
2 answers
117 views
+100

Manage and consume npm packages in ASP.NET Core MVC application using Visual Studio

I installed couple of npm packages in an ASP.NET Core MVC app following instructions at one of the MS Learn's how-to guide: Manage npm packages in Visual Studio After setting up everything, my ...
Khadim Ali's user avatar
  • 2,538
0 votes
1 answer
93 views

Installing Scripts into Nuxtjs 3 + Tailwind project introducing errors

I have a Nuxtjs project using Tailwind CSS that was working locally when build with yarn dev until today when I installed Nuxt Scripts in an attempt to get YouTube embeds working per the documentation ...
d-fws's user avatar
  • 81
-1 votes
1 answer
37 views

About npm create vite@latest command

npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?...
nagur basha's user avatar
0 votes
2 answers
42 views

GitLab npm publish with build electron

My need is to deploy an executable packaged by electron-builder through a GitLab pipeline to go inside package registry. Currently, I have made this workflow that run well. - nvm use 18.20.3 - ...
User.Anonymous's user avatar
0 votes
0 answers
25 views

jspm and npm (separately) both fail to install [email protected]

Need your help in figuring out an installation. We are currently using [email protected] but need to upgrade it. I found that the 3.0.5 version seems to be the latest one without any breaking changes. ...
IFaceErrors's user avatar
1 vote
1 answer
42 views

Error: Cannot find module '../lightningcss.win32-x64-msvc.node when running next.js project

Hey I recently encoountered this error. My old next.js projects work but newly created ones all have this error. I tried cleaning cache with npm rebuilding, npm installing the missing package, ...
Ozan Tutkun's user avatar
0 votes
1 answer
66 views

Run HTML file from a folder / Develop code in Visual Studio without projects or solutions

I am trying to run an HTML file by opening a folder, in Visual Studio 2022, without any solution/project Following below How to tutorial: https://learn.microsoft.com/en-us/visualstudio/ide/develop-...
Khadim Ali's user avatar
  • 2,538
1 vote
0 answers
27 views

Can't automate npm run dev with docker container

When I start my docker container and run npm run dev inside, I get to access my App under http://localhost. However, I want to automate this so that whenever I start the container, npm gets started ...
LearningCS's user avatar
0 votes
2 answers
28 views

How to authenticate with private npm registry using environment variables

I'm publishing an npm package to a private package registry in a GitLab CI pipeline. This is what my job looks like: npm: image: node variables: npm_config_cafile: $CI_SERVER_TLS_CA_FILE ...
jeremywat's user avatar
  • 1,096
0 votes
1 answer
32 views

"npm error code CA_CREATE_SIGNING_CERTIFICATE_ERROR" publishing to private registry

I have a private Gitlab server and I'm trying to publish an npm package in a CI pipeline to the project package registry following this guide. Here's my job: npm: image: node id_tokens: ...
jeremywat's user avatar
  • 1,096
0 votes
0 answers
22 views

Error running npx tailwindcss init — “could not determine executable to run [duplicate]

I'm trying to install Tailwind CSS in my React.js project (created using Vite). I ran the following command successfully: npm install -D tailwindcss postcss autoprefixer But when I try to initialize ...
Mahla Pourali's user avatar
-1 votes
1 answer
47 views

Node.js Conflicts With Git on Windows 10

I have Node and Git installed on Windows 10, I got "npm error code 128" while installing @google/genai. On another Windows 10 machine without Git installed, The same command successfully ...
Hady Shaltout's user avatar
0 votes
1 answer
133 views

tailwindcss command not found after install (npm/yarn) on Windows

I'm encountering a persistent issue setting up Tailwind CSS v4 in a Vite + React project on Windows 10/11. The core problem is that the tailwindcss CLI command is unavailable after installation via ...
Paul Martinez's user avatar
1 vote
1 answer
67 views

Node.js can’t find module on new machine (works on my old computer) npm install had no errors

npm install couchbase --save completes. I get the following error about the missing module when I run npm start. The file it complains about can be found in the d: location it complains about, but ...
Gerry Winning's user avatar
0 votes
1 answer
70 views

TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')

I'm a relatively new dev and I am working through a tutorial on how to build a fullstack demo app on Vercel using nextjs with Prisma and Postgres (link: https://vercel.com/guides/nextjs-prisma-...
Mike McGee's user avatar
0 votes
0 answers
16 views

Can one module find another module using a relative URL?

Looking at the following build script segment from browser-esm-esbuild, npm run build works fine if the file's parent directory is in the same directory as /node_modules. Is there a way to make the ...
erosman's user avatar
  • 7,773
0 votes
0 answers
13 views

How does templates directory end up in dist of the create-next-app package?

In the package.json of create-next-app (v15.3.1-canary.6), the scripts are as follows: "scripts": { "dev": "ncc build ./index.ts -w -o dist/", "prerelease&...
Panhaboth K's user avatar
0 votes
0 answers
22 views

Managing dependency conflicts with npm aliases for design system alpha releases

Background Our frontend team practices Trunk Based Development and Continuous Deployment, but we're the only team in our company doing so. Because of this approach, we make extensive use of feature ...
A Mehmeto's user avatar
  • 2,027
1 vote
1 answer
31 views

npx create-next-app@latest fails with ENOENT error on Windows - spawn C:\WINDOWS\system32

I'm a beginner and encountering an error when running npx create-next-app@latest on Windows 11 in PowerShell. The command fails with an "ENOENT" error related to spawning a process in C:\...
TEJA's user avatar
  • 21
-1 votes
0 answers
43 views

ERR_INVALID_ARG_TYPE : The "file" argument must be of type string. Received undefined

{ "name": "my-react-app", "private": true, "version": "0.0.0", "type": "module", "scripts": { "dev&...
nani's user avatar
  • 9
0 votes
0 answers
20 views

How to setup Storybook with Vue3 - Vite in a workspace of a npm monorepo?

I'm trying to setup storybook with Vue3 & Vite in a workspace of my monorepo. My monorepo looks like this: packages/ ├─ components/ │ ├─ package.json ├─ storybook/ │ ├─ package.json package.json ...
R.Duteil's user avatar
  • 1,237
0 votes
1 answer
45 views

Artifactory NPM Virtual Repository Error 404 when installing package

When creating a virtual NPM Repository with include pattern, you are no longer able to download the package from the repository. I filter the Package base-hmi-test/** As you can see in the picture, ...
herbert's user avatar
  • 13
0 votes
2 answers
98 views

Could not resolve vite@"^4.0.0 || ^5.0.0" from @vitejs/[email protected] - How can install Vite ^6.2.4 from the root project?

I need help with this error. I could not do npm install, this error keeps popping up. PS C:\path\to\project> npm install code ERESOLVE ERESOLVE unable to resolve dependency tree While resolving: ...
Accedix's user avatar
  • 13
0 votes
1 answer
59 views

Why is useRouter() always returning undefined in my library

I have a vue.js library thats supposed to be kinda simple i just have a custom function for creating a vue app like this: import AppComp from "./components/App.vue"; export const ...
Mohammad Si Abbou's user avatar
-3 votes
0 answers
78 views

Error occuring while running npm install. How to fix it

npm ERR! Unexpected end of JSON input while parsing near '...on on the architectur' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\A2775865\AppData\Roaming\npm-cache\_logs\...
Gauthami Aravind's user avatar
0 votes
0 answers
15 views

why am I not able to initialize tailwindcss [duplicate]

I have tried literally everything chat gpt tells me to please help someone I have tried to Manually run Tailwind from local module using node .\node_modules\tailwindcss\lib\cli.js init ` PS C:\...
Reyansh Manta's user avatar
1 vote
1 answer
55 views

Prettier from within Spotless Maven plugin can't find node executable

I'm trying to use Prettier inside the Maven Spotless plugin. The relevant config is similar to this: <plugin> <groupId>com.diffplug.spotless</groupId> <...
Chris Williams's user avatar
0 votes
2 answers
55 views

node_modules deleting dependency automatically

I'm following an angular project where the start of the project is published on github. I forked this and made a clone on my local machine (OS windows 11). pre-requisites : install python. The guide ...
user30086062's user avatar
1 vote
1 answer
73 views

Node.JS: how do I set an environment variable in 1 file to be read all others?

I have a bunch of files that run various tests and return results to a log file. I have helper functions that create and log file and add to it. I want to dynamically name that log file, based off the ...
MeltingDog's user avatar
  • 15.6k
0 votes
1 answer
24 views

Smart contract is not deployed in my current network?

I'm new to blockchain. I setup a ganache network, added it to metamask. I'm trying to start an npm server and it works. On npm start, I'm being redirected to localhost:3000, where there are 4 options. ...
curious cat's user avatar
0 votes
0 answers
22 views

JSPM Install command does not download dependencies in "overrides" section mentioned in project root/package.json

I (new to js) need to do a security fix regarding a transitive dependency in one of our projects. The lodash transitive dependency version in babel-core dependency is being highlighted as version that ...
IFaceErrors's user avatar
1 vote
1 answer
45 views

UntypedFormControl's valid property always returning false

I am working on a ionic cordova-angular project and I have a screen with an input field defined like this in html file. <div class="inputdiv"> <ion-label class="...
Sparsh Sharma's user avatar
1 vote
1 answer
152 views

Type conflict when using Grid component from MUI in TypeScript (TS2769)

I am using the Grid component from the Material-UI (MUI) library in a React project with TypeScript and I'm encountering a type error. When trying to specify the item and component="div" ...
D K's user avatar
  • 11
0 votes
1 answer
68 views

Unexpected ")" CSS syntax error when npm run build a TailwindCSS v4 project

The whole project was building without much problems but since one or two days (and most probably after composer & npm) update/upgrades) it will return the following: npm run build > build >...
Michael Kocurek's user avatar
1 vote
0 answers
50 views

NodeJS Docker container Error: EACCES: permission denied, mkdir '/home/node/app/node_modules'

For local Laravel development I came up with my own docker environment, the web container and the database container are working just fine, I've been using that setup successfully for quite a while ...
antimatter's user avatar
0 votes
0 answers
16 views

is it possible to disable the fill handle for a specific type of column using @selvis ReactGrid?

I'm using ReactGrid, and I want to disable the fill handle for a specific column. In this case, I want to disable it for the image cell type (which is a custom cell). Please let me know if this is ...
Mohamed habib Grami's user avatar
-1 votes
1 answer
40 views

Copied a PHP project with a node_modules folder in it, new project does not seem to find libraries correctly

I have a PHP project where I used npm to install babel to compile .jsx files. I copied the project by manually cloning the parent project folder. Now when I try to run a babel command like: $ /...
Dustin Yoder's user avatar
1 vote
1 answer
47 views

"id.endsWith is not a function" ERROR after fresh installation of laravel using vite

I installed laravel v.11 / laravel v.12, configured vite, tried to build frontend files using npm run build command, but got an ERROR: And if I go into the file to the place where the error message ...
Vitaly Vesyolko's user avatar
0 votes
0 answers
48 views

Ng-Multiselect-dropdown - Error: Cannot read properties of null (reading 'firstCreatePass')

I am trying to use the npm package in angular Ng-Multiselect-Dropdown, I have it installed and all the code in places however when I try to access the page it does not load and the following error is ...
user16592152's user avatar

1
2 3 4 5
1004