Axosoft / nsfw

A super fast and scaleable file watcher that provides a consistent interface on Linux, OSX and Windows
MIT License
901 stars 113 forks source link

Install fails in directories containing a space #145

Closed dnicolson closed 3 years ago

dnicolson commented 3 years ago

This is reproducible with the following:

mkdir Space\ Here
cd Space\ Here
npm i nsfw

This results in:

> node-gyp rebuild

  CXX(target) Release/obj.target/nsfw/src/NSFW.o
clang: error: no such file or directory: 'Here/node_modules/node-addon-api'
make: *** [Release/obj.target/nsfw/src/NSFW.o] Error 1
dnicolson commented 3 years ago

This is an issue with node-gyp, there is a fix in https://github.com/nodejs/node-gyp/pull/1038.