How to Import Intellisense files into vsCode (Visual Studio Code)

UPDATE: August 2016: TSD is now depreciated. instead use https://www.npmjs.com/package/typings npm install typings –global OR If using VS2015 NodeJS v1.2 released 29th July 2016 then [email protected] is installed automatically for you during first use: Executing command ‘npm install “C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\MICROSOFT\NODE.JS TOOLS FOR VISUAL STUDIO\1.2\TypingsAcquisitionTool” [email protected] ..\..\..\..\..\node_modules\ntvs-typings-acquisition-tool ├── [email protected] └── [email protected] ([email protected], … Read more

How can I run pm2 on a certain node version?

Use pm2 and specify node version using –interpreter flag with node version absolute path: sudo pm2 start app.js –interpreter=/home/ken/.nvm/v4.4.2/bin/node or sudo pm2 start app.js –interpreter=/home/ken/.nvm/v7.4.0/bin/node etc.. If you change the node version wherever I mentioned –interpreter=”***..” the app will run in exact node version. Once you completed the above approach to verify use following command … Read more

React create app hot reload is not always working on linux

When npm start doesn’t detect changes, below are the common troubleshooting steps provided in the create-react-app documentation – link. While an app is running with npm start and updating code in the editor should possibly refresh the broswer with the updated code. If this doesn’t happen, try one of the following workarounds: If the project … Read more

How can I invoke npm on heroku command line (to install bower components)?

You can also setup a postintall command, something like this in your package.json “dependencies”: { “bower”: “0.6.x” }, “scripts”: { “postinstall”: “./node_modules/bower/bin/bower install” } Then npm install will also install bower dependencies. Pros : one command to rule them all. Cons : you unnecessarily embed bower as a dependency.

Differences between Apache Deft, Webbit and Vert.x [closed]

Disclosure – I’m the vert.x guy 🙂 Vert.x is a fully fledged platform for building polyglot, scalable, asynchronous web-enabled applications. It is heavily inspired from node.js but goes further than node.js and provides a distributed event bus which reaches from the server right into client side JavaScript thus creating a super simple model for so-called … Read more