`mrt add` throws an unknown error when installing Atmosphere packages with Vagrant on Windows

Using Vagrant ssh on Windows 7, mrt add scss (as an example) displays the following on the console:

 vagrant@vagrant :/vagrant/MyMeteorApp$ mrt add scss scss tag: https://github.com/fourseven/meteor-scss.git#v0.5.1.1 fs.js:730 return binding.symlink(preprocessSymlinkDestination(destination, type), ^ Error: UNKNOWN, unknown error '/vagrant/MyMeteorApp/packages/scss' at Object.fs.symlinkSync (fs.js:730:18) at /usr/local/lib/node_modules/meteorite/lib/dependencies/package.js:129:10 at /usr/local/lib/node_modules/meteorite/lib/sources/git.js:75:15 at ProxyWriter.<anonymous> (/usr/local/lib/node_modules/meteorite/lib.souces/git.js:138:5) at DirWriter.EventEmitter.emit (events.js:92:17) at end (/usr/local/lib/node_modules/meteorite/node_modules/fstream/lib/writer.js:323:12) at /usr/local/lib/node_modules/meteorite/node_modules/fstream/lib/writer.js:313:32 at endUtimes (/usr/local/lib/node_modules/meteorite/node_modules/fstream/lib/writer.js:239:48 at setProps (/usr/local/lib/node_modules/meteorite/node_modules/fstream/lib/writer.js:296:5) 

The same error appears when you try to install the Atmosphere package for the first time. The command updates "packages" in smart.json:

 "packages": { "scss": {} } 

Whenever mrt starts up again, the console displays smart.json changed.. installing from smart.json and freezes.
I found the package in /home/vagrant/.meteorite/packages/scss , but it is nowhere else.

My environment was configured using firewall provisioning . Node - version 0.10.10. OS - Ubuntu. I tried reinstalling the meteorite with the -H command .

Any help is appreciated, I tried to get it to work for two days.

+6
source share
1 answer

I think the problem. Meteorite 0.6.0 uses symbolic links, but Windows cannot handle this. Try copying the sass folder into packages instead of creating symbolic links. Some packages that you will need to copy using cp -rL

+5
source

Source: https://habr.com/ru/post/946867/


All Articles