meteor update
=> Errors while initializing project:
While loading package akryum:vue-sass@0.1.2:
error: Command failed: C:\WINDOWS\system32\cmd.exe /c
C:\Users\steve\AppData\Local.meteor\packages\meteor-tool\2.3.4\mt-os.windows.x86_64\dev_bundle\bin\npm.cmd rebuild --update-binary
Cannot download “https://github.com/sass/node-sass/releases/download/v4.12.0/win32-x64-83_binding.node”:
HTTP error 404 Not Found
(also url not available in browser?)
on node v14.17.1 , tried meteor reset, removed node_modules, removed package-lock.json
Hi @markpdev.
node-sass has been deprecated in favour of dart-scss (which in npm is just called ‘scss’).
Until @akryum updates his akryum:vue-scss package, you can update it yourself with:
- On this page: https://github.com/meteor-vue/vue-meteor, in the “Code” button, download as zip.
- Create a
packages
folder in your project directory, and copy vue-meteor-master\packages\vue-sass
from the download into your packages
folder.
- In that folder, edit
package.js
and change line 18 to 'sass': '1.49.0'
.
- Edit the
vue-sass.js
file and change line 3 to import sass from 'sass'
These steps work for me. Now using Meteor 2.5.6…
ref: https://github.com/meteor-vue/vue-meteor/issues/430