Skip to main content

All Questions

Tagged with
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
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
0 votes
0 answers
15 views

Webpack complied with 1 error when i try to npm run dev [closed]

I am doing a course on javaScript in udemy. It is first time i am using things like webpack and babel , in my final step of project setting when i try to do npm run dev . I get this error C:\Users\...
Rehm Ali Baloch'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
27 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
43 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
60 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
-1 votes
0 answers
36 views

Npm google.maps - AdvancedMarkerElement does not have all the functions as of Legacy Marker element

I needed to use AdvancedMarkerElement in my Project so have installed Npm package google.maps "@types/google.maps": "^3.55.11" But when i tried replacing marker with ...
Priya Ganesan's user avatar
0 votes
1 answer
31 views

How can I improve on reading large codebases? [closed]

I've been programming for a bit now I'm not that new but sometimes I cant seem to understand code that I read there isn't anything that specific but, for context I have only created web apps never ...
abdulrahman alaa's user avatar
0 votes
0 answers
30 views

How to handle hotfixes with libraries? [closed]

so i have an application that has 5 UI's Repositories, and a ton of npm libraries and services (that we created). We have 3 environments DEV, QA, and PROD. We are deploying changes all of the time to ...
Fran910's user avatar
  • 35
0 votes
1 answer
30 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
0 votes
0 answers
14 views

How to get multiple major versions of dependency in npm workspaces?

I have a monorepo based on npm workspaces. I use npm@10 at this point. It includes multiple libraries and two websites. For a long time we were stuck with React 17 because we supported very old ...
Mr. Hedgehog's user avatar
  • 2,790
0 votes
0 answers
18 views

'parcel index.html' serves files that are different to the ones built by 'parcel build index.html'

I have a top-level await in a script.js module, which is the main module linked to my index.html. The <script> tag has type="module". I have installed parcel locally in the project's ...
Rishikesh Negi's user avatar
2 votes
1 answer
43 views

How do minor/patch upgrades in exposed dependencies affect SemVer?

The SemVer Specification details what to do when dependencies are changed without updating the public API. What exactly constitutes a change to the "public API", however, is still unclear to ...
quixotrykd's user avatar
-2 votes
0 answers
35 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

15 30 50 per page
1
2 3 4 5
676