Materialize:materialize not working on 1.6.1

I’m trying to add materialize package to my meteor project, however it does not start it, I tried running it with allow incompatible option, without success. OS: CentOS 7.
Error I’m getting

PS.
If I remove materialize package everything starts without problems


[ad@osscoutbud rsscout]$ meteor add materialize:materialize --allow-incompatible-update
 => Errors while adding packages:

While loading package materialize:materialize@0.100.2:
error: Command failed:
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
rebuild --update-binary
Cannot download
"https://github.com/sass/node-sass/releases/download/v4.5.2/linux-x64-57_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.

export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

npm config set proxy http://example.com:8080
gyp info it worked if it ends with ok
gyp verb cli [
'/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node',
gyp verb cli
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using node-gyp@3.6.1
gyp info using node@8.9.4 | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /bin/python2
gyp verb check python version `/bin/python2 -c "import platform;
print(platform.python_version());"` returned: "2.7.5\n"
gyp verb get node dir compiling against specified --nodedir dev files:
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle
gyp verb build dir attempting to create "build" dir:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-7n1ecp.bwgia/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created?
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-7n1ecp.bwgia/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-7n1ecp.bwgia/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-7n1ecp.bwgia/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-7n1ecp.bwgia/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /bin/python2
gyp info spawn args [
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-7n1ecp.bwgia/node_modules/node-sass/build/config.gypi',
gyp info spawn args   '-I',
npm ERR! Failed at the node-sass@4.5.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional
logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ad/.npm/_logs/2018-01-29T20_35_49_615Z-debug.log


[ad@osscoutbud rsscout]$ meteor add materialize:materialize@0.97.8 --allow-incompatible-update
 => Errors while adding packages:

While loading package materialize:materialize@0.100.2:
error: Command failed:
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
rebuild --update-binary
Cannot download
"https://github.com/sass/node-sass/releases/download/v4.5.2/linux-x64-57_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.

export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

npm config set proxy http://example.com:8080
gyp info it worked if it ends with ok
gyp verb cli [
'/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node',
gyp verb cli
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using node-gyp@3.6.1
gyp info using node@8.9.4 | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /bin/python2
gyp verb check python version `/bin/python2 -c "import platform;
print(platform.python_version());"` returned: "2.7.5\n"
gyp verb get node dir compiling against specified --nodedir dev files:
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle
gyp verb build dir attempting to create "build" dir:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created?
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /bin/python2
gyp info spawn args [
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args
'-Dnode_root_dir=/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle',
gyp info spawn args
'-Dnode_gyp_dir=/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args
'-Dmodule_root_dir=/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle
gyp verb `which` succeeded for `make` /bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: g++: Command not found
make: *** [Release/obj.target/libsass/src/libsass/src/ast.o] Error 127
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit
(/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/child_process.js:198:12)
gyp ERR! System Linux 3.10.0-693.11.6.el7.x86_64
gyp ERR! command
"/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags="
"--libsass_library="
gyp ERR! cwd
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass
gyp ERR! node -v v8.9.4
gyp ERR! node-gyp -v v3.6.1
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.5.2 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.5.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional
logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ad/.npm/_logs/2018-01-29T20_37_43_629Z-debug.log
Cannot download
"https://github.com/sass/node-sass/releases/download/v4.5.2/linux-x64-57_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.

export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

npm config set proxy http://example.com:8080
gyp info it worked if it ends with ok
gyp verb cli [
'/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node',
gyp verb cli
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using node-gyp@3.6.1
gyp info using node@8.9.4 | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /bin/python2
gyp verb check python version `/bin/python2 -c "import platform;
print(platform.python_version());"` returned: "2.7.5\n"
gyp verb get node dir compiling against specified --nodedir dev files:
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle
gyp verb build dir attempting to create "build" dir:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created?
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /bin/python2
gyp info spawn args [
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args
'-Dnode_root_dir=/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle',
gyp info spawn args
'-Dnode_gyp_dir=/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args
'-Dmodule_root_dir=/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle
gyp verb `which` succeeded for `make` /bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: g++: Command not found
make: *** [Release/obj.target/libsass/src/libsass/src/ast.o] Error 127
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit
(/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/child_process.js:198:12)
gyp ERR! System Linux 3.10.0-693.11.6.el7.x86_64
gyp ERR! command
"/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags="
"--libsass_library="
gyp ERR! cwd
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1xhjle.iwrop/node_modules/node-sass
gyp ERR! node -v v8.9.4
gyp ERR! node-gyp -v v3.6.1
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.5.2 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.5.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional
logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ad/.npm/_logs/2018-01-29T20_37_43_629Z-debug.log


[ad@osscoutbud rsscout]$ meteor add materialize:materialize@0.96.1 --allow-incompatible-update
 => Errors while adding packages:

While loading package materialize:materialize@0.100.2:
error: Command failed:
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
rebuild --update-binary
Cannot download
"https://github.com/sass/node-sass/releases/download/v4.5.2/linux-x64-57_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.

export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

npm config set proxy http://example.com:8080
gyp info it worked if it ends with ok
gyp verb cli [
'/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node',
gyp verb cli
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using node-gyp@3.6.1
gyp info using node@8.9.4 | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /bin/python2
gyp verb check python version `/bin/python2 -c "import platform;
print(platform.python_version());"` returned: "2.7.5\n"
gyp verb get node dir compiling against specified --nodedir dev files:
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle
gyp verb build dir attempting to create "build" dir:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created?
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /bin/python2
gyp info spawn args [
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args
'-Dnode_root_dir=/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle',
gyp info spawn args
'-Dnode_gyp_dir=/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args
'-Dmodule_root_dir=/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle
gyp verb `which` succeeded for `make` /bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: g++: Command not found
make: *** [Release/obj.target/libsass/src/libsass/src/ast.o] Error 127
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit
(/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/child_process.js:198:12)
gyp ERR! System Linux 3.10.0-693.11.6.el7.x86_64
gyp ERR! command
"/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags="
"--libsass_library="
gyp ERR! cwd
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass
gyp ERR! node -v v8.9.4
gyp ERR! node-gyp -v v3.6.1
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.5.2 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.5.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional
logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ad/.npm/_logs/2018-01-29T20_38_41_651Z-debug.log
Cannot download
"https://github.com/sass/node-sass/releases/download/v4.5.2/linux-x64-57_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.

export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

npm config set proxy http://example.com:8080
gyp info it worked if it ends with ok
gyp verb cli [
'/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node',
gyp verb cli
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using node-gyp@3.6.1
gyp info using node@8.9.4 | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /bin/python2
gyp verb check python version `/bin/python2 -c "import platform;
print(platform.python_version());"` returned: "2.7.5\n"
gyp verb get node dir compiling against specified --nodedir dev files:
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle
gyp verb build dir attempting to create "build" dir:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created?
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file:
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /bin/python2
gyp info spawn args [
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args
'/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args
'-Dnode_root_dir=/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle',
gyp info spawn args
'-Dnode_gyp_dir=/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args
'-Dmodule_root_dir=/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir
/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle
gyp verb `which` succeeded for `make` /bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: g++: Command not found
make: *** [Release/obj.target/libsass/src/libsass/src/ast.o] Error 127
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit
(/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/child_process.js:198:12)
gyp ERR! System Linux 3.10.0-693.11.6.el7.x86_64
gyp ERR! command
"/home/ad/.meteor/packages/meteor-tool/.1.6.1.tf1nko.5xio++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags="
"--libsass_library="
gyp ERR! cwd
/home/ad/.meteor/packages/materialize_materialize/.0.100.2.869yfq.dsek++os+web.browser+web.cordova/npm/node_modules/.temp-1x0tlwo.t4j2/node_modules/node-sass
gyp ERR! node -v v8.9.4
gyp ERR! node-gyp -v v3.6.1
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.5.2 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.5.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional
logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ad/.npm/_logs/2018-01-29T20_38_41_651Z-debug.log


Verify if your node version is same of your version meteor code need.

[ad@osscoutbud rsscout]$ meteor add materialize:materialize --allow-incompatible-update
=> Errors while adding packages:

Tried updating gcc

sudo yum install centos-release-scl
sudo yum install devtoolset-7-gcc*
scl enable devtoolset-7 bash
which gcc
gcc --version

I got a lot of issues with Materialize and its dependencies using Atmosphere until I use the npm version. Maybe you should considere using npm.

Hey! How do i add it using npm in Linux? :slight_smile:

I’m also curious on how you add a css library using npm.

Ok, I find the solution from StackOverflow and actually it is an open issue in Github.
click here to see solution.

also here you can see the issue.

first, you need to remove materialize and then install it with the version number compatible with your project.

meteor remove materialize:materialize
meteor add materialize:materialize@=0.97.0

it works for me with no errors.

1 Like