Monday, 29 May 2017

node command line tools are not compiled on vagrant

I'm using Vagrant on Windows 10. After installing all the dependecies with npm install (or npm install --no-bin-links, since I'm in Vagrant on Windows), ./node_modules/.bin is empty. I expect to find there some command line tools.

In my case, it is svg2png-many that is missing.

I also tried to rebuild with npm rebuild svg2png-many, but this didn't create the missing file.

Note: I didn't get any error running npm install, simply the file is not there:

./svg2png.sh: line 8: ./node_modules/.bin/svg2png-many: No such file or directory

and this is in that file

for t in "${themes[@]}"
do
  echo "dist/img/${t}/"
  ./node_modules/.bin/svg2png-many -i "dist/img/${t}/" "dist/img/${t}/"
done

What should I try next ?



via Lorenz Meyer

No comments:

Post a Comment