Skip to main content

All Questions

Tagged with
-1 votes
0 answers
11 views

Getting net::ERR_ABORTED 404 (Not Found) at http://localhost:5173/@vite/client in vite project

I have set up a Vite project for vuejs, following the quick start guide to learn the workflow of application development. However, upon launching the app on chrome (or any other browser for that ...
Amittras Pal's user avatar
0 votes
0 answers
21 views

running npm in jenkins gives different output

I made a pipeline where the script would clone a git repo and build the application in server where jenkins was hosted . I verified the node and npm versions with respect to server and jenkins ...
changembidar's user avatar
1 vote
0 answers
9 views

Make frontend maven plugin install node_modules in the same directory as the package.json, NOT in a /node directory

How it works currently: during the generate-resource phase of maven build the frontend maven plugin installs all the dependencies in /node directory created in the working directory specified in the ...
Zdrzalik Przemyslaw's user avatar
0 votes
1 answer
18 views

node.js v18 using babel - how to import module with extension and how to run from build folder (commonJS) while type:module is in package.json

I am using Node.JS v18.20.4 with Babel. Here is my babel.config.json { "presets": [ [ "@babel/preset-env", { "targets": { "node&...
Developer's user avatar
  • 25.8k
0 votes
0 answers
15 views

I'm getting an error installing node-speaker on Mac

I'm getting the following error log when trying to install speaker. $ npm install speaker npm ERR! code 1 npm ERR! path /Users/username/code/play/node_modules/speaker npm ERR! command failed npm ERR! ...
stratospher's user avatar
0 votes
0 answers
32 views

Having trouble running a project locally/ npm install, dependency issues

I am trying to run an example project locally. Its a full stack project so it needs to access a mongodb database. I downloaded the project files, and ran npm install so I could get everything set up, ...
tb444's user avatar
  • 1
1 vote
1 answer
36 views

ng not found error when building Angular project using dockerfile

I came into a very strange issue yesterday. I have been working on an Angular project and deploying using docker. Everything works fine till yesterday, all of sudden I cannot build the docker image. ...
AoLiGei's user avatar
  • 51
0 votes
2 answers
57 views

Why does creating a React/Vite app take so much time?

I'm trying to make a simple app with React but I'm stuck at the first step. It doesn't seem to do anything at all. Tried with both npx create-react-app and npm create vite@latest: It's stuck on the ...
J. Doe's user avatar
  • 93
-2 votes
0 answers
44 views

what is this "ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time"

I have created an npm package and when we run it using npx it outputs the result but also give this error before printing output: ExperimentalWarning: Importing JSON modules is an experimental ...
xkeshav's user avatar
  • 53.5k
2 votes
0 answers
41 views

npx hanging during initialization of react, expo, and next app

I am currently experiencing an issue where the following commands (and potentially more) hang indefinitely when trying to initialize a project: npx create-react-app npx create-expo-app npx create-...
James's user avatar
  • 21
0 votes
1 answer
23 views

Can't install Cordova plugin from GitHub

I'm new to Cordova and I tried to add some packages to my project. I needed to install one specific package from GitHub, so I tried using following: cordova plugin add https://github.com/acipher/pos ...
pepa z depa's user avatar
0 votes
1 answer
15 views

Unexpected permissions errors when running dev script on vite based project

Everytime I try to run project based on Vite and running dev script, this happens. I'm only able to solve this by running VsCode with as administrator. Setting the folder to R&W permissions for ...
Atsukoro's user avatar
1 vote
0 answers
25 views

primevue components not available in custom npm package [Vue warn]: Failed to resolve component

I want to create an npm package that will render a textbox and a button. In this npm package, I want to use primevue Button component. This is the published package link: vue-main-package I use this ...
Jaydev's user avatar
  • 437
-1 votes
0 answers
45 views

Error: Cannot find module 'node:path', while using any npm command

my nodejs app was working fine, then i tried to install mongoose, i dont know what happened, now my npm commands are not working, throwing an error as below PS D:\NodeJS\sample> npm i internal/...
dhiraj's user avatar
  • 1
-1 votes
2 answers
38 views

Getting error when doing npx create-react-app my-react-app

PS C:\Users\ARPIT\Desktop> npx create-react-app my-react-app npm error code ENOENT npm error syscall spawn C:\WINDOWS\system32\cmd.exe npm error path C:\Users\ARPIT\Desktop npm error errno -4058 ...
Arpit Dhuriya's user avatar

15 30 50 per page
1
2 3 4 5
1722