Cannot install materialize:matelialize

I can’t install materialize package for atmosphere and while doing it through npm it doesn’t work.

Error when calling

Errors while adding packages by atmosphere:

While loading package materialize:materialize@0.100.2:
error: Command failed: C:\Windows\system32\cmd.exe /c C:\Users…\AppData\Local.meteor\packages\meteor-tool\1.6.1\mt-os.windows.x86_64\dev_bundle\bin\npm.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

Any help?

I use linux and there is no problem.

Here is the thread you want to read:

And here is a possible solution (from the thread):

To fix the issue:

Clone materialize repo in /packages in your meteor directory, then edit package.json and edit line 51 from “node-sass”: “^4.5.2”, to “node-sass”: “^4.5.3”,

Hi, where do I need exactly clone that? And u mean changing that version in materialize package.js?

Let’s try this (assuming that you are on your meteor project folder):

First, remove materialize:materialize from your meteor project:

meteor remove materialize:materialize

Next, create a directory named ‘packages’ if it doesn’t’ exists, and inside create a materialize folder

mkdir -p packages/materialize

Next, clone the repo into this new folder

git clone git@github.com:Dogfalo/materialize.git packages/materialize

Now, add this newly create package to the meteor project

meteor add materialize:materialize

See if it works by running meteor.

1 Like

thank you Bordaix
followed the instruction and get it installed successfully
but shall i do something else to get it take effect? my project page is still no change
if i download the materialize.zip and put the materialize.js and css 2 files to my client folder, the page changes immediately…very confusing
thanks