Skip to main content

All Questions

Tagged with
1 vote
2 answers
28 views

Angular local library component rendering error (reading 'bindingStartIndex')

I've got a thing to discuss on Angular 12/13. I'm not a huge frontend hero, and have never dealed with own angular libraries, so may be I'm asking stupid questions, so sorry, but.. Here (github) a ...
Andrew Ku's user avatar
-1 votes
0 answers
18 views

Npm vs Yarn on Expo [closed]

On Expo, I heard that PlugnPlay is not supported by Yarn. So there is no reason to use Yarn Berry and hench I don't see any benefits of using Yarn V1 over using npm. Also, I have faced multiple ...
seans's user avatar
  • 9
-2 votes
1 answer
44 views

What is the difference between using ; and && in package.json scripts? [duplicate]

What is the difference between using ; and && in package.json scripts? For example the Lit Element Typescript Starter Project has this script: "checksize": "rollup -c ; cat my-...
Ole's user avatar
  • 45.3k
1 vote
0 answers
15 views

Global installation of my cli tool does not work

I am trying to publish my cli tool in npm and when I install it globally it does not add the binary command correctly. It works if I leave the binary in the dist folder but it adds about 80mb to the ...
Ariel Onoriaga's user avatar
0 votes
0 answers
15 views

Getting MissingPackageName: Invalid or missing package.json file at '' when trying to install node modules

My team and I are in the middle of upgrading our Salesforce DX plugin to SF version 2. While applying changes to the package.json and tsconfig we are getting this error message: "...
Nicole Phillips's user avatar
0 votes
0 answers
14 views

"Avatar" is not exported by "../avatarium/dist/main.js" even though it is?

https://github.com/sfreifeld/avatar-testing Ok I have been playing with this all day and can't figure it out. I'm new to programming in general, but this is my first attempt with Typescript and with ...
Sabrina Freifeld's user avatar
1 vote
1 answer
86 views

NPM not installing the highest available version of a dependency

I have an angular website, and this is a part of it's package-lock.json after running "npm install": Why does npm installed version 5.7.1 of the semver package when it could have installed ...
kovacs lorand's user avatar
0 votes
0 answers
50 views

Nx monorepo and Vite - multiple versions of same dependency in libs

Currently working on an Nx monorepo package-based React application that's structured roughly as follows: /apps/myApp /package.json /vite.config.ts (which extends root-level vite.config.ts file) /...
Mark McKim's user avatar
1 vote
0 answers
32 views

npm link overwrites packages with same @ handle

Lets assume I create two packages (pk1) and pkg2) that are somehow dependent and share the same @ handle for the name field of the package.json. A minimal example for pkg1 might look like this: { &...
FredFloete's user avatar
0 votes
1 answer
26 views

Nodemon not working when using script but works when I use it manually

I had recently been working on project "scripts": { "dev": "nodemon src/index.js", "start": "node src/index.js" } Following are my script ...
Hemal Pandya's user avatar
0 votes
0 answers
24 views

What is a good practice for updating dependencies of old libraries in npm and yarn?

I'm currently using Wiki.js to build a website. I use docker as the primary way of deploying. However, Docker Scout has identified a handful of vulnerabilities in the official image provided by Wiki....
Devious's user avatar
0 votes
0 answers
24 views

Why doesn't lsp(language server protocol) work in the terminal?

'lcp' is not recognized as an internal or external command, operable program or batch file. When I try to run it, this error appears in the terminal. lsp is installed. I work in webstorm I removed lsp,...
nert1n's user avatar
  • 1
1 vote
0 answers
35 views

React - alias in package.json crash on hooks

I need to use React lib aliased. My package.json looks as follows "@types/react-dom-latest": "npm:@types/react-dom@^18.2.17", "@types/react-latest": "npm:@types/...
AbstractProblemFactory's user avatar
0 votes
1 answer
112 views

Trouble with npm Install: Seeking Guidance on Version Compatibility (Angular V16)

I've been encountering some frustrating issues with npm installation lately, and I could really use some assistance. Every time I try to run npm install, I seem to stumble upon incompatible version ...
nickel's user avatar
  • 23
0 votes
0 answers
58 views

Package fails to load as a module, despite index.js is set as a module

I am trying to use the web-worker npm package. However, I get the following error: (node:48786) Warning: To load an ES module, set "type": "module" in the package.json or use the ....
Luigui1729's user avatar

15 30 50 per page
1
2 3 4 5
109