Questions tagged [npm-package]

464 questions
-1
votes
1 answer

Unexpected errror : npm WARN config shrinkwrap. Use the --package-lock setting instead

I am getting this warning message though I am building the application successfully. This is the application I am migrating from angular 7 to 13 and getting this error during Angular version 10 to 11 migration. I don't have any npm-shrinkwrap.json…
-1
votes
1 answer

Creating Custom Component Angular Package

I am trying to create components which can be reusable in multiple teams. I created a new angular project and published it to azure devops artifacts. I also tried to use the component in a new project. I am able to reference the common component…
Immortal
  • 1,233
  • 4
  • 20
  • 47
-1
votes
2 answers

Cannot read property 'startsWith' of undefined require('path') resolve

I am trying to add my local custom Nuxt module to my Nuxt application and I keep getting the error: Cannot read property 'startsWith' of undefined at…
S.P
  • 29
  • 1
  • 9
-1
votes
1 answer

How to import nanoid package from npm to Laravels?

I will use unique number using nanoid package from nodejs to laravels, but i get error this. this is mycontroller.
-1
votes
1 answer

How to possible withloop & autoplay carousel in angular 2+

I'm working angular 8. Please suggest image carousel also customize inside carousel images for small devices. Thank you!
Amol
  • 142
  • 1
  • 1
  • 9
-1
votes
1 answer

How to get a website's console content via "web-request" [NPM PKG]

I installed the web-request NPM package and want to get console messages from the website I chose to get. The problem was I didn't know how to. var result = await WebRequest.get('http://discordapp.com/app'); var result2 =…
SomePerson
  • 1,171
  • 4
  • 16
  • 45
-2
votes
2 answers

Using react-router-dom in npm package

There is a navigation and search component in a separate npm package. These components are imported into the project in which react-router-dom is installed. I would like to use a component from react-router-dom called Link in the navigation…
-2
votes
1 answer

Can i push downloaded npm dependencies to gitlab package registry

I am creating a Jenkins pipeline to build an AngularJS project in an air-gapped environment. For this purpose, I would like to push the required dependencies to the GitLab package registry. Is it possible to do that, or are there any other options…
rd17
  • 1
  • 1
-2
votes
2 answers

How to modify a file from Node Modules folder before Npm Run Build

I want to deploy my react app to Digital Ocean using Github, before Digital Ocean runs 'Npm Run Build' I want It to modify a css file In the node modules folder. If you might be wondering, why I wanna do that Just before the build, because It gives…
Andriken sonwane
  • 383
  • 1
  • 5
  • 14
-3
votes
0 answers

identify in who what install npm package

I have package in node module which not in package.json how find what package is resoan for the package node module but not in package.json or find peer depentancy of packages tryied npm ls still those package are not listted in it
-4
votes
1 answer

Select whether the following statement is True or False

"After installing Node.js, nom package manager needs to be installed separately." Select one: . True False
-4
votes
1 answer

Is there a library to get a calendar in react?

hope you all are having a great day. I need an interactive calendar like this in one of my apps I was wondering if there's a library in react that can help me achieve this
1 2 3
30
31