Closed jakenuts closed 8 years ago
@scottaddie Do you know?
@jakenuts I have the extension working when I install Webpack either locally or globally. I wonder if this is a PATH environment variable issue. On my Windows 7 and Windows 10 machines (both using npm 3.5.x and Node 4.2.x), I have the following in my PATH:
C:\Users\Scott Addie\AppData\Roaming\npm
Do you see something like that on your machine?
Also for clarification, I would expect the 3rd path listed above to be the following:
C:\Code\src\myproject\node_modules\.bin\webpack.*
Is this the exact path you see when running Process Monitor?
@jakenuts Any updates to provide on this?
Closing due to inactivity
I installed webpack ala "npm install webpack -g", and was using it directly from the command line in my web project. I then installed WebPackTaskRunner and in the same project when I click on "Run - Development" I get this error:
Error: Cannot find module 'C:\Code\src\myproject\node_modules\webpack\bin\webpack.js'
I used Process Monitor to watch where it was looking and it checked in these three places:
Installing WebPack globally put it in this folder:
Does it need to be installed locally with the project, or is there a way to expand the places it searches (possibly by configuring node differently?)
Thanks!
James