question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Never use windows-style path separators in aurelia.json

See original GitHub issue

On 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:closed
  • Created 7 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
mattbrooks2010commented, Sep 23, 2016

Worth noting that aurelia-cli v0.20.0 also uses \ on Windows when generating revision numbers / file hashes for generated bundles.

Example diff:

image

3reactions
einmaligercommented, Oct 11, 2016

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found