yujinakayama / atom-lint

Obsolete: Generic code linting support for Atom
https://atom.io/packages/atom-lint
MIT License
111 stars 33 forks source link

Installing atom-lint on Atom 0.121.0-a4fe594 fails #81

Closed lee-dohm closed 10 years ago

lee-dohm commented 10 years ago

Could have something to do with the update to Chrome 36 and Node 0.11.13 ...

Output:

> runas@0.5.4 install /private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules/clang-flags/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

  CXX(target) Release/obj.target/runas/src/main.o

npm http GET https://registry.npmjs.org/season
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/color
npm http GET https://registry.npmjs.org/xml2js
npm http GET https://registry.npmjs.org/clang-flags
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/clang-flags
npm http 304 https://registry.npmjs.org/color
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/season
npm http 304 https://registry.npmjs.org/xml2js
npm http GET https://registry.npmjs.org/pathwatcher
npm http GET https://registry.npmjs.org/path
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/property-accessors
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/color-convert
npm http GET https://registry.npmjs.org/color-string
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/xmlbuilder
npm http 304 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/path
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 304 https://registry.npmjs.org/pathwatcher
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan/0.8.0
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/runas
npm http GET https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/property-accessors
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/color-string
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/sax
npm http 304 https://registry.npmjs.org/xmlbuilder
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/fs-plus
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/fs-plus
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/runas
npm http 304 https://registry.npmjs.org/nan/0.8.0
npm http GET https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/color-convert
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/lodash.assign
npm http GET https://registry.npmjs.org/lodash.create
npm http GET https://registry.npmjs.org/lodash.isfunction
npm http GET https://registry.npmjs.org/lodash.isobject
npm http GET https://registry.npmjs.org/lodash.isempty
npm http GET https://registry.npmjs.org/lodash.isarray
In file included from ../src/main.cc:1:
../../nan/nan.h:339:13: error: no member named 'New' in 'v8::String'
    return  _NAN_ERROR(v8::Exception::Error, errmsg);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../../nan/nan.h:343:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../../nan/nan.h:343:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../../nan/nan.h:348:9: error: no type named 'ThrowException' in namespace 'v8'
    v8::ThrowException(error);
    ~~~~^
../../nan/nan.h:355:65: error: no member named 'New' in 'v8::String'
    v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg));
                                                    ~~~~~~~~~~~~^
../../nan/nan.h:357:26: error: no member named 'New' in 'v8::String'
    obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
             ~~~~~~~~~~~~^
../../nan/nan.h:369:12: error: no member named 'New' in 'v8::String'
    return _NAN_ERROR(v8::Exception::TypeError, errmsg);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../../nan/nan.h:373:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../../nan/nan.h:373:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../../nan/nan.h:377:12: error: no member named 'New' in 'v8::String'
    return _NAN_ERROR(v8::Exception::RangeError, errmsg);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../../nan/nan.h:381:5: error: no member named 'ThrowException' in namespace 'v8'
    _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:324:11: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
      ~~~~^
../../nan/nan.h:381:5: error: no member named 'New' in 'v8::String'
    _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:324:26: note: expanded from macro '_NAN_THROW_ERROR'
      v8::ThrowException(_NAN_ERROR(fun, errmsg));                             \
                         ^~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:319:50: note: expanded from macro '_NAN_ERROR'
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
                                     ~~~~~~~~~~~~^
../../nan/nan.h:727:49: error: too few arguments to function call, single argument 'isolate' was not specified
    v8::Local<v8::Object> obj = v8::Object::New();
                                ~~~~~~~~~~~~~~~ ^

/Volumes/Data/Users/Lee/.atom/.node-gyp/.node-gyp/0.11.13/deps/v8/include/v8.h:2372:3: note: 'New' declared here
  static Local<Object> New(Isolate* isolate);
  ^
In file included from ../src/main.cc:1:
../../nan/nan.h:733:49: error: too few arguments to function call, single argument 'isolate' was not specified
    v8::Local<v8::Object> obj = v8::Object::New();
                                ~~~~~~~~~~~~~~~ ^
/Volumes/Data/Users/Lee/.atom/.node-gyp/.node-gyp/0.11.13/deps/v8/include/v8.h:2372:3: note: 'New' declared here
  static Local<Object> New(Isolate* isolate);
  ^
In file included from ../src/main.cc:1:
../../nan/nan.h:740:12: error: no member named 'Dispose' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    handle.Dispose();
    ~~~~~~ ^
../../nan/nan.h:741:12: error: no member named 'Clear' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
    handle.Clear();
    ~~~~~~ ^
../../nan/nan.h:746:39: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
    NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
                                      ^~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:181:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
/Volumes/Data/Users/Lee/.atom/.node-gyp/.node-gyp/0.11.13/deps/v8/include/v8.h:1356:8: note: 'IsSymbol' declared here
  bool IsSymbol() const;
       ^
