-
Notifications
You must be signed in to change notification settings - Fork 359
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
"Illegal character in path" when path has %2f in it #734
Comments
I have got the same issue,. Our feature branch build is not building anymore on jenkins. |
I've tried a couple simple reproductions of this without any success. Can you provide minimal reproduction instructions, ideally that use Sass directly and don't require Angular? |
@nex3 It can be reproduced with angular pretty easily. I'll assume you're starting from nothing:
Unfortunately I know nothing about what |
The problem is that the Angular invocation doesn't seem to produce a stack trace within Dart Sass, which means that we don't have anywhere to start when figuring out what the underlying issue is. |
@nex3 & @adamdport, I’ll try provide some more details on the coming days, I am current a bit short on time. From your end @adamdport, you can probably provide a stackstrace if you console.log the err variable in |
It looks like you can attach a debugger to node with
it will launch and wait for a debugger to connect. Open chrome's inspector, you'll see a little green node icon in the top left: Once you connect, you can set breakpoints wherever you want. |
Just getting a stack trace from the released |
@nex3 if you install an angular project, couldn't you manually replace |
Yes, but it's more of a pain 😝. I'll probably be able to get to diving into the Node debugger within a week or so, but it would be a lot faster if I could just run an Angular-free script. |
Okay, I've found some time to dive into this. It looks like the root cause is dart-lang/sdk#27979. I'll see if I can escalate that issue. |
I believe mbullington/node_preamble.dart#16 should allow us to avoid this issue. |
hello, is there any news on this point? we have the same problem and can't build feature branches (because of the special characters in the folder name) |
mbullington/node_preamble.dart#16 is still out for review. I've sent an email to @mbullington asking him to take a look. |
This should be fixed as of 1.22.9. |
I discovered this issue when building an Angular project. If I build my project from the path
angular
it builds fine. If I build it fromangular%2f
, I get an error:I originally filed the issue in the Angular-cli project, but they said it's an issue with dart-sass and there's nothing they can do. Is this a bug or a configuration error?
I imagine the issue is fairly common as using standard git flow convention creates branches with names like
release/2019.6
, and when built with Jenkins, can result in encoded names likerelease%2f2019.6
.Thanks.
The text was updated successfully, but these errors were encountered: