Hi, not sure if I should start a new thread for this?
I am testing Beta4 to see if Project/GIT operations are now working on windows
It didn't work .
NOTE: I have had no luck with pushing to GIT with any version of NR is running on windows 7, windows 10, windows server 2012.
Log of 1st push attempt...
-----------------------------------------------------------
2019-02-03T12:39:04.624Z Push changes : origin/master
2019-02-03T12:39:04.959Z git -c credential.helper= push -u origin HEAD:master --porcelain
2019-02-03T12:39:25.032Z [err] bash: /dev/tty: No such device or address
2019-02-03T12:39:25.043Z [err] error: failed to execute prompt script (exit code 1)
2019-02-03T12:39:25.043Z [err] fatal: could not read Username for 'http://xxxxxxxxx': No error
2019-02-03T12:39:25.066Z rc=128
2nd attempt...
2019-02-03T12:39:48.677Z git -c credential.helper= push -u origin HEAD:master --porcelain
2019-02-03T12:39:58.956Z [err] error: cannot spawn C:\Users\xxxxxxxxx\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\storage\localfilesystem\projects\git\node-red-ask-pass.sh: No such file or directory
2019-02-03T12:40:04.120Z [err] bash: /dev/tty: No such device or address
2019-02-03T12:40:04.130Z [err] error: failed to execute prompt script (exit code 1)
2019-02-03T12:40:04.130Z [err] fatal: could not read Username for 'http://xxxxxxxxx': No error
2019-02-03T12:40:04.152Z rc=128
However, I CD to the project folder and pasted the command NR issued
git -c credential.helper= push -u origin HEAD:master --porcelain
it correctly prompted me for username and password & the push worked.
Other info,
-
node -v
:v8.9.3
-
npm -v
:6.6.0
- Node-red is running from CMD prompt
- I used a NON admin CMD prompt for the manual GIT push
Any ideas?