-
Notifications
You must be signed in to change notification settings - Fork 33
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: File to import not found or unreadable: normalize. #1197
Comments
I re-installed Ruby in another machine which had less restrictions on running bash scripts that were being blocked on my previous machine's antivirus software on giving the command "ridk install". This project works fine in my new machine. |
Thanks, maybe this will help other people. |
Having this issue on OSX before and after upgrading Ruby. @Yasachandra can you explain a bit more about the restricitons on bash scripts? tried
and
|
what is the output from running |
Oh sorry I thought you said "was the output from..."
|
I'd like to see the full command, with a focus on the first few lines:
I believe that Sprocket is using sassc here and that's the start of the errors, but I'd like to confirm that first. I'd also like to know if you used |
Sorry about the "obsolete" warnings, I read elsewhere thats a ruby 2.7 issue Yeah, bundle install first.
|
If it's any help, this error came up only after upgrading middleman from 4.2.1 to 4.3.7 because of a security warning: |
Can you post here the contents of your |
repo is here: https://github.com/handshake-org/handshake-org.github.io/tree/master/src/api-docs Appreciate your time! thank you
|
If you first do |
Hmmmmm that wasnt it either...
|
Sorry, I'm not totally sure on how the Ruby ecosystem functions (I primarily work in Python, Node, and PHP), but I guess that you've got sassc installed elsewhere and middleman-sprockets 4 will prefer it over sass if it's at all available (even if not specified for your project. Do you require a specific feature of sprockets 4, or would downgrading to |
@MasterOdin thank you! This turned to be the solution for me. Made the change here: pinheadmz/handshake-org.github.io@e019cc5 Also required turning off cheers! |
explicitly adding gem 'sprockets', '~> 3.7' to the Gemfile works for me. |
I have taken the slate from github on 5-Feb-2020.
I have installed Ruby and i did "middleman build --verbose"
The build fails by giving following:
There were errors during this build
When i check the verbose logs I get the following:
error build/stylesheets/print-9e216c34.css
Error: File to import not found or unreadable: normalize.
on line 2:1 of stdin
^
and
error build/stylesheets/screen-0807b593.css
Error: File to import not found or unreadable: normalize.
on line 2:1 of stdin
^
![screenshot](https://user-images.githubusercontent.com/10618595/73911312-aa446900-48d7-11ea-9ce2-64060584069e.jpg)
Now when i try "bundle middleman exec server" and check localhost port 4567, the css is all messed up. See sceenshot attached.
The text was updated successfully, but these errors were encountered: