angular-seed: build.prod doesnt work

I’ve followed the #975 , edit package.json devDependencies entry: “systemjs-builder”: “^0.15.14”, change to “systemjs-builder”: “0.15.14”,

but the same problem is shown.

D:\GitWorkSpacePersonal\angular2-seed>gulp build.prod >>log.log [10:14:24] 'build.bundles.app' errored after 2.81 s [10:14:24] Error on fetch for dist/tmp/app/login/login.js at file:///D:/GitWorkS pacePersonal/angular2-seed/dist/tmp/app/login/login.js Loading dist/tmp/app/app.component.js Loading dist/tmp/app/main.js Error: ENOENT: no such file or directory, open 'D:\GitWorkSpacePersonal\ angular2-seed\dist\tmp\app\login\login.js' at Error (native) [10:14:24] 'build.prod' errored after 36 s [10:14:24] Error in plugin 'run-sequence(build.bundles.app)' Message: build.bundles.app callback

Message: ENOENT: no such file or directory, open 'D:\GitWorkSpacePersonal\angular2-seed\dist\tmp\app\login\app\login\login.html' Details: errno: -4058 code: ENOENT syscall: open path: D:\GitWorkSpacePersonal\angular2-seed\dist\tmp\app\login\app\login\login.html fileName: D:\GitWorkSpacePersonal\angular2-seed\dist\tmp\app\login\login.ts

login.ts @Component({ selector : 'login', templateUrl : 'app/login/login.html' }) I think it is wrong with the Relative Paths in templateURL.

and May be this is the real question asked by @lmessinger.

any ideas?

thanks very much

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 19 (5 by maintainers)

Most upvoted comments

@mpx200 there were some changes in systemjs-builder which broke our build so we had to adjust to them. Please update to the latest builder version (take a look at package.json) and make sure you’re following the same configuration as the seed (back slashes vs forward slashes is very important).