Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

problem with \ vs / in file path in Windows #621

Closed
kbdguy opened this issue Jun 13, 2016 · 1 comment
Closed

problem with \ vs / in file path in Windows #621

kbdguy opened this issue Jun 13, 2016 · 1 comment

Comments

@kbdguy
Copy link

kbdguy commented Jun 13, 2016

A new issue that I bumped into because angular2 seed uses systemjs-builder. Something changed recently and people are getting errors like "Error on fetch for dist\tmp\app\main.js at file:///C:/dev/angular2-seed/node_modules/dist\tmp\app\main.js". Note the inconsistent slashes in that file path. Probably introduced in v 0.15.20

@guybedford
Copy link
Member

SystemJS should always be dealing with / style paths. There may be inconsistencies around the behaviour of \ due to the use of a URL polyfill to handle normalization here. According to the URL spec we should let \ be turned into a / through the resolution process though... I've created systemjs/systemjs#1317 but let me know if that doesn't capture it too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants