node-packer
node-packer copied to clipboard
No such file or directory @compiler.rb
after running nodec .\app\app.js --output=output/app I was encountering the following error:
-> cd D:/inetpub/wwwbasis/MyMemo
-> cd C:/Users/Admin/AppData/Local/Temp/nodec/work_dir/enclose_io_memfs
D:/enclose_io_memfs/local/lib/compiler.rb:173:in ``': No such file or directory - git status (Errno::ENOENT)
from D:/enclose_io_memfs/local/lib/compiler.rb:173:in block in npm_install' from D:/__enclose_io_memfs__/_local_/lib/compiler/utils.rb:33:in
block in chdir'
from D:/enclose_io_memfs/local/lib/compiler/utils.rb:33:in chdir' from D:/__enclose_io_memfs__/_local_/lib/compiler/utils.rb:33:in
chdir'
from D:/enclose_io_memfs/local/lib/compiler.rb:171:in npm_install' from D:/__enclose_io_memfs__/_local_/lib/compiler.rb:141:in
run!'
from /enclose_io_memfs/local/bin/nodec:143:in `
Used nodec version: 1.0.0
can you tell me what that means or how to fix it?
Because of a mistake which was my fault, I was able to run nodec on my project. I am using the Node Version Manager and Node v4.4.7 was activated and I started nodec which failed with the error message from my first post. After that I switched the Node Version to the suggested v8.1.1 without "--clean-tmpdir" and the compilation was going on. The output was useless and now I have to find out why...
The error looks like that git is not installed.