Closed bampakoa closed 7 years ago
There appears to be some problem with Angular 2 resolving these components paths from the filesystem, and it probably only affects Windows users.
A workaround is to alter the module id in the component declaration:
moduleId : module.id.split('\\').join('/'),
Thanks for the fix! Do you know if there's a way to apply this trick globally, and not on a component-to-component basis?
I have created an application using Angular2 template and organized my components in folders using component-relative paths such as:
When I start the application I get the following error from the compiler:
*Console output when you run
electron-forge init
with the environment variable `DEBUG=electron-forge:`. (Instructions on how to do so here). Please include the stack trace if one exists.**What command line arguments are you passing?
What does your
config.forge
data inpackage.json
look like?Please provide either a failing minimal testcase (with a link to the code) or detailed steps to reproduce your problem.
https://drive.google.com/file/d/0B9H4CfCJzrtGVW85UWNfM3duVzQ/view?usp=sharing