Skip to main content

All Questions

Tagged with
0 votes
0 answers
6 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
  • 427
-1 votes
0 answers
16 views

npm install hangs up when using bundleDependencies [closed]

My package.json dependencies looks as below: "dependencies": { "cors": "^2.8.5", "cross-env": "^7.0.3", "express": "^4.18.2&...
javascript7's user avatar
0 votes
2 answers
41 views

Node gives me as version: v23.0.0-nightly2024071586415e4688

I am trying to update node on UBUNTU (version 22.04.4 LTS) and have followed the official procedure on their site: # installs nvm (Node Version Manager) curl -o- https://raw.githubusercontent.com/nvm-...
Luca's user avatar
  • 353
-2 votes
0 answers
59 views

Unexpected token (254:15) while parsing..\node_modules\marked\library\marked.umd.js while parsing file

Trying to upgrade for marked version 13.0.2 and getting following error in debug console when run npm run watch:client. Unexpected token (254:15) while parsing .. node_modules\marked\lib\marked.umd.js....
Test123's user avatar
0 votes
1 answer
29 views

npm is not working!! Why this error occur when i type "npm -v" or any other of npm

type = npm -v then node:internal/modules/cjs/loader:1148 throw err; ^ Error: Cannot find module '../../package.json' Require stack: C:\Users\App\AppData\Roaming\npm\node_modules\npm\lib\cli\validate-...
Prmt Kumar's user avatar
-2 votes
0 answers
34 views

Incorporate package superheroes in my node [closed]

I really tried incorporte it in my project, but show me error by random. Anybody can help me what is wrong? This is my error code: import superheroes from "superheroes" const ...
Ezequiel's user avatar
1 vote
1 answer
36 views

CLI tool in an NPM package doesn't execute under Node

I would like to publish a NPM package with a CLI utility in it. In the package.json, I have the following line: "bin": "index.js" When I install the package on Windows, a batch ...
Seva Alekseyev's user avatar
-3 votes
0 answers
19 views

how to fix error cb() never called! using npm install?

i want to install packages using npm install and this error returns to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual ...
Mohammad Nadr's user avatar
0 votes
0 answers
8 views

Is it possible to save my generated officegen file in a seperate folder?

I'm using officegen to generate a word document: // Your string content const yourString = aiLog; // Create a new docx object const docx = officegen('docx'); // Create a paragraph with your string ...
Fava's user avatar
  • 1
-2 votes
1 answer
42 views

Mastering resolving dependency issues

I'm trying to set up project from my working computer on my home one. But due to fixed dependency versions something going wrong. Here is my dependencies: "dependencies": { "@...
Artem's user avatar
  • 7
0 votes
0 answers
27 views

Font missing error when generating PDF in Next.js API route but working in standalone Node.js

I am working on a **Next.js project **where I need to generate a PDF file upon hitting an API endpoint. I am encountering a "Helvitica font missing" error when I try to generate the PDF ...
Akshat Jaiswal's user avatar
0 votes
1 answer
19 views

Stripe.customers.cancel is not a function, Stripe version 14.18.0

When running Cypress tests, which call a cleanup function to remove users in Stripe, I get the following error: Body: { "status": 500, "message": "Error while cleaning the ...
ipenguin67's user avatar
  • 1,609
0 votes
1 answer
50 views

Issue with chai-http middleware when using dynamic imports in chai version 5.1.1

I am currently using npm chai version 5.1.1 which now only supports import and not require. I have used dynamic imports which are working fine. However, when I am using the chai-http middleware with ...
pravin pawar's user avatar
-3 votes
0 answers
41 views

Get all public packages in the npm registry

const baseUrl = 'https://replicate.npmjs.com/_all_docs'; const outputFile = 'npm_packages_metadata_7.json'; const pageSize = 1000; const maxRetries = 3; const retryDelay = 5000; // Delay in ...
Martin's user avatar
  • 77
2 votes
1 answer
69 views

node.js error when using: npm run dev, TypeError: require(...) is not a function [closed]

im working on my first project, added a database and im trying to make a login page. while i try to run it using npm run dev. it gives me an error exact error is at the bottom I dont know what causes ...
robbe505's user avatar

15 30 50 per page
1
2 3 4 5
355