In file included from ../src/main.cc:1:
../../nan/nan.h:746:39: error: call to non-static member function without an object argument
    NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
                                      ^~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:181:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^~~~~~~~~
../../nan/nan.h:750:46: error: no member named 'NewSymbol' in 'v8::String'; did you mean 'IsSymbol'?
    return NanPersistentToLocal(handle)->Get(NanSymbol("callback"))
                                             ^~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:181:38: note: expanded from macro 'NanSymbol'
#define NanSymbol(value) v8::String::NewSymbol(value)
                         ~~~~~~~~~~~~^
/Volumes/Data/Users/Lee/.atom/.node-gyp/.node-gyp/0.11.13/deps/v8/include/v8.h:1356:8: note: 'IsSymbol' declared here
  bool IsSymbol() const;
       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/runas/src/main.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Darwin 13.3.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules/clang-flags/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok 
npm http GET https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/lodash.assign
npm http 304 https://registry.npmjs.org/lodash.create
npm http 304 https://registry.npmjs.org/lodash.isempty
npm http 304 https://registry.npmjs.org/lodash.isfunction
npm http 304 https://registry.npmjs.org/lodash.isobject
npm http 304 https://registry.npmjs.org/lodash.isarray
npm http 304 https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/lodash._basecreate
npm http GET https://registry.npmjs.org/lodash._objecttypes
npm http GET https://registry.npmjs.org/lodash._isnative
npm http GET https://registry.npmjs.org/lodash.forown
npm http GET https://registry.npmjs.org/lodash._basecreatecallback
npm http GET https://registry.npmjs.org/lodash.keys
npm http 304 https://registry.npmjs.org/lodash.forown
npm http 304 https://registry.npmjs.org/lodash._basecreatecallback
npm http 304 https://registry.npmjs.org/lodash._objecttypes
npm http 304 https://registry.npmjs.org/lodash._isnative
npm http 304 https://registry.npmjs.org/lodash._basecreate
npm http 304 https://registry.npmjs.org/lodash.keys
npm http GET https://registry.npmjs.org/lodash.noop
npm http GET https://registry.npmjs.org/lodash._shimkeys
npm http GET https://registry.npmjs.org/lodash.bind
npm http GET https://registry.npmjs.org/lodash.identity
npm http GET https://registry.npmjs.org/lodash._setbinddata
npm http GET https://registry.npmjs.org/lodash.support
npm http 304 https://registry.npmjs.org/lodash.noop
npm http 304 https://registry.npmjs.org/lodash._shimkeys
npm http 304 https://registry.npmjs.org/lodash.identity
npm http 304 https://registry.npmjs.org/lodash._setbinddata
npm http 304 https://registry.npmjs.org/lodash.support
npm http 304 https://registry.npmjs.org/lodash.bind
npm http GET https://registry.npmjs.org/lodash._createwrapper
npm http GET https://registry.npmjs.org/lodash._slice
npm http 304 https://registry.npmjs.org/lodash._createwrapper
npm http 304 https://registry.npmjs.org/lodash._slice
npm http GET https://registry.npmjs.org/lodash._basebind
npm http GET https://registry.npmjs.org/lodash._basecreatewrapper
npm http 304 https://registry.npmjs.org/lodash._basecreatewrapper
npm http 304 https://registry.npmjs.org/lodash._basebind
npm ERR! Error: ENOENT, utime '/private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash.isempty/node_modules/lodash.forown/node_modules/lodash._basecreatecallback/node_modules/lodash._setbinddata/node_modules/lodash._isnative/README.md'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.3.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/Volumes/Data/Users/Lee/.atom/.apmrc" "install" "/Volumes/Data/Users/Lee/.atom/.node-gyp/.atom/.apm/atom-lint/0.14.3/package.tgz" "--target=0.11.13" "--arch=x64"
npm ERR! cwd /private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash.isempty/node_modules/lodash.forown/node_modules/lodash._basecreatecallback/node_modules/lodash._setbinddata/node_modules/lodash._isnative/README.md
npm ERR! fstream_path /private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash.isempty/node_modules/lodash.forown/node_modules/lodash._basecreatecallback/node_modules/lodash._setbinddata/node_modules/lodash._isnative/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call utimes
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules'

npm ERR! error rolling back  atom-lint@0.14.3 { [Error: ENOTEMPTY, rmdir '/private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules' }
npm ERR! runas@0.5.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the runas@0.5.4 install script.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.3.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/Volumes/Data/Users/Lee/.atom/.apmrc" "install" "/Volumes/Data/Users/Lee/.atom/.node-gyp/.atom/.apm/atom-lint/0.14.3/package.tgz" "--target=0.11.13" "--arch=x64"
npm ERR! cwd /private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat '/private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash.isempty/node_modules/lodash.forown/node_modules/lodash._basecreatecallback/node_modules/lodash.bind/node_modules/lodash._createwrapper/node_modules/lodash._basebind/node_modules/lodash._basecreate/index.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.3.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/Volumes/Data/Users/Lee/.atom/.apmrc" "install" "/Volumes/Data/Users/Lee/.atom/.node-gyp/.atom/.apm/atom-lint/0.14.3/package.tgz" "--target=0.11.13" "--arch=x64"
npm ERR! cwd /private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash.isempty/node_modules/lodash.forown/node_modules/lodash._basecreatecallback/node_modules/lodash.bind/node_modules/lodash._createwrapper/node_modules/lodash._basebind/node_modules/lodash._basecreate/index.js
npm ERR! fstream_path /private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/node_modules/atom-lint/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash.isempty/node_modules/lodash.forown/node_modules/lodash._basecreatecallback/node_modules/lodash.bind/node_modules/lodash._createwrapper/node_modules/lodash._basebind/node_modules/lodash._basecreate/index.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http GET https://registry.npmjs.org/lodash._isnative
npm http GET https://registry.npmjs.org/lodash.noop
npm http 304 https://registry.npmjs.org/lodash.noop
npm http 304 https://registry.npmjs.org/lodash._isnative
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /private/var/folders/d3/ktkxlmtj34d0nr_hjzy920rm0000gn/T/apm-install-dir-114630-54046-31sgob/npm-debug.log
npm ERR! not ok code 0
yujinakayama commented 10 years ago

It seems to be an issue in node-runas package.

lee-dohm commented 10 years ago

Interesting, I probably should have dug a little deeper :frowning:

lee-dohm commented 10 years ago

@kevinsawicki helped me dig further after I got stuck in atom/apm#162. It appears that clang-flags depends on an old version of pathwatcher:

  "dependencies": {
    "pathwatcher": "^1.0",
    "path": ">= 0.4.9"
  },
yujinakayama commented 10 years ago

@lee-dohm Thanks for the investigation.

@Kev Could you take a look and update the clang-flags package?

Kev commented 10 years ago

Yes, I'll take a look at this.

Zincr0 commented 10 years ago

any workaround?

Kev commented 10 years ago

atom-lint should install OK on 0.121 now. What is confusing me is that despite it installing, it then fails at runtime in the "Incompatible Packages" with

Atom Lint 0.14.5 Listed below are the incompatible native modules that this package depends on.

pathwatcher@1.5.0 Error message: Module did not self-register. runas@0.5.4 Error message: Module did not self-register.

It doesn't seem to be obviously easy to work out if this is clang-flags's fault or not.

kevinsawicki commented 10 years ago

pathwatcher should be upgraded to ^2.0.7 for Atom 0.121

Kev commented 10 years ago

I've asked for >=1.0 <3, which should be enough, shouldn't it? This covers 2.0.7 without breaking it for older Atoms.

kevinsawicki commented 10 years ago

Yeah, then I'm not sure why npm is installing 1.5.0 then.

Kev commented 10 years ago

I don't think it is. Looking in

/Users/me/.atom/packages/atom-lint/node_modules/clang-flags/node_modules/pathwatcher/package.json

I get { "main": "./lib/main.js", "name": "pathwatcher", "description": "Watch files and directories for changes", "version": "2.0.7",

Which seems like the right version. It's a bit of a mystery to me where 1.5 is coming from

kevinsawicki commented 10 years ago

Can you try running the Incompatible Packages: Clear Cache command from the command palette and reloading Atom?

Kev commented 10 years ago

I can, and I did, and now it doesn't think it's incompatible any more. OK, thanks. I think atom-lint is fine now.

acrogenesis commented 10 years ago

I did an update and I got this: (Tried Incompatible Packages: Clear Cache didn't work)

Listed below are the incompatible native modules that this package depends on.

pathwatcher@1.5.0
Error message: Module did not self-register.
runas@0.5.4
Error message: Module did not self-register.
Kev commented 10 years ago

You'll need to remove atom-lint and reinstall it, then do Clear Cache. Atom only tracks available updates for top-level packages, not their dependencies.

So probably a new atom-lint is needed just to pull in this new dependency cleanly for users without them having to reinstall the package.

yujinakayama commented 10 years ago

@Kev Should I specify "clang-flags": "^0.1.2" in atom-lint's package.json? By the way, you seem to have forgotten to git push to https://github.com/Kev/clang-flags.

Kev commented 10 years ago

I think if you keep 1.0.0 it'll still work on older Atoms, which won't have the new pathfinder? In any case, 0.1.2 is what's needed for the 0.121 Atom.

yujinakayama commented 10 years ago

Thanks. I'll update the dependency to ^0.1.2 since the failure of installation is considered more critical than older Atom support.