raskal
January 7, 2018, 6:30am
1
Whiile trying to update to Meteor 1.6 and later to the patch version…
fourseven:scss and materialize are in too much of a conflict…
fourseven scss is unable to find the node-sass binaries from github… this is a massive pain to try to work out the solution… someone pls help…
C:\Users\rajes\massivrepository>meteor update --patch
=> Errors while initializing project:
While loading package materialize:materialize@0.100.2:
error: Command failed: C:\WINDOWS\system32\cmd.exe /c
C:\Users\rajes\AppData\Local.meteor\packages\meteor-tool\1.6.0_1\mt-os.windows.x86_64\dev_bundle\bin\n
pm.cmd
rebuild --update-binary
Cannot download
"https://github.com/sass/node-sass/releases/download/v4.5.2/win32-x64-57_binding.node ":
HTTP error 404 Not Found
raskal
January 7, 2018, 7:30am
2
Any version above materialize:materialize 0.97.0 is in conflict with fourseven:scss and useraccounts:materialize
Has anyone been able to use versions above materialize 0.97.0 ?
raskal
January 7, 2018, 7:51am
3
This is the error for materialize:materialize version 0.97.7
While checking for fourseven:scss@3.2.0:
error: No compatible binary build found for this package. Contact the package author and ask
them to publish it for your platform.
You are not using the right version of fourseven:scss
with Meteor 1.6. You’ll need 4.5.4 instead of 3.2.0, see https://github.com/fourseven/meteor-scss#compatibility .
And yes, using SCSS in Meteor is way too complex, especially due to the frequent breaking changes in the build tools that happened between 1.1 and 1.4.1. Fortunately, I am not facing these problems since migrating to 1.4+ anymore. Knock on wood. I would love to see MDG support SCSS officially, like they do for less.
raskal
January 7, 2018, 12:04pm
5
Hi Tom
fourseven:scss doesn’t work with those versions either throws errors
about lack of binary compatibility. This is on Windows.
paumee
February 27, 2018, 2:38am
6
Hello everyone,
I have the same issue since upgrading our project to 1.6, it keeps on downloading a non-existent evrsion of node-sass.
However, as I was checking out the compatibility of fourseven scss, https://github.com/fourseven/meteor-scss#compatibility , I did install the required toolchain https://github.com/nodejs/node-gyp#installation
On Windows
Open Command Prompt as Administrator
Enter this command
npm install -g node-gyp
Then this command
npm install --global --production windows-build-tools
Wait until the tools are installed (Python 2.7 and windows build tools)
And then try running meteor again.
Yes, this approach worked for me also on Ubuntu with meteor 1.8.0.1. After running
$ sudo su
$ sudo npm install -g node-gyp
and stopping and restarting meteor, then the scss
stuff compiled for me fine.