49,918 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
52
views
How to solve electron-prebuilt-compile build and install error
The project is electron+typescript, I enter two commands npm run build and npm start, it hints need install electron-prebuilt-compile package, as shown image.
https://i.sstatic.net/fyvYMR6t.png
The ...
0
votes
0
answers
73
views
How to install yarn with mise version manager
I want to install yarn on my machine globally or by project basis, I installed node js with this command ` mise use --global [email protected]` , but am getting this error continuously when i run mise ...
0
votes
0
answers
29
views
Verdaccio proxies metadata but never downloads tarballs (.tgz) – "uplink is offline" while upstream works
I’m using Verdaccio as an npm proxy registry with multiple uplinks.
Issue:
Package metadata is fetched correctly, but tarball (.tgz) requests are never proxied to the uplink. Verdaccio returns bytes: ...
1
vote
1
answer
34
views
Building a Vue3 component library: Components lose template-reactivity in Consumer-project
Context
I am creating a library of vue3 components and I am testing the build output in another consumer-project.
The specific vue3-component takes data from a service-callback and is not updated ...
0
votes
0
answers
31
views
BrowserSync is syncing with the wrong file but with the same name
I am using BrowserSync to do some live reloading of my css files. I noticed it was working on some files and not others. I thought that was odd so I checked the network log and BrowserSync is syncing ...
1
vote
0
answers
90
views
Unable to publish private npm packages with Lerna on GitLab CI (403 error after npm changes)
Since the recent changes on npm regarding authentication and token permissions, we are no longer able to publish private packages in our monorepo using Lerna in our CI/CD pipeline on a self-hosted ...
0
votes
0
answers
55
views
Authenticating to GCP npm Artifact Registry using Direct Workload Identity Federation from a Bitbucket Pipeline
In my Bitbucket Pipeline I use the following step, with the intention to download some npm dependencies from a private GCP npm Artifact Registry:
- step: &download-dependencies
name: Download ...
1
vote
1
answer
72
views
Overriding dependencies in package.json not having desired effect
Using Node v22.14.0 (npm v11.3.0).
Our package.json includes the following dependencies
"@example/package1": "1.1.0-release.1773790487",
"@example/package2": "2.6.0-...
3
votes
1
answer
179
views
Authentication error when trying to install @livewire/vite-plugin
I've been trying to install @livewire/vite-plugin since last week, but I'm getting an authentication error. I researched it and saw that npmjs is forcing the creation of tokens for validation. I ...
-4
votes
1
answer
63
views
How to fix Rust issue E0515 related to Tauri V2^ [duplicate]
I was working on my Tauri project when I came across this error when I ran npm run tauri dev :
error[E0515]: cannot return value referencing temporary value
--> src/main.rs:209:97
|
209 | ...
0
votes
0
answers
78
views
Next.js dev server runs but localhost:5173 refuses connection on WSL (Windows 11)
I’m running a Next.js 14 project on WSL2 (Ubuntu 22.04) with Node.js v20 via nvm.
The dev server starts without errors and shows:
Local: http://localhost:5173
Network: http://0.0.0.0:5173
However, ...
Best practices
1
vote
1
replies
39
views
How to deal with absolute URLs in npm package-lock.json in a corporate environment
I understand the basic principles of package-lock.json and why it has absolute URLs (so developers can mix packages from different servers like public vs private packages and ensure/enforce this kind ...
Advice
1
vote
2
replies
73
views
Unable to download package
I have issues with downloading "@stream-io/openai-realtime-api" package in NextJS project.
Error:
enter image description here
I tried to clear cash, change registry, used "--legacy-...
0
votes
1
answer
36
views
Define runtype with npm lib "runtypes" that shall check a recursive typescript type
I would like to define a runtype that is equivalent to the following static typescript type:
export type Tourney2 = {
type: 'flat';
name: string;
scoreType: TScoreType;
matches: string;...
Tooling
1
vote
0
replies
36
views
DiagnosticCollection with name 'eslint' does already exist
I'm getting
[warning] DiagnosticCollection with name 'eslint' does already exist.
in the OUTPUT extensions tab when I open the terminal in VS Code.
I type ng serve to run my Angular project and ...