Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on Windows #202

Closed
mcollina opened this issue Nov 29, 2018 · 10 comments
Closed

error on Windows #202

mcollina opened this issue Nov 29, 2018 · 10 comments
Labels

Comments

@mcollina
Copy link
Collaborator

Error: Encountered an unparseable frame "(anonymous) D:\a
@AlanSl
Copy link
Contributor

AlanSl commented Nov 29, 2018

Can you post the full file / directory path (what's being chopped after the a) and I'll add it to the edge cases / tests PR I'm working on, which includes a lot of funky stuff with Windows paths, Unicode etc

@AlanSl
Copy link
Contributor

AlanSl commented Nov 29, 2018

Also which version of Node? The fix for Windows path separators being treated as escape patterns has some issues in Node 8 and different issues in Node 11 that aren't in Node 10

@davidmarkclements
Copy link
Owner

I spoke to @mcollina just now – it's Node 10 (and Windows 10)

if it's in the latest 0x release, #201 might be related

@mcollina
Copy link
Collaborator Author

I think the regexp introduced in #193

is not complete/broken on Node 10.

cc @mafintosh

@mcollina
Copy link
Collaborator Author

I think this line

const startPath = line.indexOf(':\\')

needs to change the pattern from :\\ to :\

@AlanSl
Copy link
Contributor

AlanSl commented Nov 30, 2018

There's a bunch of issues with that regex that are fixed in the PR I'm working on, for instance it gets confused by unicode chars like //u12a3 - but in my tests I've only seen that happen on Node 8. What's the text after the a in your path?

Maybe it's mistakenly parsing something like D:/a/n as a newline?

@mcollina
Copy link
Collaborator Author

That happens on Azure pipelines. There is nothing else.

@davidmarkclements
Copy link
Owner

was this ever resolved?

@github-actions
Copy link

github-actions bot commented Jan 2, 2022

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jan 2, 2022
@github-actions
Copy link

github-actions bot commented Jan 7, 2022

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as completed Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants