Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Conversation

@CrandellWS
Copy link

idea from
nodejs/node-v0.x-archive#8204 (comment)

Without this if statement received error on windows system

c:\npm\node_modules\gistup\lib\gistup\get-settings.js:37
process.stdin.setRawMode(true);
^

TypeError: process.stdin.setRawMode is not a function
at ReadFileContext.callback
(c:\npm\node_modules\gistup\lib\gistup\get-settings.js:37:21)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:303:13)

ajcrites and others added 5 commits June 16, 2015 13:51
Optionally create repo; allow creation simply from file specification
idea from
nodejs/node-v0.x-archive#8204 (comment)

Without this if statement  received error on windows system

c:\npm\node_modules\gistup\lib\gistup\get-settings.js:37
process.stdin.setRawMode(true);
^

TypeError: process.stdin.setRawMode is not a function
at ReadFileContext.callback
(c:\npm\node_modules\gistup\lib\gistup\get-settings.js:37:21)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:303:13)
@CrandellWS
Copy link
Author

next error received with this setup is

C:\npm\node_modules\gistup\lib\gistup\unless.js:11
    throw error;
    ^

Error: Command failed: C:\Windows\system32\cmd.exe /s /c "git commit --allow-empty -m 'Initial gistup commit.'"
error: pathspec 'gistup' did not match any file(s) known to git.
error: pathspec 'commit.'' did not match any file(s) known to git.

    at ChildProcess.exithandler (child_process.js:203:12)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:817:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

@CrandellWS
Copy link
Author

If it helps the settings used to install git without cache...
gitsetup1
gitsetup2
gitsetup3

@CrandellWS
Copy link
Author

seems #25 (comment) is related to #22

@CrandellWS CrandellWS closed this Sep 26, 2015
@CrandellWS CrandellWS reopened this Sep 26, 2015
@CrandellWS
Copy link
Author

oops meant to comment not close sorry

this is a partial fix for windows systems.
@CrandellWS CrandellWS changed the title if (process.stdin.isTTY) Cross platform Sep 28, 2015
@CrandellWS
Copy link
Author

sorry about the mess of commits
cache 😡

@CrandellWS
Copy link
Author

Not sure what else I can do... I do not have any access to Mac OS X to check or verify compatibility which is assumed based on Linux compatibility. Confirmation would be nice.

There is a branch mkg which has a correlated npm package npm install -g mkg this can be used for testing.

CrandellWS and others added 10 commits October 9, 2015 15:36
`GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed` shows when the Gist is opened adding redirect to /dev/null to hide warning.
Add gistup-rename.

Fix crash on open. (See mbostock#3.)

Fix mbostock#17 typo.

emit created url

add bin/gistup-open utility

Minor improvements.

Update README.

Bump version.

Optionally create repo; allow creation simply from file specification

updating package

Updating README with instructions

if (process.stdin.isTTY)

idea from
nodejs/node-v0.x-archive#8204 (comment)

Without this if statement  received error on windows system

c:\npm\node_modules\gistup\lib\gistup\get-settings.js:37
process.stdin.setRawMode(true);
^

TypeError: process.stdin.setRawMode is not a function
at ReadFileContext.callback
(c:\npm\node_modules\gistup\lib\gistup\get-settings.js:37:21)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:303:13)

adding underscores to gitCommit

this is a partial fix for windows systems.

Remind users to read the README.md

Thanks mbostock.

Catching fixable ssh errors

providing more direct information for the end user.

adding cross-platform environment exports

wip (work in progress)

converting  quoted to environment calls

correct opps

merge to deploy

make package

fix repo setting default

npm --tag beta

added gitWin configuring for win32

best way I can think of at the moment. If you have a better way please
pull request

beta version bump

merge->bugfix->now

bug

no comment

if files is function void

version bump

bug fix version release

Aimed to be a milestone

version Bump

Update README.md

+rx

typo fix
Fixing Master Branch to be pulled

adjusting for Linux

changing default to create gist from file list, norepo option

bug fix for windows

GLib-CRITICAL bug

`GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed` shows when the Gist is opened adding redirect to /dev/null to hide warning.

Update README.md

Update README.md

Update README.md

Update get-settings.js
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants