internal/child_process.js:366
throw errnoException(err, 'spawn');
^
Error: spawn ENOTDIR
at ChildProcess.spawn (internal/child_process.js:366:11)
at spawn (child_process.js:551:9)
at Function.<anonymous> (/home/akshayjvion/.nvm/versions/node/v10.21.0/lib/node_modules/shp2json/index.js:28:22)
at Function.fn (/home/akshayjvion/.nvm/versions/node/v10.21.0/lib/node_modules/shp2json/node_modules/seq/index.js:165:20)
at Function.<anonymous> (/home/akshayjvion/.nvm/versions/node/v10.21.0/lib/node_modules/shp2json/node_modules/seq/index.js:101:24)
at action (/home/akshayjvion/.nvm/versions/node/v10.21.0/lib/node_modules/shp2json/node_modules/seq/index.js:76:11)
at Object.seq (/home/akshayjvion/.nvm/versions/node/v10.21.0/lib/node_modules/shp2json/node_modules/seq/index.js:93:13)
at Object.(anonymous function) [as seq_] (/home/akshayjvion/.nvm/versions/node/v10.21.0/lib/node_modules/shp2json/node_modules/seq/index.js:175:24)
at EventEmitter.saw.next (/home/akshayjvion/.nvm/versions/node/v10.21.0/lib/node_modules/shp2json/node_modules/chainsaw/index.js:52:18)
at /home/akshayjvion/.nvm/versions/node/v10.21.0/lib/node_modules/shp2json/node_modules/seq/index.js:148:25
node/v10.21.0
npm - 6.14.4
Ubuntu.
I am running into this issue when using shp2json. I am using nvm and all the dependencies are stored in nvm directory with symbolic links in /usr/local/bin.
Thank you!