NPM install fails with node-gyp

We are having problems running “npm install” on our project. A certain file cannot be found : It appears to be coming from the node-gyp module : c:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_lo ad_hook.c(13): fatal error C1083: Cannot open include file: ‘windows.h’: No suc h file or directory [D:\ngs-frontend-next\node_modules\browser-sync\node_module s\socket.io\node_modules\engine.io\node_modules\ws\node_modules\bufferutil\buil d\binding.sln] This node-gyp seems to be a never ending … Read more

DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead

The deprecation message: DeprecationWarning: Tapable.apply is deprecated. Call apply on the plugin directly insteadDeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead Is just a warning: Here is a quick summary for everyone encountering this message. What is this message? webpack 4 is using a new plugin system and deprecates the previous APIs. There are 2 new … Read more

npm WARN package.json: No repository field

It’s just a check as of NPM v1.2.20, they report this as a warning. However, don’t worry, there are sooooooo many packages which still don’t have the repository field in their package.json. The field is used for informational purposes. In the case you’re a package author, put the repository in your package.json, like this: Read more about the repository field, and see the logged bug for further … Read more

npm WARN deprecated [email protected]: Use uuid module instead

When i try:$ npm install -g cordova@latestalways getnpm WARN deprecated [email protected]: Use uuid module instead mac Os Sierra 10.12npm v. 4.4.4node v. 6.10.2 Before install of cordova:$npm list -g node-uuid/usr/local/lib….(empty) After:$npm list -g node-uuid /usr/local/lib…[email protected]……[email protected]…………[email protected]……………[email protected]………………[email protected]…………[email protected]……………[email protected] I tried follow every suggestion and install/uninstall a hundred times.It’s a npm or cordova problem?

NPM self_signed_cert_in_chain

If you’re behind the corporate proxy (which uses e.g. Blue Coat), you should use http instead of https for repository addresses, e.g. See: Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN while using npm. You can also import failing self-certificate into your system and mark as trusted, or temporary disable SSL validation while installing packages (quick, but not recommended method): See: Error: … Read more