Click here to Skip to main content
15,879,535 members
Everything / npm

Npm

npm

Great Reads

by O.Nasri
Great article to learn how you can create web application from scratch using Angular2 & .NET CORE WEB API
by Ryan Peden
Writing to a Slack Channel - Node.js Edition
by Sander Rossel
The second in a series on MEAN web development.
by nemanjas
SharePoint Add-In for displaying SP List data with Angular 4. Using NPM, WebPack, TypeScript, SP CSOM, Rxjs and ag-Grid

Latest Articles

by WTDawson
How to use the NuGet package named NPMWrap
by Bhargav Technical Lead
Angular migration to version 16
by Ashish Rastogi @11819728
SharePoint Framework WebPart to retrieve list items using React & REST API
by Pete O'Hanlon
Getting started with TypeScript

All Articles

Sort by Score

npm 

4 Feb 2017 by O.Nasri
Great article to learn how you can create web application from scratch using Angular2 & .NET CORE WEB API
5 Feb 2019 by Ryan Peden
Writing to a Slack Channel - Node.js Edition
27 May 2015 by Sander Rossel
The second in a series on MEAN web development.
11 Mar 2018 by nemanjas
SharePoint Add-In for displaying SP List data with Angular 4. Using NPM, WebPack, TypeScript, SP CSOM, Rxjs and ag-Grid
24 Jul 2018 by Muhammad Usama Khan
In this article, we'll explore what is angular and why we use JS based frameworks when we've already javascript libraries. We'll explore how we can set up Angular Environment in Visual Studio Code.
15 Dec 2019 by Ahmed Bouchefra
How to build GUIs for your Python applications using Electron and web technologies
15 Dec 2019 by Ahmed Bouchefra
How to upload multiple image files using FormData, HttpClient (for posting multipart/form-data), Angular 9/8 and TypeScript
6 Jan 2020 by Ahmed Bouchefra
How to build a fake REST API backend for our Angular frontend using json-server and faker
25 Jan 2022 by Richard MacCutchan
You would most likely get quicker help at Electron | Build cross-platform desktop apps with JavaScript, HTML, and CSS.[^].
11 Sep 2015 by Scott_Reece
Why not knowing about your package license agreements can hurt.
7 Feb 2017 by Caleb McElrath
An all too common tale of a stalled package installation and the valiant efforts to resolve it
18 Oct 2018 by Santosh Vijay Patil
Continuous Testing using Newman (Postman) on TFS 2017 with Docker
20 Oct 2018 by Sibeesh Passion
A look at whether there are any benefits of using npx instead of npm
6 Jan 2020 by Ahmed Bouchefra
We’ll continue building our example app by setting up the router and adding routing for the home and about components
12 Sep 2021 by Telstra
Hi I have installed Noed JS and NPM. I have cloned the repo from git and trying to run the app in local. But I am facing below proxy issue while running app. npm install nodemon npm ERR! code ENOTFOUND npm ERR! errno ENOTFOUND npm ERR! network request to https://registry.npmjs.com/nodemon...
3 Feb 2020 by phil.o
A proxy is a service which takes place between your machine and the external network (internet) and apply access policies based on conditions (client machine, destination address, protocol, port number, time of the day, group membership of the user, etc...). If you have a proxy on your network,...
27 Feb 2020 by Telstra
I have resolved this issue with below steps : make sure you have internet connection: ping 8.8.8.8 make sure you have DNS resolver working: ping www.google.com make sure you can access registry.npmjs.org: ping registry.npmjs.org make sure you...
28 Apr 2020 by Ahmed Bouchefra
Possible ways that you can use to connect or integrate Python with Node.js and Electron with simple examples
25 Jan 2022 by wifinut
I determined that since I'm using Electron Forge as opposed to Electron Builder, the package.json format is different. Problem solved.
24 Nov 2020 by PaulKukiel
How to build and deploy a Typescript lambda function with AWS CDK and Deno layer
21 Sep 2015 by Super Lloyd
Hi,I am trying to learn / play with VS2015 and ASP.NET5I created a new ASP.NET5 Web project (non empty, so it kind of works).On that page https://github.com/RyanCavanaugh/jsx-intro#reusable-components[^] I am told to install react by some arcane commmand "npm install -g bower".... "bower...
21 Sep 2015 by Dave Kreskowiak
It's talking about the Nuget Package Manager. You can either use the command line from the Developer Command Prompt, or it's just easier to use the Package Manager Console inside Visual Studio (Tools menu).The command line your probably looking for is "Install-Package Bower".
21 Sep 2015 by Super Lloyd
Apparently...If I expand the "dependencies" folder I can see bower. If I right click on it it can open "bower.json"If I add this line "react": "0.13.3" in it, I can see a little loading message... then react.js "magically" appeared in my wwwroot\lib folder!I guess there are no command line...
3 Aug 2016 by im.kishore
Hi i need a script (bat or ps.1) to generate node_modules as they are not checked in by the team to the repository. Im doing a XAML build from Visual Studio IDE the build agent folder is like D:builds\2\projectname\buildname\src\code\. I need the node_modules inside that...
5 Oct 2016 by dileep
Build Using NPM and Git
4 Jan 2017 by Hein Pauwelyn
Our team makes a project with a Node.js server and use GitHub as source control. The problem is when I will run the server. I use next steps to test if the master will start the application.git checkout mastergit pullnpm updatenode .\backend\server.jsThe last comment gives me next...
19 Apr 2017 by Member 11936584
Hi., I'm using ng2-facebook-sdk library's, and constructor declare this way constructor(private fb: FacebookService) getting error What I have tried: Declare index.html files I'm...
15 Aug 2017 by manish.communityhub
I want export to excel in angular and web api using npm filesaver In Console I am getting the error message : The request body isn't either a blob or an array buffer Here is my code Web Api : public HttpResponseMessage GetExcelData() { try ...
15 Aug 2017 by manish.communityhub
Ok I got the solution, very simply we can do it. Web Api public void GetExcelData() { string sFileName = System.IO.Path.GetRandomFileName(); string sGenName = "Friendly.xls"; System.IO.FileStream fs = null; fs =...
12 Sep 2017 by Member 11072126
Hi All, I am developing a project using nodejs, angular 2 and mongoDB. I will be using expressJs framework to create the basic structure and then finally will install the dependencies for angular 2 and mongoDB. After running the command 'npm install express --save', when I am trying to run...
28 Feb 2018 by Member 13701429
I have been trying for hours to figure out what is going on with Babel. It is not outputting anything close to what it should. Shown here: I can provide any context/files that you may need to deduce a solution. Thanks. sample script.js function: var nameBuilder = function(firstName="John",...
4 Apr 2018 by dolfijn3000
so i made a small discord bot with node.js and used sqlite in it. i deployed it and it worked. but if i update my bot the whole database get reset becous the old database file overides it. how cna i prevent this from happening ? What I have tried: searching the internet. but id did not find...
4 Apr 2018 by Christiaan van Bergen
The devcenter.heroku.com says[^]: SQLite runs in memory, and backs up its data store in files on disk. While this strategy works well for development, Heroku’s Cedar stack has an ephemeral filesystem. You can write to it, and you can read from it, but the contents will be cleared periodically....
12 Jul 2018 by Dave Ceddia
Access-Control-Allow-Origin: Dealing with CORS Errors in React and Express
10 Oct 2018 by R. B. Krish
In my project I use Bluetooth and USB scanner to integrate with my app. So I use NodeJs to connect the scanner's serial port. There may be a conflict when both Bluetooth and USB scanner gets connected at the same time. So what I need is how can I differentiate serial port whether its a...
10 Dec 2018 by YasIkeda
I needed Ruby in order to run `npm run-script docs` in Bootstrap's project, but the command failed in macOS 10.14.2. It was because Bootstrap's site seems to be created with Jekyll, which works on Ruby, and Ruby installed by default or with XCode did not work well for this purpose.
31 Dec 2018 by harristars
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check the render method of...
28 Jul 2019 by sagar chavada
My point of view to have to declare like this : const schema = { params: { date: Joi.string().required(), id: { name: Joi.string().required(), image: Joi.string().required(), price: { lite: Joi.string().required(), full:...
15 Dec 2019 by Ahmed Bouchefra
How to consume a third-party API using Axios inside an Ionic 4 project based on TypeScript and React
14 Dec 2019 by Ahmed Bouchefra
How to build a React application in four easy steps
18 Apr 2020 by RickZeeland
Maybe the answers here will be of help: vue.js - How to deploy Nuxt with IIS - Stack Overflow[^]
9 Nov 2021 by Abhijeet Singh dbg
Hi all Initally I created a hello world application and hosted it on GoDaddy. I used the command Node index.js To start the server. The page was hosted successfully. But when I hosted a big project of Node Js. Started the server using NPM...
2 Dec 2020 by Member 14989641
I think this may be easy, but I am new to it. I am making a web application using express and nodeJS where I want to use npm install leader-line in my frontend app.js. I can use the script on server/app.js but I will not be able to access the...
6 Dec 2020 by Memby
I getting "no such file or directory" error when I'm trying install typescript. Npm version : 6.14.8 There is a log file. 0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli ...
6 Dec 2020 by Richard MacCutchan
48 error This is an error with npm itself. Please report this error at: 49 error
19 Jan 2021 by Sandeep Mewara
npm ERR! network request to http://registry.npmjs.org/create-react-app failed, reason: getaddrinfo ENOTFOUND proxy.company.com You seem to be behind an incorrect proxy for npm download. You need to configure the proxy as shared here: Using npm...
17 Aug 2021 by Siyam Fahad
I am pretty new to node js, I took an open-source voice assistant codebase from GitHub and working on it, the project is using "npm basic-auth" for authentication, so whenever i start the app a popup appears for login which i cannot modify or...
24 Feb 2022 by raman18
I am trying host a ReactJS application on a virtualhost on CentOS 7 server. After cloning the project on the server, I tried to build the project. But after running "sudo npm install", i got following error: npm ERR! Linux 3.10.0 npm ERR!...
24 Feb 2022 by Andre Oosthuizen
Extraxt from here (covering other platforms like MS, Ubuntu etc) and in your case Linux - Possible Solution For linux users: uninstall NPM, to do it go to /usr/local/lib/node_modules and do: sudo rm -r n npm npx Once uninstalled, re-instal...
4 Mar 2022 by ErrorBot1122
Recently, I've been trying to convert all my CommonJS Syntax into ES syntax for my npm package, and in my old code had, I used the require() to combine all the modules in a folder into 1 larger module. ES6 import syntax sadly breaks that code,...
13 Apr 2022 by Keitaro51
Hello I just published on npm a custom react component (date picker), for learning purposes. Alone, this component and my main app worked. But after installing my home made package in my main project, I have this kind of error. Compiled with...
30 Apr 2022 by Chopin2001
When I moved the n-api of centos running without any problem to Ubuntu and built it, an error occurred. I ran: npm init npm install node-gyp npm install --save bindings npm run build What I have tried: //package.json { "name": "node", ...
11 Sep 2022 by Member 14362033
Hello, Today I was trying to practice power bi using visual studio code and I followed Microsoft doc for practice but I am getting error while executing "npm start" command. Any clue to solve this error? Tried everything but none of it works. ...