jednano / codepainter

A JavaScript beautifier that can both infer coding style and transform code to reflect that style. You can also set style preferences explicitly in a variety of ways.
MIT License
254 stars 18 forks source link

source file emptied on xform #42

Open jsfiles opened 9 years ago

jsfiles commented 9 years ago

Recently, I've found that instead of formatting files, it has been replacing them with 0 byte files. Yuck! This seemed to be tied to one of the supporting modules getting updated, then it went away later (another module update?) and then came back last week.

I'd be happy to learn this is just a configuration issue somewhere. What thoughts do you have?

Sample of codepaint emptying a file



user@host [16:39:52]> ls -l node-beautify-tests.js 
-rwxr-xr-x  1 user  admin  754 Jun  3 16:39 node-beautify-tests.js
user@host [16:40:25]> codepaint xform -e node-beautify-tests.js 

  Editor Config (applied on a file-by-file basis):
   + editor_config = true

  user@host [16:40:29]> ls -l node-beautify-tests.js 
-rwxr-xr-x  1 user admin  0 Jun  3 16:40 node-beautify-tests.js

Sample code to format


/*global js_beautify: true */
/*jshint node:true */

var SanityTest = require('./sanitytest'),
    Urlencoded = require('../lib/unpackers/urlencode_unpacker'),
    js_beautify = require('../index').js_beautify,
    css_beautify = require('../index').css_beautify,
    html_beautify = require('../index').html_beautify,
    run_beautifier_tests = require('./beautify-tests').run_beautifier_tests;

function node_beautifier_tests() {
    var results = run_beautifier_tests(new SanityTest(), Urlencoded, js_beautify, html_beautify, css_beautify);
    console.log(results.results_raw());
    return results;
}

if (require.main === module) {
    process.exit(node_beautifier_tests().get_exitcode());
}

exports.node_beautifier_tests = node_beautifier_tests;

My ~/.editorconfig



; .editorconfig

[**.js]
path     = ~/.vim/bundle/vim-jsbeautify/plugin/beautify.js
bin      = node
indent_size       = 4
indent_style      = space
max_line_length   = 120
quote_type        = double  
space_after_anonymous_functions = false
space_after_control_statements  = true
spaces_around_operators         = true
spaces_in_brackets              = true

[**.css]
indent_size        = 4
indent_style       = space

[**.html]
brace_style        = expand 
indent_size        = 4
indent_style       = space
max_char           = 78

# EditorConfig is awesome: http://EditorConfig.org 
# top-most EditorConfig file
root     = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line        = lf
insert_final_newline         = true 
trim_trailing_whitespace     = true

installed stuff


user@host [16:40:31]> npm ls -g
/usr/local/lib
├─┬ codepainter@0.4.4
│ ├── async@0.9.0
│ ├─┬ cli-color@0.3.3
│ │ ├── d@0.1.1
│ │ ├─┬ es5-ext@0.10.6
│ │ │ ├── es6-iterator@0.1.3
│ │ │ └── es6-symbol@2.0.1
│ │ ├─┬ memoizee@0.3.8
│ │ │ ├─┬ es6-weak-map@0.1.4
│ │ │ │ ├── es6-iterator@0.1.3
│ │ │ │ └── es6-symbol@2.0.1
│ │ │ ├── event-emitter@0.3.3
│ │ │ ├── lru-queue@0.1.0
│ │ │ └── next-tick@0.2.2
│ │ └─┬ timers-ext@0.1.0
│ │   └── next-tick@0.2.2
│ ├─┬ editorconfig@0.11.4
│ │ ├─┬ commander@1.1.1
│ │ │ └── keypress@0.1.0
│ │ ├── lru-cache@2.0.4
│ │ └── sigmund@1.0.0
│ ├── esprima@1.2.5
│ ├── gitlike-cli@0.1.0
│ ├─┬ glob@4.5.3
│ │ ├─┬ inflight@1.0.4
│ │ │ └── wrappy@1.0.1
│ │ ├── inherits@2.0.1
│ │ ├─┬ minimatch@2.0.4
│ │ │ └─┬ brace-expansion@1.1.0
│ │ │   ├── balanced-match@0.2.0
│ │ │   └── concat-map@0.0.1
│ │ └─┬ once@1.3.1
│ │   └── wrappy@1.0.1
│ ├── memorystream@0.2.0
│ ├─┬ mkdirp@0.5.0
│ │ └── minimist@0.0.8
│ └─┬ node.extend@1.1.3
│   └── is@2.1.0
├─┬ editorconfig@0.12.2
│ ├── bluebird@2.9.24
│ ├─┬ commander@1.1.1
│ │ └── keypress@0.1.0
│ ├── lru-cache@2.0.4
│ └── sigmund@1.0.0
├─┬ eslint@0.22.1
│ ├─┬ chalk@1.0.0
│ │ ├── ansi-styles@2.0.1
│ │ ├─┬ has-ansi@1.0.3
│ │ │ ├── ansi-regex@1.1.1
│ │ │ └── get-stdin@4.0.1
│ │ ├─┬ strip-ansi@2.0.1
│ │ │ └── ansi-regex@1.1.1
│ │ └── supports-color@1.3.1
│ ├─┬ concat-stream@1.4.8
│ │ ├── inherits@2.0.1
│ │ ├─┬ readable-stream@1.1.13
│ │ │ ├── core-util-is@1.0.1
│ │ │ ├── isarray@0.0.1
│ │ │ └── string_decoder@0.10.31
│ │ └── typedarray@0.0.6
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├─┬ doctrine@0.6.4
│ │ ├── esutils@1.1.6
│ │ └── isarray@0.0.1
│ ├── escape-string-regexp@1.0.3
│ ├─┬ escope@3.1.0
│ │ ├─┬ es6-map@0.1.1
│ │ │ ├── d@0.1.1
│ │ │ ├─┬ es5-ext@0.10.7
│ │ │ │ └── es6-symbol@2.0.1
│ │ │ ├─┬ es6-iterator@0.1.3
│ │ │ │ └── es6-symbol@2.0.1
│ │ │ ├── es6-set@0.1.1
│ │ │ ├── es6-symbol@0.1.1
│ │ │ └── event-emitter@0.3.3
│ │ ├─┬ es6-weak-map@0.1.4
│ │ │ ├── d@0.1.1
│ │ │ ├── es5-ext@0.10.7
│ │ │ ├── es6-iterator@0.1.3
│ │ │ └── es6-symbol@2.0.1
│ │ ├── esrecurse@3.1.1
│ │ └── estraverse@3.1.0
│ ├── espree@2.0.2
│ ├── estraverse@2.0.0
│ ├── estraverse-fb@1.3.1
│ ├── globals@6.4.1
│ ├─┬ inquirer@0.8.5
│ │ ├── ansi-regex@1.1.1
│ │ ├── cli-width@1.0.1
│ │ ├── figures@1.3.5
│ │ ├── lodash@3.9.3
│ │ ├─┬ readline2@0.1.1
│ │ │ ├── mute-stream@0.0.4
│ │ │ └── strip-ansi@2.0.1
│ │ ├── rx@2.5.2
│ │ └── through@2.3.7
│ ├─┬ is-my-json-valid@2.12.0
│ │ ├── generate-function@2.0.0
│ │ ├─┬ generate-object-property@1.2.0
│ │ │ └── is-property@1.0.2
│ │ ├── jsonpointer@1.1.0
│ │ └── xtend@4.0.0
│ ├─┬ js-yaml@3.3.1
│ │ ├─┬ argparse@1.0.2
│ │ │ ├── lodash@3.9.3
│ │ │ └── sprintf-js@1.0.2
│ │ └── esprima@2.2.0
│ ├─┬ minimatch@2.0.8
│ │ └─┬ brace-expansion@1.1.0
│ │   ├── balanced-match@0.2.0
│ │   └── concat-map@0.0.1
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├── object-assign@2.0.0
│ ├─┬ optionator@0.5.0
│ │ ├── deep-is@0.1.3
│ │ ├── fast-levenshtein@1.0.6
│ │ ├── levn@0.2.5
│ │ ├── prelude-ls@1.1.2
│ │ ├── type-check@0.3.1
│ │ └── wordwrap@0.0.3
│ ├── path-is-absolute@1.0.0
│ ├── strip-json-comments@1.0.2
│ ├── text-table@0.2.0
│ ├── user-home@1.1.1
│ └── xml-escape@1.0.0
├─┬ fixmyjs@1.0.3
│ ├─┬ commander@2.7.1
│ │ └── graceful-readlink@1.0.1
│ ├── diff@1.3.2
│ ├─┬ escodegen@1.6.1
│ │ ├── estraverse@1.9.3
│ │ ├── esutils@1.1.6
│ │ ├─┬ optionator@0.5.0
│ │ │ ├── deep-is@0.1.3
│ │ │ ├── fast-levenshtein@1.0.6
│ │ │ ├── levn@0.2.5
│ │ │ ├── prelude-ls@1.1.1
│ │ │ ├── type-check@0.3.1
│ │ │ └── wordwrap@0.0.2
│ │ └─┬ source-map@0.1.43
│ │   └── amdefine@0.1.0
│ ├── esprima@1.2.5
│ ├── fu@0.1.0
│ └─┬ minimatch@1.0.0
│   ├── lru-cache@2.5.2
│   └── sigmund@1.0.0
├─┬ jscs@1.13.1
│ ├─┬ chalk@1.0.0
│ │ ├── ansi-styles@2.0.1
│ │ ├── escape-string-regexp@1.0.3
│ │ ├─┬ has-ansi@1.0.3
│ │ │ ├── ansi-regex@1.1.1
│ │ │ └── get-stdin@4.0.1
│ │ ├─┬ strip-ansi@2.0.1
│ │ │ └── ansi-regex@1.1.1
│ │ └── supports-color@1.3.1
│ ├─┬ cli-table@0.3.1
│ │ └── colors@1.0.3
│ ├── commander@2.6.0
│ ├── esprima@1.2.5
│ ├── esprima-harmony-jscs@1.1.0-bin
│ ├── estraverse@1.9.3
│ ├── exit@0.1.2
│ ├─┬ glob@5.0.5
│ │ ├─┬ inflight@1.0.4
│ │ │ └── wrappy@1.0.1
│ │ ├── inherits@2.0.1
│ │ ├─┬ once@1.3.1
│ │ │ └── wrappy@1.0.1
│ │ └── path-is-absolute@1.0.0
│ ├─┬ lodash.assign@3.0.0
│ │ ├─┬ lodash._baseassign@3.1.0
│ │ │ ├── lodash._basecopy@3.0.1
│ │ │ ├── lodash.isnative@3.0.2
│ │ │ └─┬ lodash.keys@3.0.6
│ │ │   ├── lodash.isarguments@3.0.1
│ │ │   └── lodash.isarray@3.0.2
│ │ └─┬ lodash._createassigner@3.1.0
│ │   ├── lodash._bindcallback@3.0.1
│ │   ├── lodash._isiterateecall@3.0.6
│ │   └── lodash.restparam@3.6.1
│ ├─┬ minimatch@2.0.7
│ │ └─┬ brace-expansion@1.1.0
│ │   ├── balanced-match@0.2.0
│ │   └── concat-map@0.0.1
│ ├── pathval@0.1.1
│ ├─┬ prompt@0.2.14
│ │ ├── pkginfo@0.3.0
│ │ ├─┬ read@1.0.5
│ │ │ └── mute-stream@0.0.4
│ │ ├── revalidator@0.1.8
│ │ ├─┬ utile@0.2.1
│ │ │ ├── async@0.2.10
│ │ │ ├── deep-equal@1.0.0
│ │ │ ├── i@0.3.3
│ │ │ ├─┬ mkdirp@0.5.0
│ │ │ │ └── minimist@0.0.8
│ │ │ ├── ncp@0.4.2
│ │ │ └─┬ rimraf@2.3.3
│ │ │   └─┬ glob@4.5.3
│ │ │     ├─┬ inflight@1.0.4
│ │ │     │ └── wrappy@1.0.1
│ │ │     ├── inherits@2.0.1
│ │ │     └─┬ once@1.3.1
│ │ │       └── wrappy@1.0.1
│ │ └─┬ winston@0.8.3
│ │   ├── async@0.2.10
│ │   ├── colors@0.6.2
│ │   ├── cycle@1.0.3
│ │   ├── eyes@0.1.8
│ │   ├── isstream@0.1.2
│ │   └── stack-trace@0.0.9
│ ├── strip-json-comments@1.0.2
│ ├── vow@0.4.9
│ ├─┬ vow-fs@0.3.4
│ │ ├─┬ glob@4.5.3
│ │ │ ├─┬ inflight@1.0.4
│ │ │ │ └── wrappy@1.0.1
│ │ │ ├── inherits@2.0.1
│ │ │ └─┬ once@1.3.1
│ │ │   └── wrappy@1.0.1
│ │ ├── node-uuid@1.4.3
│ │ └── vow-queue@0.4.1
│ └─┬ xmlbuilder@2.6.2
│   └── lodash@3.5.0
├─┬ jsdoc@3.3.0-beta3
│ ├── async@0.9.0
│ ├─┬ catharsis@0.8.6
│ │ └─┬ underscore-contrib@0.3.0
│ │   └── underscore@1.6.0
│ ├── escape-string-regexp@1.0.3
│ ├── esprima@1.1.0-dev-harmony
│ ├── js2xmlparser@0.1.9
│ ├── marked@0.3.3
│ ├─┬ requizzle@0.2.1
│ │ └── underscore@1.6.0
│ ├── strip-json-comments@1.0.2
│ ├── taffydb@2.6.2
│ ├── underscore@1.7.0
│ └── wrench@1.5.8
├─┬ jshint@2.8.0
│ ├─┬ cli@0.6.6
│ │ └─┬ glob@3.2.11
│ │   ├── inherits@2.0.1
│ │   └─┬ minimatch@0.3.0
│ │     ├── lru-cache@2.6.4
│ │     └── sigmund@1.0.1
│ ├─┬ console-browserify@1.1.0
│ │ └── date-now@0.1.4
│ ├── exit@0.1.2
│ ├─┬ htmlparser2@3.8.2
│ │ ├── domelementtype@1.3.0
│ │ ├── domhandler@2.3.0
│ │ ├─┬ domutils@1.5.1
│ │ │ └─┬ dom-serializer@0.1.0
│ │ │   ├── domelementtype@1.1.3
│ │ │   └── entities@1.1.1
│ │ ├── entities@1.0.0
│ │ └─┬ readable-stream@1.1.13
│ │   ├── core-util-is@1.0.1
│ │   ├── inherits@2.0.1
│ │   ├── isarray@0.0.1
│ │   └── string_decoder@0.10.31
│ ├── lodash@3.7.0
│ ├─┬ minimatch@2.0.8
│ │ └─┬ brace-expansion@1.1.0
│ │   ├── balanced-match@0.2.0
│ │   └── concat-map@0.0.1
│ ├── shelljs@0.3.0
│ └── strip-json-comments@1.0.2
├─┬ jsinspect@0.5.0
│ ├── acorn@0.10.0
│ ├─┬ chalk@1.0.0
│ │ ├── ansi-styles@2.0.1
│ │ ├── escape-string-regexp@1.0.3
│ │ ├─┬ has-ansi@1.0.3
│ │ │ ├── ansi-regex@1.1.1
│ │ │ └── get-stdin@4.0.1
│ │ ├─┬ strip-ansi@2.0.1
│ │ │ └── ansi-regex@1.1.1
│ │ └── supports-color@1.3.1
│ ├─┬ commander@2.7.1
│ │ └── graceful-readlink@1.0.1
│ ├── diff@1.0.8
│ ├─┬ node-filepaths@0.0.3
│ │ └── file@0.2.2
│ ├─┬ strip-indent@1.0.1
│ │ └── get-stdin@4.0.1
│ └── strip-json-comments@1.0.2
├─┬ npm@2.11.0
│ ├── abbrev@1.0.6
│ ├── ansi@0.3.0
│ ├── ansi-regex@1.1.1
│ ├── ansicolors@0.3.2
│ ├── ansistyles@0.1.3
│ ├── archy@1.0.0
│ ├── async-some@1.0.2
│ ├── block-stream@0.0.8
│ ├── char-spinner@1.0.1
│ ├── chmodr@0.1.1
│ ├── chownr@0.0.2
│ ├── cmd-shim@2.0.1
│ ├─┬ columnify@1.5.1
│ │ └─┬ wcwidth@1.0.0
│ │   └─┬ defaults@1.0.2
│ │     └── clone@0.1.19
│ ├─┬ config-chain@1.1.8
│ │ └── proto-list@1.2.3
│ ├─┬ dezalgo@1.0.2
│ │ └── asap@1.0.0
│ ├── editor@1.0.0
│ ├── fs-vacuum@1.2.6
│ ├── fs-write-stream-atomic@1.0.3
│ ├── fstream@1.0.6
│ ├─┬ fstream-npm@1.0.2
│ │ └── fstream-ignore@1.0.2
│ ├── github-url-from-git@1.4.0
│ ├── github-url-from-username-repo@1.0.2
│ ├─┬ glob@5.0.7
│ │ └── path-is-absolute@1.0.0
│ ├── graceful-fs@3.0.7
│ ├── hosted-git-info@2.1.4
│ ├── inflight@1.0.4
│ ├── inherits@2.0.1
│ ├── ini@1.3.3
│ ├─┬ init-package-json@1.6.0
│ │ ├── promzard@0.3.0
│ │ └─┬ validate-npm-package-license@1.0.0-prerelease-2
│ │   └── spdx-correct@1.0.0-prerelease-3
│ ├── lockfile@1.0.1
│ ├── lru-cache@2.6.4
│ ├─┬ minimatch@2.0.8
│ │ └─┬ brace-expansion@1.1.0
│ │   ├── balanced-match@0.2.0
│ │   └── concat-map@0.0.1
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├─┬ node-gyp@1.0.3
│ │ ├─┬ glob@4.5.3
│ │ │ └─┬ minimatch@2.0.4
│ │ │   └─┬ brace-expansion@1.1.0
│ │ │     ├── balanced-match@0.2.0
│ │ │     └── concat-map@0.0.1
│ │ ├─┬ minimatch@1.0.0
│ │ │ └── sigmund@1.0.0
│ │ └── tar@1.0.3
│ ├── nopt@3.0.2
│ ├── normalize-git-url@1.0.1
│ ├── normalize-package-data@2.2.0
│ ├── npm-cache-filename@1.0.1
│ ├── npm-install-checks@1.0.5
│ ├── npm-package-arg@4.0.1
│ ├─┬ npm-registry-client@6.4.0
│ │ └─┬ concat-stream@1.4.8
│ │   ├─┬ readable-stream@1.1.13
│ │   │ ├── core-util-is@1.0.1
│ │   │ ├── isarray@0.0.1
│ │   │ └── string_decoder@0.10.31
│ │   └── typedarray@0.0.6
│ ├── npm-user-validate@0.1.2
│ ├─┬ npmlog@1.2.1
│ │ ├─┬ are-we-there-yet@1.0.4
│ │ │ ├── delegates@0.1.0
│ │ │ └─┬ readable-stream@1.1.13
│ │ │   ├── core-util-is@1.0.1
│ │ │   ├── isarray@0.0.1
│ │ │   └── string_decoder@0.10.31
│ │ └─┬ gauge@1.2.0
│ │   ├── has-unicode@1.0.0
│ │   ├── lodash._basetostring@3.0.0
│ │   ├─┬ lodash._createpadding@3.6.0
│ │   │ └── lodash.repeat@3.0.0
│ │   ├── lodash.pad@3.1.0
│ │   ├── lodash.padleft@3.1.1
│ │   └── lodash.padright@3.1.1
│ ├── once@1.3.2
│ ├── opener@1.4.1
│ ├── osenv@0.1.1
│ ├── path-is-inside@1.0.1
│ ├─┬ read@1.0.6
│ │ └── mute-stream@0.0.5
│ ├─┬ read-installed@4.0.0
│ │ ├── debuglog@1.0.1
│ │ ├── readdir-scoped-modules@1.0.1
│ │ └── util-extend@1.0.1
│ ├─┬ read-package-json@2.0.0
│ │ └─┬ json-parse-helpfulerror@1.0.3
│ │   └── jju@1.2.0
│ ├─┬ readable-stream@1.0.33
│ │ ├── core-util-is@1.0.1
│ │ ├── isarray@0.0.1
│ │ └── string_decoder@0.10.31
│ ├── realize-package-specifier@3.0.1
│ ├─┬ request@2.55.0
│ │ ├── aws-sign2@0.5.0
│ │ ├── bl@0.9.4
│ │ ├── caseless@0.9.0
│ │ ├─┬ combined-stream@0.0.7
│ │ │ └── delayed-stream@0.0.5
│ │ ├── forever-agent@0.6.1
│ │ ├─┬ form-data@0.2.0
│ │ │ └── async@0.9.0
│ │ ├─┬ har-validator@1.6.1
│ │ │ ├── bluebird@2.9.24
│ │ │ ├─┬ chalk@1.0.0
│ │ │ │ ├── ansi-styles@2.0.1
│ │ │ │ ├── escape-string-regexp@1.0.3
│ │ │ │ ├─┬ has-ansi@1.0.3
│ │ │ │ │ └── get-stdin@4.0.1
│ │ │ │ └── supports-color@1.3.1
│ │ │ ├─┬ commander@2.7.1
│ │ │ │ └── graceful-readlink@1.0.1
│ │ │ └─┬ is-my-json-valid@2.10.1
│ │ │   ├── generate-function@2.0.0
│ │ │   ├─┬ generate-object-property@1.1.1
│ │ │   │ └── is-property@1.0.2
│ │ │   ├── jsonpointer@1.1.0
│ │ │   └── xtend@4.0.0
│ │ ├─┬ hawk@2.3.1
│ │ │ ├── boom@2.7.0
│ │ │ ├── cryptiles@2.0.4
│ │ │ ├── hoek@2.12.0
│ │ │ └── sntp@1.0.9
│ │ ├─┬ http-signature@0.10.1
│ │ │ ├── asn1@0.1.11
│ │ │ ├── assert-plus@0.1.5
│ │ │ └── ctype@0.5.3
│ │ ├── isstream@0.1.2
│ │ ├── json-stringify-safe@5.0.0
│ │ ├─┬ mime-types@2.0.10
│ │ │ └── mime-db@1.8.0
│ │ ├── node-uuid@1.4.3
│ │ ├── oauth-sign@0.6.0
│ │ ├── qs@2.4.1
│ │ ├── stringstream@0.0.4
│ │ ├─┬ tough-cookie@0.12.1
│ │ │ └── punycode@1.3.2
│ │ └── tunnel-agent@0.4.0
│ ├── retry@0.6.1
│ ├─┬ rimraf@2.3.4
│ │ └── glob@4.5.3
│ ├── semver@4.3.4
│ ├─┬ sha@1.3.0
│ │ └─┬ readable-stream@1.1.13
│ │   ├── core-util-is@1.0.1
│ │   ├── isarray@0.0.1
│ │   └── string_decoder@0.10.31
│ ├── slide@1.1.6
│ ├── sorted-object@1.0.0
│ ├─┬ spdx@0.4.0
│ │ └── spdx-license-ids@1.0.0
│ ├── strip-ansi@2.0.1
│ ├── tar@2.1.1
│ ├── text-table@0.2.0
│ ├── uid-number@0.0.6
│ ├── umask@1.1.0
│ ├─┬ validate-npm-package-name@2.2.0
│ │ └── builtins@0.0.7
│ ├─┬ which@1.1.1
│ │ └─┬ is-absolute@0.1.7
│ │   └── is-relative@0.1.3
│ ├── wrappy@1.0.1
│ └── write-file-atomic@1.1.2
├─┬ npm-check@3.2.10
│ ├─┬ buffered-spawn@1.1.0
│ │ ├─┬ cross-spawn@0.2.9
│ │ │ └── lru-cache@2.5.2
│ │ └── err-code@0.1.2
│ ├─┬ chalk@1.0.0
│ │ ├── ansi-styles@2.0.1
│ │ ├── escape-string-regexp@1.0.3
│ │ ├─┬ has-ansi@1.0.3
│ │ │ ├── ansi-regex@1.1.1
│ │ │ └── get-stdin@4.0.1
│ │ ├─┬ strip-ansi@2.0.1
│ │ │ └── ansi-regex@1.1.1
│ │ └── supports-color@1.3.1
│ ├─┬ commander@2.7.1
│ │ └── graceful-readlink@1.0.1
│ ├─┬ depcheck@0.4.5
│ │ ├─┬ detective@4.0.0
│ │ │ ├── acorn@0.9.0
│ │ │ ├── defined@0.0.0
│ │ │ └─┬ escodegen@1.6.1
│ │ │   ├── esprima@1.2.5
│ │ │   ├── estraverse@1.9.3
│ │ │   ├── esutils@1.1.6
│ │ │   ├─┬ optionator@0.5.0
│ │ │   │ ├── deep-is@0.1.3
│ │ │   │ ├── fast-levenshtein@1.0.6
│ │ │   │ ├── levn@0.2.5
│ │ │   │ ├── prelude-ls@1.1.1
│ │ │   │ ├── type-check@0.3.1
│ │ │   │ └── wordwrap@0.0.2
│ │ │   └─┬ source-map@0.1.43
│ │ │     └── amdefine@0.1.0
│ │ ├─┬ minimatch@2.0.4
│ │ │ └─┬ brace-expansion@1.1.0
│ │ │   ├── balanced-match@0.2.0
│ │ │   └── concat-map@0.0.1
│ │ ├─┬ optimist@0.6.1
│ │ │ ├── minimist@0.0.10
│ │ │ └── wordwrap@0.0.2
│ │ └── walkdir@0.0.7
│ ├── giturl@0.0.3
│ ├─┬ globby@1.2.0
│ │ ├─┬ array-union@1.0.1
│ │ │ └── array-uniq@1.0.2
│ │ ├── async@0.9.0
│ │ ├─┬ glob@4.5.3
│ │ │ ├─┬ inflight@1.0.4
│ │ │ │ └── wrappy@1.0.1
│ │ │ ├── inherits@2.0.1
│ │ │ ├─┬ minimatch@2.0.4
│ │ │ │ └─┬ brace-expansion@1.1.0
│ │ │ │   ├── balanced-match@0.2.0
│ │ │ │   └── concat-map@0.0.1
│ │ │ └─┬ once@1.3.1
│ │ │   └── wrappy@1.0.1
│ │ └── object-assign@2.0.0
│ ├─┬ inquirer@0.8.2
│ │ ├── ansi-regex@1.1.1
│ │ ├── cli-width@1.0.1
│ │ ├── figures@1.3.5
│ │ ├─┬ readline2@0.1.1
│ │ │ ├── mute-stream@0.0.4
│ │ │ └── strip-ansi@2.0.1
│ │ ├── rx@2.5.2
│ │ └── through@2.3.7
│ ├── lodash@3.6.0
│ ├─┬ npm-registry-client@6.3.0
│ │ ├── chownr@0.0.1
│ │ ├─┬ concat-stream@1.4.8
│ │ │ ├── inherits@2.0.1
│ │ │ ├─┬ readable-stream@1.1.13
│ │ │ │ ├── core-util-is@1.0.1
│ │ │ │ ├── isarray@0.0.1
│ │ │ │ └── string_decoder@0.10.31
│ │ │ └── typedarray@0.0.6
│ │ ├── graceful-fs@3.0.6
│ │ ├─┬ mkdirp@0.5.0
│ │ │ └── minimist@0.0.8
│ │ ├─┬ normalize-package-data@2.0.0
│ │ │ └── hosted-git-info@2.1.2
│ │ ├─┬ npm-package-arg@4.0.0
│ │ │ └── hosted-git-info@2.1.2
│ │ ├─┬ npmlog@1.2.0
│ │ │ ├── ansi@0.3.0
│ │ │ ├─┬ are-we-there-yet@1.0.4
│ │ │ │ ├── delegates@0.1.0
│ │ │ │ └─┬ readable-stream@1.1.13
│ │ │ │   ├── core-util-is@1.0.1
│ │ │ │   ├── inherits@2.0.1
│ │ │ │   ├── isarray@0.0.1
│ │ │ │   └── string_decoder@0.10.31
│ │ │ └─┬ gauge@1.2.0
│ │ │   ├── has-unicode@1.0.0
│ │ │   ├─┬ lodash.pad@3.1.0
│ │ │   │ ├── lodash._basetostring@3.0.0
│ │ │   │ └─┬ lodash._createpadding@3.6.0
│ │ │   │   └── lodash.repeat@3.0.0
│ │ │   ├─┬ lodash.padleft@3.1.0
│ │ │   │ ├── lodash._basetostring@3.0.0
│ │ │   │ └─┬ lodash._createpadding@3.6.0
│ │ │   │   └── lodash.repeat@3.0.0
│ │ │   └─┬ lodash.padright@3.1.0
│ │ │     ├── lodash._basetostring@3.0.0
│ │ │     └─┬ lodash._createpadding@3.6.0
│ │ │       └── lodash.repeat@3.0.0
│ │ ├─┬ once@1.3.1
│ │ │ └── wrappy@1.0.1
│ │ ├─┬ request@2.55.0
│ │ │ ├── aws-sign2@0.5.0
│ │ │ ├─┬ bl@0.9.4
│ │ │ │ └─┬ readable-stream@1.0.33
│ │ │ │   ├── core-util-is@1.0.1
│ │ │ │   ├── inherits@2.0.1
│ │ │ │   ├── isarray@0.0.1
│ │ │ │   └── string_decoder@0.10.31
│ │ │ ├── caseless@0.9.0
│ │ │ ├─┬ combined-stream@0.0.7
│ │ │ │ └── delayed-stream@0.0.5
│ │ │ ├── forever-agent@0.6.1
│ │ │ ├─┬ form-data@0.2.0
│ │ │ │ └── async@0.9.0
│ │ │ ├─┬ har-validator@1.6.1
│ │ │ │ ├── bluebird@2.9.24
│ │ │ │ └─┬ is-my-json-valid@2.10.1
│ │ │ │   ├── generate-function@2.0.0
│ │ │ │   ├─┬ generate-object-property@1.1.1
│ │ │ │   │ └── is-property@1.0.2
│ │ │ │   ├── jsonpointer@1.1.0
│ │ │ │   └── xtend@4.0.0
│ │ │ ├─┬ hawk@2.3.1
│ │ │ │ ├── boom@2.7.0
│ │ │ │ ├── cryptiles@2.0.4
│ │ │ │ ├── hoek@2.12.0
│ │ │ │ └── sntp@1.0.9
│ │ │ ├─┬ http-signature@0.10.1
│ │ │ │ ├── asn1@0.1.11
│ │ │ │ ├── assert-plus@0.1.5
│ │ │ │ └── ctype@0.5.3
│ │ │ ├── isstream@0.1.2
│ │ │ ├── json-stringify-safe@5.0.0
│ │ │ ├─┬ mime-types@2.0.10
│ │ │ │ └── mime-db@1.8.0
│ │ │ ├── node-uuid@1.4.3
│ │ │ ├── oauth-sign@0.6.0
│ │ │ ├── qs@2.4.1
│ │ │ ├── stringstream@0.0.4
│ │ │ ├─┬ tough-cookie@0.12.1
│ │ │ │ └── punycode@1.3.2
│ │ │ └── tunnel-agent@0.4.0
│ │ ├── retry@0.6.1
│ │ ├─┬ rimraf@2.3.2
│ │ │ └─┬ glob@4.5.3
│ │ │   ├─┬ inflight@1.0.4
│ │ │   │ └── wrappy@1.0.1
│ │ │   ├── inherits@2.0.1
│ │ │   └─┬ minimatch@2.0.4
│ │ │     └─┬ brace-expansion@1.1.0
│ │ │       ├── balanced-match@0.2.0
│ │ │       └── concat-map@0.0.1
│ │ └── slide@1.1.6
│ ├─┬ npmconf@2.1.1
│ │ ├─┬ config-chain@1.1.8
│ │ │ └── proto-list@1.2.3
│ │ ├── inherits@2.0.1
│ │ ├── ini@1.3.3
│ │ ├─┬ mkdirp@0.5.0
│ │ │ └── minimist@0.0.8
│ │ ├─┬ nopt@3.0.1
│ │ │ └── abbrev@1.0.5
│ │ ├─┬ once@1.3.1
│ │ │ └── wrappy@1.0.1
│ │ ├── osenv@0.1.0
│ │ └── uid-number@0.0.5
│ ├── q@1.2.0
│ ├─┬ registry-url@3.0.3
│ │ └─┬ rc@1.0.1
│ │   ├── deep-extend@0.2.11
│ │   ├── ini@1.3.3
│ │   ├── minimist@0.0.10
│ │   └── strip-json-comments@0.1.3
│ ├── semver@4.3.3
│ ├── semver-diff@2.0.0
│ ├── text-table@0.2.0
│ └─┬ update-notifier@0.3.2
│   ├─┬ configstore@0.3.2
│   │ ├── graceful-fs@3.0.6
│   │ ├─┬ js-yaml@3.2.7
│   │ │ ├─┬ argparse@1.0.2
│   │ │ │ └── sprintf-js@1.0.2
│   │ │ └── esprima@2.0.0
│   │ ├─┬ mkdirp@0.5.0
│   │ │ └── minimist@0.0.8
│   │ ├── object-assign@2.0.0
│   │ ├── osenv@0.1.0
│   │ ├── user-home@1.1.1
│   │ ├── uuid@2.0.1
│   │ └── xdg-basedir@1.0.1
│   ├── is-npm@1.0.0
│   ├─┬ latest-version@1.0.0
│   │ └─┬ package-json@1.1.0
│   │   └─┬ got@2.7.2
│   │     ├─┬ duplexify@3.2.0
│   │     │ ├─┬ end-of-stream@1.0.0
│   │     │ │ └─┬ once@1.3.1
│   │     │ │   └── wrappy@1.0.1
│   │     │ └─┬ readable-stream@1.0.33
│   │     │   ├── core-util-is@1.0.1
│   │     │   ├── inherits@2.0.1
│   │     │   ├── isarray@0.0.1
│   │     │   └── string_decoder@0.10.31
│   │     ├── infinity-agent@1.0.2
│   │     ├── is-stream@1.0.1
│   │     ├── lowercase-keys@1.0.0
│   │     ├── nested-error-stacks@1.0.0
│   │     ├── object-assign@2.0.0
│   │     ├── prepend-http@1.0.1
│   │     ├─┬ read-all-stream@2.1.2
│   │     │ └─┬ readable-stream@1.1.13
│   │     │   ├── core-util-is@1.0.1
│   │     │   ├── inherits@2.0.1
│   │     │   ├── isarray@0.0.1
│   │     │   └── string_decoder@0.10.31
│   │     ├── statuses@1.2.1
│   │     └── timed-out@2.0.0
│   └─┬ string-length@1.0.0
│     └─┬ strip-ansi@2.0.1
│       └── ansi-regex@1.1.1
└─┬ standard@4.0.1
  ├─┬ dezalgo@1.0.2
  │ ├── asap@1.0.0
  │ └── wrappy@1.0.1
  ├─┬ eslint@0.21.2
  │ ├─┬ chalk@1.0.0
  │ │ ├── ansi-styles@2.0.1
  │ │ ├─┬ has-ansi@1.0.3
  │ │ │ └── ansi-regex@1.1.1
  │ │ ├─┬ strip-ansi@2.0.1
  │ │ │ └── ansi-regex@1.1.1
  │ │ └── supports-color@1.3.1
  │ ├─┬ concat-stream@1.4.8
  │ │ ├── inherits@2.0.1
  │ │ ├─┬ readable-stream@1.1.13
  │ │ │ ├── core-util-is@1.0.1
  │ │ │ ├── isarray@0.0.1
  │ │ │ └── string_decoder@0.10.31
  │ │ └── typedarray@0.0.6
  │ ├─┬ debug@2.2.0
  │ │ └── ms@0.7.1
  │ ├─┬ doctrine@0.6.4
  │ │ ├── esutils@1.1.6
  │ │ └── isarray@0.0.1
  │ ├── escape-string-regexp@1.0.3
  │ ├─┬ escope@3.1.0
  │ │ ├─┬ es6-map@0.1.1
  │ │ │ ├── d@0.1.1
  │ │ │ ├─┬ es5-ext@0.10.7
  │ │ │ │ └── es6-symbol@2.0.1
  │ │ │ ├─┬ es6-iterator@0.1.3
  │ │ │ │ └── es6-symbol@2.0.1
  │ │ │ ├── es6-set@0.1.1
  │ │ │ ├── es6-symbol@0.1.1
  │ │ │ └── event-emitter@0.3.3
  │ │ ├─┬ es6-weak-map@0.1.4
  │ │ │ ├── d@0.1.1
  │ │ │ ├── es5-ext@0.10.7
  │ │ │ ├── es6-iterator@0.1.3
  │ │ │ └── es6-symbol@2.0.1
  │ │ ├── esrecurse@3.1.1
  │ │ └── estraverse@3.1.0
  │ ├── espree@2.0.2
  │ ├── estraverse@2.0.0
  │ ├── estraverse-fb@1.3.1
  │ ├── globals@6.4.1
  │ ├─┬ inquirer@0.8.5
  │ │ ├── ansi-regex@1.1.1
  │ │ ├── cli-width@1.0.1
  │ │ ├── figures@1.3.5
  │ │ ├── lodash@3.9.3
  │ │ ├─┬ readline2@0.1.1
  │ │ │ ├── mute-stream@0.0.4
  │ │ │ └── strip-ansi@2.0.1
  │ │ ├── rx@2.5.2
  │ │ └── through@2.3.7
  │ ├─┬ js-yaml@3.3.1
  │ │ ├─┬ argparse@1.0.2
  │ │ │ ├── lodash@3.9.3
  │ │ │ └── sprintf-js@1.0.2
  │ │ └── esprima@2.2.0
  │ ├─┬ minimatch@2.0.8
  │ │ └─┬ brace-expansion@1.1.0
  │ │   ├── balanced-match@0.2.0
  │ │   └── concat-map@0.0.1
  │ ├─┬ mkdirp@0.5.1
  │ │ └── minimist@0.0.8
  │ ├── object-assign@2.0.0
  │ ├─┬ optionator@0.5.0
  │ │ ├── deep-is@0.1.3
  │ │ ├── fast-levenshtein@1.0.6
  │ │ ├── levn@0.2.5
  │ │ ├── prelude-ls@1.1.2
  │ │ ├── type-check@0.3.1
  │ │ └── wordwrap@0.0.3
  │ ├── path-is-absolute@1.0.0
  │ ├── strip-json-comments@1.0.2
  │ ├── text-table@0.2.0
  │ ├── user-home@1.1.1
  │ └── xml-escape@1.0.0
  ├── eslint-config-standard@2.0.0
  ├── eslint-plugin-react@2.4.0
  ├── find-root@0.1.1
  ├── get-stdin@4.0.1
  ├─┬ glob@5.0.10
  │ ├─┬ inflight@1.0.4
  │ │ └── wrappy@1.0.1
  │ ├── inherits@2.0.1
  │ ├─┬ minimatch@2.0.8
  │ │ └─┬ brace-expansion@1.1.0
  │ │   ├── balanced-match@0.2.0
  │ │   └── concat-map@0.0.1
  │ ├─┬ once@1.3.2
  │ │ └── wrappy@1.0.1
  │ └── path-is-absolute@1.0.0
  ├── ignore@2.2.15
  ├── minimist@1.1.1
  ├── run-parallel@1.1.1
  ├─┬ standard-format@1.3.6
  │ ├─┬ esformatter@0.6.1
  │ │ ├── debug@0.7.4
  │ │ ├── mout@0.11.0
  │ │ ├─┬ npm-run@1.1.1
  │ │ │ ├─┬ npm-path@1.0.1
  │ │ │ │ └─┬ which@1.1.1
  │ │ │ │   └─┬ is-absolute@0.1.7
  │ │ │ │     └── is-relative@0.1.3
  │ │ │ ├─┬ serializerr@1.0.1
  │ │ │ │ └── protochain@1.0.2
  │ │ │ └── sync-exec@0.5.0
  │ │ ├─┬ optimist@0.6.1
  │ │ │ ├── minimist@0.0.10
  │ │ │ └── wordwrap@0.0.3
  │ │ ├── resolve@1.1.6
  │ │ ├─┬ rocambole@0.6.0
  │ │ │ └── esprima@2.2.0
  │ │ ├─┬ rocambole-indent@2.0.4
  │ │ │ └─┬ debug@2.2.0
  │ │ │   └── ms@0.7.1
  │ │ ├─┬ rocambole-linebreak@1.0.1
  │ │ │ ├─┬ debug@2.2.0
  │ │ │ │ └── ms@0.7.1
  │ │ │ └── semver@4.3.6
  │ │ ├── rocambole-node@1.0.0
  │ │ ├── rocambole-token@1.2.1
  │ │ ├─┬ rocambole-whitespace@1.0.0
  │ │ │ ├─┬ debug@2.2.0
  │ │ │ │ └── ms@0.7.1
  │ │ │ └── repeat-string@1.5.2
  │ │ ├── semver@2.2.1
  │ │ └── strip-json-comments@0.1.3
  │ ├─┬ esformatter-eol-last@1.0.0
  │ │ └── string.prototype.endswith@0.2.0
  │ ├─┬ esformatter-literal-notation@1.0.0
  │ │ ├─┬ rocambole@0.3.6
  │ │ │ └── esprima@1.0.4
  │ │ └── rocambole-token@1.2.1
  │ ├── esformatter-quotes@1.0.1
  │ ├── esformatter-spaced-lined-comment@2.0.1
  │ ├─┬ glob@4.5.3
  │ │ ├─┬ inflight@1.0.4
  │ │ │ └── wrappy@1.0.1
  │ │ ├── inherits@2.0.1
  │ │ └─┬ once@1.3.2
  │ │   └── wrappy@1.0.1
  │ ├─┬ minimatch@2.0.8
  │ │ └─┬ brace-expansion@1.1.0
  │ │   ├── balanced-match@0.2.0
  │ │   └── concat-map@0.0.1
  │ └── stdin@0.0.1
  ├── uniq@1.0.1
  └── xtend@4.0.0
jednano commented 9 years ago

That seems strange, as there haven’t been any source code updates since October of last year. Have you tried npm cache clean and a reinstall? Also, what are your node an npm versions?

jsfiles commented 9 years ago

I went through those steps before opening the issue. After the uninstall and cache clean, the install gives the following, which can be addressed by downgrading npm, installing, then upgrading npm -- captured below -- Still creates 0 byte files

[13:05:56]> npm install codepainter

npm ERR! Darwin 14.3.0

npm ERR! argv "node" "/usr/local/bin/npm" "install" "codepainter"

npm ERR! node v0.12.4

npm ERR! npm v2.11.1

npm ERR! path /Users/jim.files/node_modules/codepainter/node_modules/editorconfig/bin\editorconfig

npm ERR! code ENOENT

npm ERR! errno -2

npm ERR! enoent ENOENT, chmod '/Users/jim.files/node_modules/codepainter/node_modules/editorconfig/bin\editorconfig'

npm ERR! enoent This is most likely not a problem with npm itself

npm ERR! enoent and is related to npm not being able to find a file.

npm ERR! enoent

npm ERR! Please include the following file with any support request:

npm ERR! /Users/jim.files/npm-debug.log

jim.files@MSANIT1003696 [13:07:20]> npm install -g npm@2.7.5

/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js

npm@2.7.5 /usr/local/lib/node_modules/npm

jim.files@MSANIT1003696 [13:07:50]> npm install -g codepainter

/usr/local/bin/codepaint -> /usr/local/lib/node_modules/codepainter/bin/codepaint

/usr/local/bin/codepainter -> /usr/local/lib/node_modules/codepainter/bin/codepaint

codepainter@0.4.4 /usr/local/lib/node_modules/codepainter

├── memorystream@0.2.0

├── async@0.9.2

├── gitlike-cli@0.1.0

├── node.extend@1.1.5 (is@3.0.1)

├── mkdirp@0.5.1 (minimist@0.0.8)

├── editorconfig@0.11.4 (sigmund@1.0.1, lru-cache@2.0.4, commander@1.1.1)

├── glob@4.5.3 (inherits@2.0.1, once@1.3.2, inflight@1.0.4, minimatch@2.0.8)

├── esprima@1.2.5

└── cli-color@0.3.3 (d@0.1.1, timers-ext@0.1.0, memoizee@0.3.8, es5-ext@0.10.7)

jim.files@MSANIT1003696 [13:08:01]> npm install npm@latest

npm@2.11.1 node_modules/npm

On Sun, Jun 7, 2015 at 1:04 PM, Jed Mao notifications@github.com wrote:

That seems strange, as there haven’t been any source code updates since October of last year. Have you tried npm cache clean and a reinstall? Also, what are your node an npm versions?

— Reply to this email directly or view it on GitHub https://github.com/jedmao/codepainter/issues/42#issuecomment-109794256.

MrWeeble commented 9 years ago

I'm having the same issue as @jsfiles. It only happens on my Macbook, not on an ubuntu VM. Since @jsfiles's error message include mention of Darwin, I think he is using MacOS X as well, so it might be specific to that OS.

codepainter (+dependencies) is installed locally as the only module

└─┬ codepainter@0.4.4
  ├── async@0.9.2
  ├─┬ cli-color@0.3.3
  │ ├── d@0.1.1
  │ ├─┬ es5-ext@0.10.7
  │ │ ├── es6-iterator@0.1.3
  │ │ └── es6-symbol@2.0.1
  │ ├─┬ memoizee@0.3.8
  │ │ ├─┬ es6-weak-map@0.1.4
  │ │ │ ├── es6-iterator@0.1.3
  │ │ │ └── es6-symbol@2.0.1
  │ │ ├── event-emitter@0.3.3
  │ │ ├── lru-queue@0.1.0
  │ │ └── next-tick@0.2.2
  │ └─┬ timers-ext@0.1.0
  │   └── next-tick@0.2.2
  ├─┬ editorconfig@0.11.4
  │ ├─┬ commander@1.1.1
  │ │ └── keypress@0.1.0
  │ ├── lru-cache@2.0.4
  │ └── sigmund@1.0.1
  ├── esprima@1.2.5
  ├── gitlike-cli@0.1.0
  ├─┬ glob@4.5.3
  │ ├─┬ inflight@1.0.4
  │ │ └── wrappy@1.0.1
  │ ├── inherits@2.0.1
  │ ├─┬ minimatch@2.0.8
  │ │ └─┬ brace-expansion@1.1.0
  │ │   ├── balanced-match@0.2.0
  │ │   └── concat-map@0.0.1
  │ └─┬ once@1.3.2
  │   └── wrappy@1.0.1
  ├── memorystream@0.2.0
  ├─┬ mkdirp@0.5.1
  │ └── minimist@0.0.8
  └─┬ node.extend@1.1.5
    └── is@3.0.1

and npm (+dependencies) is the only one installed globally

└─┬ npm@2.7.5
  ├── abbrev@1.0.5
  ├── ansi@0.3.0
  ├── ansicolors@0.3.2
  ├── ansistyles@0.1.3
  ├── archy@1.0.0
  ├── async-some@1.0.1
  ├── block-stream@0.0.7
  ├── char-spinner@1.0.1
  ├── child-process-close@0.1.1
  ├── chmodr@0.1.0
  ├── chownr@0.0.1
  ├── cmd-shim@2.0.1
  ├─┬ columnify@1.4.1
  │ ├─┬ strip-ansi@2.0.1
  │ │ └── ansi-regex@1.1.0
  │ └─┬ wcwidth@1.0.0
  │   └─┬ defaults@1.0.0
  │     └── clone@0.1.19
  ├─┬ config-chain@1.1.8
  │ └── proto-list@1.2.3
  ├─┬ dezalgo@1.0.1
  │ └── asap@1.0.0
  ├── editor@0.1.0
  ├── fs-vacuum@1.2.5
  ├── fs-write-stream-atomic@1.0.2
  ├── fstream@1.0.4
  ├─┬ fstream-npm@1.0.2
  │ └── fstream-ignore@1.0.2
  ├── github-url-from-git@1.4.0
  ├── github-url-from-username-repo@1.0.2
  ├── glob@5.0.3
  ├── graceful-fs@3.0.6
  ├── hosted-git-info@1.5.3
  ├── inflight@1.0.4
  ├── inherits@2.0.1
  ├── ini@1.3.3
  ├─┬ init-package-json@1.3.0
  │ ├── glob@4.5.3
  │ └── promzard@0.2.2
  ├── lockfile@1.0.0
  ├── lru-cache@2.5.0
  ├─┬ minimatch@2.0.4
  │ └─┬ brace-expansion@1.1.0
  │   ├── balanced-match@0.2.0
  │   └── concat-map@0.0.1
  ├─┬ mkdirp@0.5.0
  │ └── minimist@0.0.8
  ├─┬ node-gyp@1.0.3
  │ ├─┬ glob@4.5.3
  │ │ └─┬ minimatch@2.0.4
  │ │   └─┬ brace-expansion@1.1.0
  │ │     ├── balanced-match@0.2.0
  │ │     └── concat-map@0.0.1
  │ ├─┬ minimatch@1.0.0
  │ │ └── sigmund@1.0.0
  │ └── tar@1.0.3
  ├── nopt@3.0.1
  ├── normalize-git-url@1.0.0
  ├── normalize-package-data@1.0.3
  ├── npm-cache-filename@1.0.1
  ├── npm-install-checks@1.0.5
  ├── npm-package-arg@3.1.1
  ├─┬ npm-registry-client@6.1.2
  │ └─┬ concat-stream@1.4.7
  │   ├─┬ readable-stream@1.1.13
  │   │ ├── core-util-is@1.0.1
  │   │ ├── isarray@0.0.1
  │   │ └── string_decoder@0.10.31
  │   └── typedarray@0.0.6
  ├── npm-user-validate@0.1.1
  ├─┬ npmlog@1.2.0
  │ ├─┬ are-we-there-yet@1.0.3
  │ │ └── delegates@0.1.0
  │ └─┬ gauge@1.2.0
  │   ├── has-unicode@1.0.0
  │   ├── lodash._basetostring@3.0.0
  │   ├─┬ lodash._createpad@3.0.1
  │   │ └── lodash.repeat@3.0.0
  │   ├── lodash.pad@3.0.0
  │   ├── lodash.padleft@3.0.0
  │   └── lodash.padright@3.0.0
  ├── once@1.3.1
  ├── opener@1.4.1
  ├── osenv@0.1.0
  ├── path-is-inside@1.0.1
  ├─┬ read@1.0.5
  │ └── mute-stream@0.0.4
  ├─┬ read-installed@3.1.5
  │ ├── debuglog@1.0.1
  │ ├── readdir-scoped-modules@1.0.1
  │ └── util-extend@1.0.1
  ├─┬ read-package-json@1.3.2
  │ ├── glob@4.5.3
  │ └─┬ json-parse-helpfulerror@1.0.3
  │   └── jju@1.2.0
  ├─┬ readable-stream@1.0.33
  │ ├── core-util-is@1.0.1
  │ ├── isarray@0.0.1
  │ └── string_decoder@0.10.31
  ├── realize-package-specifier@2.2.0
  ├─┬ request@2.54.0
  │ ├── aws-sign2@0.5.0
  │ ├── bl@0.9.4
  │ ├── caseless@0.9.0
  │ ├─┬ combined-stream@0.0.7
  │ │ └── delayed-stream@0.0.5
  │ ├── forever-agent@0.6.0
  │ ├─┬ form-data@0.2.0
  │ │ └── async@0.9.0
  │ ├─┬ har-validator@1.4.0
  │ │ ├── async@0.9.0
  │ │ ├── bluebird@2.9.15
  │ │ ├─┬ chalk@1.0.0
  │ │ │ ├── ansi-styles@2.0.1
  │ │ │ ├── escape-string-regexp@1.0.3
  │ │ │ ├─┬ has-ansi@1.0.3
  │ │ │ │ ├── ansi-regex@1.1.1
  │ │ │ │ └── get-stdin@4.0.1
  │ │ │ ├─┬ strip-ansi@2.0.1
  │ │ │ │ └── ansi-regex@1.1.1
  │ │ │ └── supports-color@1.3.1
  │ │ ├─┬ commander@2.7.1
  │ │ │ └── graceful-readlink@1.0.1
  │ │ ├─┬ debug@2.1.3
  │ │ │ └── ms@0.7.0
  │ │ ├─┬ is-my-json-valid@2.10.0
  │ │ │ ├── generate-function@2.0.0
  │ │ │ ├─┬ generate-object-property@1.1.0
  │ │ │ │ └── is-property@1.0.2
  │ │ │ ├── jsonpointer@1.1.0
  │ │ │ └── xtend@4.0.0
  │ │ └── require-directory@2.1.0
  │ ├─┬ hawk@2.3.1
  │ │ ├── boom@2.6.1
  │ │ ├── cryptiles@2.0.4
  │ │ ├── hoek@2.12.0
  │ │ └── sntp@1.0.9
  │ ├─┬ http-signature@0.10.1
  │ │ ├── asn1@0.1.11
  │ │ ├── assert-plus@0.1.5
  │ │ └── ctype@0.5.3
  │ ├── isstream@0.1.2
  │ ├── json-stringify-safe@5.0.0
  │ ├─┬ mime-types@2.0.10
  │ │ └── mime-db@1.8.0
  │ ├── node-uuid@1.4.3
  │ ├── oauth-sign@0.6.0
  │ ├── qs@2.4.1
  │ ├── stringstream@0.0.4
  │ ├─┬ tough-cookie@0.12.1
  │ │ └── punycode@1.3.2
  │ └── tunnel-agent@0.4.0
  ├── retry@0.6.1
  ├─┬ rimraf@2.3.2
  │ └── glob@4.5.3
  ├── semver@4.3.2
  ├─┬ sha@1.3.0
  │ └─┬ readable-stream@1.1.13
  │   ├── core-util-is@1.0.1
  │   ├── isarray@0.0.1
  │   └── string_decoder@0.10.31
  ├── slide@1.1.6
  ├── sorted-object@1.0.0
  ├── tar@2.0.0
  ├── text-table@0.2.0
  ├── uid-number@0.0.6
  ├── umask@1.1.0
  ├── which@1.0.9
  ├── wrappy@1.0.1
  └── write-file-atomic@1.1.0
jsfiles commented 9 years ago

Yes, Macbook with OSX.

jim.files@MSANIT1003696 [21:13:32]> uname -a Darwin MSANIT1003696 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

robarchibald commented 9 years ago

I'm having this problem on Windows as well.

Dmitriy11111 commented 6 years ago

👍