Never use windows-style path separators in aurelia.json
See original GitHub issueOn Windows, au new
will create an aurelia.json with windows-style path separators (eg "src\\**\\*.js"
). Windows aurelia.json files do not work on other platforms.
Using the /
character for a separator works on all platforms.
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
aurelia/Discuss - Gitter
Does Aurelia expose a debounce outside of binding behaviors? I'd like to use debouncing in my view-model (i.e. a JavaScript class).
Read more >CLI's built-in Bundler - Aurelia
There are many ways to style components in Aurelia. The CLI sets up your project to only process styles inside your application's src...
Read more >Denormalizing path separator in Node.js under Windows
js produces all paths with backslash. It seems like it calls its own normalize() function when other functions (like resolve() ) are called....
Read more >qKO - River Thames Conditions
Jaitlin fanfiction, Swcc surviving the cut full, Applicationcontroller initialize, Syndicate eurocorp theme, Ngoi thien 6 thang, Bonsai schalen set, ...
Read more >Untitled
In Linux/Unix the default shell used is bash and in windows, it is cmd (command prompt). on ... Step2: Write a JSON file...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Worth noting that
aurelia-cli
v0.20.0 also uses\
on Windows when generating revision numbers / file hashes for generated bundles.Example diff:
This really should be fixed. I’m probably not the only one who gets a bad first impression from Aurelia when an app breaks once it’s cloned to a Linux system. The error I got is not very helpful (‘script error’).
May I suggest using path.posix.join() for creating the strings instead of path.join(), e.g.,
path.posix.join('foo', 'bar')
becomes'foo/bar