I have a typescript project that requires npm 3+. I\'ve install it to C:\\Program Files\\nodesjs, and I set my system environment variables to point there.
I had a similar issue when trying to use Task Runner Explorer with webpack. My issue was that my webpack.config.js file was not in the root of my project (it was in my scripts folder). Moving it to the root did the trick for me.