PatrickJS / NG6-starter

:ng: An AngularJS Starter repo for AngularJS + ES6 + Webpack
https://angularclass.github.io/NG6-starter
Apache License 2.0
1.91k stars 1.35k forks source link

Gulp build error on Windows #161

Open billmcknight1953 opened 8 years ago

billmcknight1953 commented 8 years ago

When running gulp build I get the following error:

Error on fetch for C:\Dev\NG6-starter\client\app\app.js at file:///C:/Dev/NG6-starter/client/C:\Dev\NG6-starter\client\app\app.js Error: ENOENT: no such file or directory, open 'C:\Dev\NG6-starter\client\C:\Dev\NG6-starter\client\app\app.js' at Error (native)

Clearly, the error is that, when fetching the app.js file, the path is being prepended with some part of itself. Is there a configuration change I need to make to correct this? This is the JSPM version (This is running on Windows FWIW)

belcherbrandon commented 8 years ago

I haven't tried to dig into it by any means, but changing this line solved it for me: return jspm.bundleSFX('app/app.js', dist, {})

appagg commented 7 years ago

@belcherbrandon I have the same problem building it using git bash in windows. You solution works for me too.