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
Less: This URI cannot be resolved for @import statements #65
Comments
Thanks for the bug report. This was an undesirable side effect of the change for issue #55. |
Will be released with version 1.0.7. |
I got the same error. Though this happens when the import uri is a url, like this:
Will give me the error above. Looks like it's checking the imports in the filesystem (only)? Thanks for fixing this for http uris. |
Only file URLs are supported. |
This is actually a css file and its a css import statement, so it doesn't need to be downloaded. Obviously there is no .css extension. Because there is a yellow warning sign, this looks like my less files do have errors but apparently, they haven't. |
Ok, I see. I'm submitting a change so that all non-file URI will be ignored. This should address your problem. |
I'm getting a 'This URI cannot be resolved' error for every @import statement, even the the files being imported are in the same directory as the .less file that is importing them.
Download Twitter Bootstrap from GitHub. Open the less directory where all the .less files are located. Open bootstrap.less. Every @import statement has the URI cannot be resolved error.
The run configuration that executes the LESS compiler works, though. Execute the run configuration on bootstrap.less and it successfully generates bootstrap.css. But the @imports are flagged with the error.
The text was updated successfully, but these errors were encountered: