node-packer icon indicating copy to clipboard operation
node-packer copied to clipboard

No such file or directory @compiler.rb

Open MM2404 opened this issue 7 years ago • 2 comments

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 `

' PS D:\inetpub\wwwbasis\MyMemo>

Used nodec version: 1.0.0

can you tell me what that means or how to fix it?

MM2404 avatar Jun 19 '17 14:06 MM2404

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...

MM2404 avatar Jun 23 '17 11:06 MM2404

The error looks like that git is not installed.

pmq20 avatar Jun 25 '17 14:06 pmq20