I’m new to Meteor. Can anyone help me in adding meteor package.
I have used Node version 14.19.0 and I got error while adding akryum:vue-sass package.
I tried changing node version to older version but I still facing error belows.
$ meteor add akryum:vue-sass
=> Errors while adding packages:
While loading package akryum:[email protected]: error: Command failed:
/home/bigsoft/.meteor/packages/meteor-tool/.2.5.1.1c8dly1.o32v++os.linux.x86_64+web.browser+web.browser.legacy+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.12.0/linux-x64-83_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 [ gyp verb cli
‘/home/bigsoft/.meteor/packages/meteor-tool/.2.5.1.1c8dly1.o32v++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node’,
gyp verb cli
‘/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/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 verb cli
] gyp info using [email protected] gyp info using [email protected] | 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 verbwhich
failed Error: not found: python2 gyp verbwhich
failed at getNotFoundError
(/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/which/which.js:13:12)
gyp verbwhich
failed at F
(/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/which/which.js:68:19)
gyp verbwhich
failed at E
(/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/which/which.js:80:29)
gyp verbwhich
failed at
/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/which/which.js:89:16
gyp verbwhich
failed at
/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/isexe/index.js:42:5
gyp verbwhich
failed at
/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/isexe/mode.js:8:5
gyp verbwhich
failed at FSReqCallback.oncomplete (fs.js:191:21)
gyp verbwhich
failed python2 Error: not found: python2 gyp verb
which
failed at getNotFoundError
(/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/which/which.js:13:12)
gyp verbwhich
failed at F
(/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/which/which.js:68:19)
gyp verbwhich
failed at E
(/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/which/which.js:80:29)
gyp verbwhich
failed at
/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/which/which.js:89:16
gyp verbwhich
failed at
“rebuild” “–verbose” “–libsass_ext=” “–libsass_cflags=”
“–libsass_ldflags=” “–libsass_library=” gyp ERR! cwd
/home/bigsoft/.meteor/packages/akryum_vue-sass/.0.1.2.bp32sy.5635m++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-component-sass.os/npm/node_modules/meteor/vue-component-sass/node_modules/.temp-1q712kk.2pt1/node_modules/node-sass gyp ERR! node -v v14.18.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok
Build failed with error code: 1 npm ERR! code ELIFECYCLE npm ERR!
errno 1 npm ERR! [email protected] postinstall:node scripts/build.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the
[email protected] 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/bigsoft/.npm/_logs/2022-02-21T04_25_07_383Z-debug.log
that is all the error messages. Thanks.