GithubHelp home page GithubHelp logo

atom-archive / node-runas Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 20.0 58 KB

Run command synchronously (with Administrator privilege)

License: MIT License

Python 7.58% C++ 80.35% CoffeeScript 12.07%

node-runas's People

Contributors

kevinsawicki avatar zcbenz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-runas's Issues

Install fails under Node 4.0.0

$ npm install -g slap
npm WARN engine [email protected]: wanted: {"node":"<0.11 >=0.12.5"} (current: {"node":"4.0.0","npm":"2.14.2"})

> [email protected] install /usr/local/lib/node_modules/slap/node_modules/slap-clipboard-plugin/node_modules/copy-paste/node_modules/execSync
> node install.js

[execsync v1.0.2] Attempting to compile native extensions.
[execSync v1.0.2]
    Native code compile failed!!
npm WARN installMany asserts.js was bundled with [email protected], but bundled package wasn't found in unpacked tree
npm WARN installMany fn.js was bundled with [email protected], but bundled package wasn't found in unpacked tree
npm WARN installMany observer.js was bundled with [email protected], but bundled package wasn't found in unpacked tree
npm WARN installMany asserts.js was bundled with [email protected], but bundled package wasn't found in unpacked tree
npm WARN installMany fn.js was bundled with [email protected], but bundled package wasn't found in unpacked tree
npm WARN installMany observer.js was bundled with [email protected], but bundled package wasn't found in unpacked tree

> [email protected] install /usr/local/lib/node_modules/slap/node_modules/base-widget/node_modules/text-buffer/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

  CXX(target) Release/obj.target/runas/src/main.o
In file included from ../src/main.cc:1:
../../nan/nan.h:260:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                        ^
../../nan/nan.h:255:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                        ^
../../nan/nan.h:660:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../../nan/nan.h:671:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../src/main.cc:1:
../../nan/nan.h:675:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to
      'const v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to
      'v8::Local<v8::Object> &&' for 1st argument
class Local {
      ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/main.cc:1:
../../nan/nan.h:682:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/dan.kaplun/.node-gyp/4.0.0/include/node/node.h:42:
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:413:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/dan.kaplun/.node-gyp/4.0.0/include/node/node.h:42:
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:423:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/dan.kaplun/.node-gyp/4.0.0/include/node/node.h:42:
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1513:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/dan.kaplun/.node-gyp/4.0.0/include/node/node.h:42:
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1631:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 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 (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/slap/node_modules/base-widget/node_modules/text-buffer/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v4.0.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok

> [email protected] install /usr/local/lib/node_modules/slap/node_modules/editor-widget/node_modules/text-buffer/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

  CXX(target) Release/obj.target/runas/src/main.o
In file included from ../src/main.cc:1:
../../nan/nan.h:260:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                        ^
../../nan/nan.h:255:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                        ^
../../nan/nan.h:660:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../../nan/nan.h:671:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../src/main.cc:1:
../../nan/nan.h:675:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to
      'const v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to
      'v8::Local<v8::Object> &&' for 1st argument
class Local {
      ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/main.cc:1:
../../nan/nan.h:682:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/dan.kaplun/.node-gyp/4.0.0/include/node/node.h:42:
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:413:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/dan.kaplun/.node-gyp/4.0.0/include/node/node.h:42:
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:423:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/dan.kaplun/.node-gyp/4.0.0/include/node/node.h:42:
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1513:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/dan.kaplun/.node-gyp/4.0.0/include/node/node.h:42:
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/dan.kaplun/.node-gyp/4.0.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1631:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 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 (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/slap/node_modules/editor-widget/node_modules/text-buffer/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v4.0.0
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "slap"
npm ERR! node v4.0.0
npm ERR! npm  v2.14.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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! Please include the following file with any support request:
npm ERR!     /Users/dan.kaplun/npm-debug.log

runas isn't running synchronously on macOS

runas on macOS Sierra in an Electron application is immediately returning with an exit status of -1.

You can still provide your fingerprint or credentials to run the command but you won't know if it succeeded or not.

Please let me know if you need any more details.

can't install [email protected]

I get the following error (install in atom):

[email protected] install C:\Users\mw\AppData\Local\Temp\apm-install-dir-114117-4188-1ioqogc\node_modules\racer\node_modules\pathwatcher\node_modules\runas
node-gyp rebuild

C:\Users\mw\AppData\Local\Temp\apm-install-dir-114117-4188-1ioqogc\node_modules\racer\node_modules\pathwatcher\node_modules\runas>node "c:\ProgramData\chocolatey\lib\Atom.0.153.0\tools\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild

npm http GET https://registry.npmjs.org/fuzzaldrin
npm http GET https://registry.npmjs.org/pathwatcher
npm http GET https://registry.npmjs.org/tmp
npm http GET https://registry.npmjs.org/underscore-plus
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 200 https://registry.npmjs.org/tmp
npm http GET https://registry.npmjs.org/tmp/-/tmp-0.0.24.tgz
npm http 200 https://registry.npmjs.org/tmp/-/tmp-0.0.24.tgz
npm http 200 https://registry.npmjs.org/fuzzaldrin
npm http GET https://registry.npmjs.org/fuzzaldrin/-/fuzzaldrin-2.1.0.tgz
npm http 200 https://registry.npmjs.org/pathwatcher
npm http GET https://registry.npmjs.org/pathwatcher/-/pathwatcher-2.3.5.tgz
npm http 200 https://registry.npmjs.org/fuzzaldrin/-/fuzzaldrin-2.1.0.tgz
npm http 200 https://registry.npmjs.org/pathwatcher/-/pathwatcher-2.3.5.tgz
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/event-kit
npm http GET https://registry.npmjs.org/iconv-lite
npm http GET https://registry.npmjs.org/nan/1.2.0
npm http GET https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/grim
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/runas
npm http GET https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/temp
npm http GET https://registry.npmjs.org/fuzzaldrin/-/fuzzaldrin-1.0.0.tgz
npm http 200 https://registry.npmjs.org/event-kit
npm http GET https://registry.npmjs.org/event-kit/-/event-kit-0.6.0.tgz
npm http 200 https://registry.npmjs.org/grim
npm http GET https://registry.npmjs.org/grim/-/grim-0.12.0.tgz
npm http 200 https://registry.npmjs.org/nan/1.2.0
npm http 200 https://registry.npmjs.org/iconv-lite
npm http GET https://registry.npmjs.org/nan/-/nan-1.2.0.tgz
npm http GET https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.5.tgz
npm http 304 https://registry.npmjs.org/emissary
npm http 200 https://registry.npmjs.org/fuzzaldrin/-/fuzzaldrin-1.0.0.tgz
npm http 200 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/runas
npm http GET https://registry.npmjs.org/runas/-/runas-1.0.1.tgz
npm http 200 https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/semver/-/semver-3.0.1.tgz
npm http 304 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http 200 https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/fs-plus/-/fs-plus-2.3.2.tgz
npm http 200 https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/q/-/q-1.0.1.tgz
npm http 200 https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.5.tgz
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/temp
npm http 200 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/async/-/async-0.9.0.tgz
npm http 200 https://registry.npmjs.org/grim/-/grim-0.12.0.tgz
npm http 200 https://registry.npmjs.org/runas/-/runas-1.0.1.tgz
npm http 200 https://registry.npmjs.org/nan/-/nan-1.2.0.tgz
npm http 200 https://registry.npmjs.org/semver/-/semver-3.0.1.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http 200 https://registry.npmjs.org/fs-plus/-/fs-plus-2.3.2.tgz
npm http 200 https://registry.npmjs.org/q/-/q-1.0.1.tgz
npm http 200 https://registry.npmjs.org/event-kit/-/event-kit-0.6.0.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.9.0.tgz
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/property-accessors
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/mixto
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/property-accessors
npm http 304 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/mkdirp
gypnpm http 200 https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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 Windows_NT 6.2.9200
npm ERR! command "c:\ProgramData\chocolatey\lib\Atom.0.153.0\tools\Atom\resources\app\apm\node_modules\atom-package-manager\bin\node.exe" "c:\ProgramData\chocolatey\lib\Atom.0.153.0\tools\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\npm-cli.js" "--globalconfig" "c:\ProgramData\chocolatey\lib\Atom.0.153.0\tools\Atom\resources\app\apm\node_modules\atom-package-manager.apmrc" "--userconfig" "C:\Users\mw.atom.apmrc" "install" "C:\Users\mw\AppData\Local\Temp\d-114117-4188-1nffvph\package.tgz" "--target=0.18.0" "--arch=ia32" "--msvs_version=2013"
npm ERR! cwd C:\Users\mw\AppData\Local\Temp\apm-install-dir-114117-4188-1ioqogc
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE

Atom is not running with administrator privileges. OS is Windows 8.1 64Bit.

Managed to build, but cannot run

I managed to build runas installing Python 2.7 and Visual Studio (2017) with all the C++ components:

C:\Users\pupeno\Documents\Dashman\clients>npm install runas

> [email protected] install C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas
> node-gyp rebuild


C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\pupeno\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  main.cc
  runas_win.cc
  win_delay_load_hook.cc
     Creating library C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\runas.lib and object C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\runas.exp
  Generating code
  Finished generating code
  runas.vcxproj -> C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\\runas.node
  runas.vcxproj -> C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\runas.pdb (Full PDB)
npm WARN clients No repository field.
npm WARN clients No license field.

+ [email protected]
updated 1 package in 6.01s

C:\Users\pupeno\Documents\Dashman\clients>

but when I try to run my application, I get this error:

App threw an error during load
Error: A dynamic link library (DLL) initialization routine failed.
\\?\C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\runas.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\lib\runas.js:4:11)
    at Object.<anonymous> (C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\lib\runas.js:47:4)

Process finished with exit code 1

I'm not very familiar with win32 so I'm not even sure where to begin.

My installation looks like this:

C:\Users\pupeno\Documents\Dashman\clients>dir /s /b node_modules\runas
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\.travis.yml
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\binding.gyp
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\lib
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\LICENSE.md
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\package.json
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\README.md
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\src
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\test.js
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\binding.sln
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\config.gypi
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\runas.vcxproj
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\runas.vcxproj.filters
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\runas.exp
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\runas.lib
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\runas.map
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\runas.node
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\runas.pdb
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\main.obj
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\runas.tlog
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\runas_win.obj
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\vc141.pdb
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\win_delay_load_hook.obj
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\runas.tlog\CL.command.1.tlog
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\runas.tlog\CL.read.1.tlog
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\runas.tlog\CL.write.1.tlog
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\runas.tlog\link.command.1.tlog
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\runas.tlog\link.read.1.tlog
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\runas.tlog\link.write.1.tlog
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\runas.tlog\runas.lastbuildstate
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\build\Release\obj\runas\runas.tlog\runas.write.1u.tlog
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\lib\runas.js
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\src\fork.cc
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\src\fork.h
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\src\main.cc
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\src\runas.h
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\src\runas_darwin.cc
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\src\runas_posix.cc
C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\src\runas_win.cc

I don't see any .dll files (is .lib a DLL?).

failed at the [email protected] Script

"gyp ERR! cwd C:\Users\hestia\Documents\GitHub\atom\node_modules\runas
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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 Windows_NT 6.1.7601
npm ERR! command "E:\Program Files\nodejs\node.exe" "E:\Program Files\node
"install" "runas"
npm ERR! cwd C:\Users\hestia\Documents\GitHub\atom
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\hestia\Documents\GitHub\atom\npm-debug.log
npm ERR! not ok code 0"

runas compilation issue: nan_persistent_12_inl.h: No such file or directory

I'm trying to install the rails-model-schema package in Atom on my Debian Jessie box but it fails with the following output:

> [email protected] install /tmp/apm-install-dir-116727-6501-1yu063v/node_modules/rails-model-schema/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

make: Entering directory '/tmp/apm-install-dir-116727-6501-1yu063v/node_modules/rails-model-schema/node_modules/pathwatcher/node_modules/runas/build'
  CXX(target) Release/obj.target/runas/src/main.o
runas.target.mk:90: recipe for target 'Release/obj.target/runas/src/main.o' failed
make: Leaving directory '/tmp/apm-install-dir-116727-6501-1yu063v/node_modules/rails-model-schema/node_modules/pathwatcher/node_modules/runas/build'

In file included from ../../nan/nan.h:196:0,
                 from ../src/main.cc:1:
../../nan/nan_new.h:9:0: error: unterminated #ifndef
 #ifndef NAN_NEW_H_
 ^
In file included from ../src/main.cc:1:0:
../../nan/nan.h:311:62: fatal error: nan_persistent_12_inl.h: No such file or directory
 # include "nan_persistent_12_inl.h"  // NOLINT(build/include)
                                                              ^
compilation terminated.
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [Release/obj.target/runas/src/main.o] Error 1

Ref: juliogarciag/atom-rails-model-schema#24

Atom / Debian issues

Hello,

I'm packaging atom [1] for debian [2].
Your software is there included.

I found some issues in your software:

  • In your source files are no copyright / license tags [3]
    and / or
  • you have no LICENSE file at your top directory

Regards,
Jรถrg Frings-Fรผrst

[1] http://atom.io
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747824
[3]
// Copyright 20xx-20xx your name
// License: [your license eg. MIT / GPL-2 ....]

`npm install runas` fails in OS X

having trouble getting runas to install. here is an example session:

$ npm install runas
-
> [email protected] install /Users/mrose/git/api-workbench/node_modules/runas
> node-gyp rebuild

  CXX(target) Release/obj.target/runas/src/main.o
  CXX(target) Release/obj.target/runas/src/runas_darwin.o
  CXX(target) Release/obj.target/runas/src/fork.o
  SOLINK_MODULE(target) Release/runas.node
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/runas.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/mrose/git/api-workbench/node_modules/runas
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Darwin 14.5.0
npm ERR! argv "/opt/local/bin/node" "/opt/local/bin/npm" "install" "runas"
npm ERR! node v0.12.7
npm ERR! npm  v2.14.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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! Please include the following file with any support request:
npm ERR!     /Users/mrose/git/api-workbench/npm-debug.log

do i unserstand this error message correctly? it is looking for a rather old library?

ld: library not found for -lgcc_s.10.5

Windows 8.1 x64 install error

Somewhat similar to #9, but a different stack trace.

It looks like the relevant part is MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0"..

C:\Users\Landon\Documents\GitHub-release\language-markdown\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0".
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Landon\Documents\GitHub-release\language-markdown\node_modules\runas
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i
nstall" "runas"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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! Please include the following file with any support request:
npm ERR!     C:\Users\Landon\Documents\GitHub-release\language-markdown\npm-debug.log

And the relevant npm-debug.log.

Error updating atom package

I'm trying to update the jupyter atom-notebook package. But the update fails with npm telling me that there is a likely error in runas package. I would like to add the stated support file but it doesn't exists in my tmp folder.

I'm running the current stable relase 1.3.3 on debian-testing using the official deb-package.
My version of nodejs is 4.2.4.

thinki ~ ยป apm upgrade jupyter-notebook
Package Updates Available (1)
โ””โ”€โ”€ jupyter-notebook 0.0.7 -> 0.0.8
Would you like to install these updates? (yes) yes
Installing [email protected] to /home/max/.atom/packages โœ—
[email protected] install /tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/pathwatcher/node_modules/runas
node-gyp rebuild
make: Entering directory '/tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/pathwatcher/node_modules/runas/build'
CXX(target) Release/obj.target/runas/src/main.o
runas.target.mk:90: recipe for target 'Release/obj.target/runas/src/main.o' failed
make: Leaving directory '/tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/pathwatcher/node_modules/runas/build'
[email protected] postinstall /tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/jupyter-js-services
npm dedupe
[email protected] install /tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/ws/node_modules/utf-8-validate
node-gyp rebuild
make: Entering directory '/tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/ws/node_modules/utf-8-validate/build'
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
COPY Release/validation.node
make: Leaving directory '/tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/ws/node_modules/utf-8-validate/build'
[email protected] install /tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/ws/node_modules/bufferutil
node-gyp rebuild
make: Entering directory '/tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/ws/node_modules/bufferutil/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
COPY Release/bufferutil.node
make: Leaving directory '/tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/ws/node_modules/bufferutil/build'
../src/main.cc:1:17: fatal error: nan.h: No such file or directory
compilation terminated.
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 (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 4.3.0-1-amd64
gyp ERR! command "node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-116011-23793-1marnne/node_modules/jupyter-notebook/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Linux 4.3.0-1-amd64
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/max/.atom/.apm/.apmrc" "--userconfig" "/home/max/.atom/.apmrc" "install" "/tmp/d-116011-23793-sk2z78/package.tgz" "--target=0.34.5" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-116011-23793-1marnne/npm-debug.log

Cannot install a package on Windows 8.1, runas problem

Hello,

I am having problems with installing anything on my windows 8.1 box with apm.

My setup: Python 2.6 (but also tried with 2.7), git, Visual Studio 2013. I tried installing with

a) setting switch --msvs_version=2013
b) setting variable to set VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120

Please, see the output:

C:>apm install api-blueprint-preview

[email protected] install C:\Users\MM~1\AppData\Local\Temp\apm-install-dir-11511
8-12708-1q9i926\node_modules\api-blueprint-preview\node_modules\pathwatcher\node
_modules\runas
node-gyp rebuild

C:\Users\MM~1\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_m
odules\api-blueprint-preview\node_modules\pathwatcher\node_modules\runas>node "C
:\Users\mm\AppData\Local\atom\app-0.179.0\resources\app\apm\node_modules
npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
main.cc
runas_win.cc
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(62
3): error C2039: 'ExternalAsciiStringResource' : is not a member of 'v8::String'
(..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-
12708-1q9i926\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_m
odules\runas\build\runas.vcxproj]
C:\Users\mm.atom.node-gyp.node-gyp\0.21.0\deps\v8\include\v8
.h(1809) : see declaration of 'v8::String'
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(62
3): error C2065: 'ExternalAsciiStringResource' : undeclared identifier (..\src\m
ain.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i
926\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\run
as\build\runas.vcxproj]
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(62
3): error C2065: 'resource' : undeclared identifier (..\src\main.cc) [C:\Users\m
makowski\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_modules\ap
i-blueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.vcxp
roj]
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(62
3): error C2448: 'NanNew' : function-style initializer appears to be a function
definition (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-d
ir-115118-12708-1q9i926\node_modules\api-blueprint-preview\node_modules\pathwatc
her\node_modules\runas\build\runas.vcxproj]
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(67
2): warning C4244: 'return' : conversion from 'int64_t' to 'int', possible loss
of data (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-
115118-12708-1q9i926\node_modules\api-blueprint-preview\node_modules\pathwatcher
\node_modules\runas\build\runas.vcxproj]
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
93): error C2039: 'IsExternalAscii' : is not a member of 'v8::String' (..\src\ma
in.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i9
26\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\runa
s\build\runas.vcxproj]
C:\Users\mm.atom.node-gyp.node-gyp\0.21.0\deps\v8\include\v8
.h(1809) : see declaration of 'v8::String'
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
94): error C2039: 'ExternalAsciiStringResource' : is not a member of 'v8::String
' (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118
-12708-1q9i926\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_
modules\runas\build\runas.vcxproj]
C:\Users\mm.atom.node-gyp.node-gyp\0.21.0\deps\v8\include\v8
.h(1809) : see declaration of 'v8::String'
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
94): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-insta
ll-dir-115118-12708-1q9i926\node_modules\api-blueprint-preview\node_modules\path
watcher\node_modules\runas\build\runas.vcxproj]
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
94): error C2143: syntax error : missing ';' before '*' (..\src\main.cc) [C:\Use
rs\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_module
s\api-blueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.
vcxproj]
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
94): error C2065: 'ext' : undeclared identifier (..\src\main.cc) [C:\Users\mmako
wski\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_modules\api-bl
ueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.vcxproj]

C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
95): error C2065: 'ext' : undeclared identifier (..\src\main.cc) [C:\Users\mmako
wski\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_modules\api-bl
ueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.vcxproj]

C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
95): error C2039: 'GetExternalAsciiStringResource' : is not a member of 'v8::Str
ing' (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115
118-12708-1q9i926\node_modules\api-blueprint-preview\node_modules\pathwatcher\no
de_modules\runas\build\runas.vcxproj]
C:\Users\mm.atom.node-gyp.node-gyp\0.21.0\deps\v8\include\v8
.h(1809) : see declaration of 'v8::String'
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
96): error C2065: 'ext' : undeclared identifier (..\src\main.cc) [C:\Users\mmako
wski\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_modules\api-bl
ueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.vcxproj]

C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
96): error C2227: left of '->data' must point to class/struct/union/generic type
(..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-
12708-1q9i926\node_modules\api-blueprint-preview\node_modules\pathwatcher\node_m
odules\runas\build\runas.vcxproj]
type is 'unknown-type'
C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
97): error C2065: 'ext' : undeclared identifier (..\src\main.cc) [C:\Users\mmako
wski\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_modules\api-bl
ueprint-preview\node_modules\pathwatcher\node_modules\runas\build\runas.vcxproj]

C:\Users\mm\AppData\Local\Temp\apm-install-dir-115118-12708-1q9i926\node_
modules\api-blueprint-preview\node_modules\pathwatcher\node_modules\nan\nan.h(19
97): error C2227: left of '->length' must point to class/struct/union/generic ty
pe (..\src\main.cc) [C:\Users\mm\AppData\Local\Temp\apm-install-dir-11511
8-12708-1q9i926\node_modules\api-blueprint-preview\node_modules\pathwatcher\node
_modules\runas\build\runas.vcxproj]
type is 'unknown-type'

gypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\Users\mm\AppData\Local\atom\app-0.179.0\resource
s\app\apm\bin\node.exe" "C:\Users\mm\AppData\Local\atom\app-0
.179.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig
" "C:\Users\mm.atom.apm.apmrc" "--userconfig" "C:\Users\mmakows
ki.atom.apmrc" "install" "C:\Users\MM~1\AppData\Local\Temp\d-11511
8-12708-hu4qvd\package.tgz" "--target=0.21.0" "--arch=ia32" "--msvs_version=201
3"
npm ERR! node v0.10.35
npm ERR! npm v2.3.0
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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.

error when building `slap` with Node.js 4.4.0

> [email protected] install /home/piranna/NodeOS/node_modules/nodeos-usersfs/obj/nocona/nodeos/lib/node_modules/slap/node_modules/base-widget/node_modules/text-buffer/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

make: se entra en el directorio '/home/piranna/NodeOS/node_modules/nodeos-usersfs/obj/nocona/nodeos/lib/node_modules/slap/node_modules/base-widget/node_modules/text-buffer/node_modules/pathwatcher/node_modules/runas/build'
  CXX(target) Release/obj.target/runas/src/main.o
  CXX(target) Release/obj.target/runas/src/runas_posix.o
  CXX(target) Release/obj.target/runas/src/fork.o
In file included from ../../nan/nan.h:150:0,
                 from ../src/main.cc:1:
../../nan/nan_callbacks.h:83:61: fatal error: nan_callbacks_12_inl.h: No such file or directory
compilation terminated.
runas.target.mk:92: fallo en las instrucciones para el objetivo 'Release/obj.target/runas/src/main.o'
make: *** [Release/obj.target/runas/src/main.o] Error 1
make: *** Se espera a que terminen otras tareas....
make: se sale del directorio '/home/piranna/NodeOS/node_modules/nodeos-usersfs/obj/nocona/nodeos/lib/node_modules/slap/node_modules/base-widget/node_modules/text-buffer/node_modules/pathwatcher/node_modules/runas/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/piranna/NodeOS/node_modules/nodeos-barebones/deps/node/deps/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-12-generic
gyp ERR! command "/usr/bin/nodejs" "/home/piranna/NodeOS/node_modules/nodeos-barebones/deps/node/deps/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/piranna/NodeOS/node_modules/nodeos-usersfs/obj/nocona/nodeos/lib/node_modules/slap/node_modules/base-widget/node_modules/text-buffer/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v4.4.0
gyp ERR! node-gyp -v v3.3.0
gyp ERR! not ok 

npm ERR! Linux 4.4.0-12-generic
npm ERR! argv "/usr/bin/nodejs" "/home/piranna/NodeOS/node_modules/nodeos-barebones/deps/node/deps/npm/cli.js" "install" "--quiet" "--no-spin" "--arch=x64" "--nodedir=/home/piranna/NodeOS/node_modules/nodeos-usersfs/../nodeos-barebones/deps/node" "--jobs=5" "-g" "npm" "bin-sh" "piranna/nsh#patch-1" "bin-man" "bin-fs" "bin-pwd" "pstree" "NodeOS/ip" "ntp-client" "dhcpjs" "NodeOS/ifconfig" "node-wget" "slap" "performance" "loadtest" "davius"
npm ERR! node v4.4.0
npm ERR! npm  v2.14.20
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
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 information on how to open an issue for this project with:
npm ERR!     npm bugs runas
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/piranna/NodeOS/node_modules/nodeos-usersfs/npm-debug.log

The same dependency is being used by other ones and they compile sucesfully. Seems it's related to the fact that node-runas๏ฟฝ has nan as dependency, since it's now included in Node.js I would remove it an use the bundled one.

Atom not compiling

Today when i tried compiling atom with the build script, it gave me this error,

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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 Windows_NT 6.2.9200
npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program File
s (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "--userconfig=C:\atom.np
mrc" "install" "--quiet"
npm ERR! cwd C:\atom\build
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm

I have the latest files from the repository.

atom build fails with [email protected] but works with 3.1.0

Both atom v1.8.0 and master use [email protected] and fail when building atom in Debian jessie:

alexm@xps: (master) ~/git/atom$ script/build
Node: v0.10.29
npm: v1.4.21
Installing build modules...
In file included from ../src/main.cc:1:0:
../node_modules/nan/nan.h:324:47: error: โ€˜REPLACE_INVALID_UTF8โ€™ is not a member of โ€˜v8::Stringโ€™
   static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
                                               ^
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 (/usr/share/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /scratch/alexm/git/atom/build/node_modules/runas
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok 
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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 Linux 3.16.0-4-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "--userconfig=/scratch/alexm/git/atom/build/.npmrc" "install" "--loglevel" "error"
npm ERR! cwd /scratch/alexm/git/atom/build
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /scratch/alexm/git/atom/build/npm-debug.log
npm ERR! not ok code 0

Setting version 3.1.0 in package.json instead:

alexm@xps: {master} /scratch/alexm/git/atom$ git diff
diff --git a/package.json b/package.json
index 1f38d17..6e8d58f 100644
--- a/package.json
+++ b/package.json
@@ -48,7 +48,7 @@
     "property-accessors": "^1.1.3",
     "random-words": "0.0.1",
     "resolve": "^1.1.6",
-    "runas": "^3.1",
+    "runas": "3.1.0",
     "scandal": "^2.2",
     "scoped-property-store": "^0.17.0",
     "scrollbar-style": "^3.2",

Works fine:

alexm@xps: {master} ~/git/atom$ script/build
Node: v0.10.29
npm: v2.13.3
Installing build modules...
=> Took 15476ms.

Installing apm...
=> Took 82820ms.

Deleting old packages...
=> Took 420ms.

Installing modules โœ“
Installing [email protected] โœ“
...

apm install fails because of runas

Im currently trying to run apm install on my own package. The Dependency im triying to install is pathwatcher

"dependencies": {
    "pathwatcher": "2.0.6"
}

Versions:

apm  0.83.0
npm  1.4.4
node 0.10.26
python 2.7.5
git 1.8.5.2

Log:

> [email protected] install .../coverage/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/pathwatcher/2.0.6
npm http 304 https://registry.npmjs.org/pathwatcher/2.0.6
npm http GET https://registry.npmjs.org/nan/1.2.0
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/runas
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 304 https://registry.npmjs.org/nan/1.2.0
npm http 304 https://registry.npmjs.org/fs-plus
npm http 304 https://registry.npmjs.org/runas
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors
In file included from ../src/main.cc:1:
../../nan/nan.h:342:74: error: too many arguments to function call, expected at most 3, have 4
    return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
           ~~~~~~~~~~~~~~~~~~                                            ^~~~
/myfolder/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:3550:3: note: 'New' declared here
  static Local<Signature> New(Handle<FunctionTemplate> receiver =
  ^
In file included from ../src/main.cc:1:
../../nan/nan.h:370:27: error: cannot initialize a parameter of type 'int' with an rvalue of type 'v8::Isolate *'
    return v8::Array::New(v8::Isolate::GetCurrent());
                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/myfolder/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:2307:31: note: passing argument to parameter 'length' here
  static Local<Array> New(int length = 0);
                              ^
In file included from ../src/main.cc:1:
../../nan/nan.h:375:54: error: too many arguments to function call, expected at most single argument 'length', have 2 arguments
    return v8::Array::New(v8::Isolate::GetCurrent(), length);
           ~~~~~~~~~~~~~~                            ^~~~~~
/myfolder/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:2307:3: note: 'New' declared here
  static Local<Array> New(int length = 0);
  ^
In file included from ../src/main.cc:1:
../../nan/nan.h:380:53: error: too many arguments to function call, expected single argument 'time', have 2 arguments
    return v8::Date::New(v8::Isolate::GetCurrent(), time).As<v8::Date>();
           ~~~~~~~~~~~~~                            ^~~~
/myfolder/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:2831:3: note: 'New' declared here
  static Local<Value> New(double time);
  ^
In file included from ../src/main.cc:1:
../../nan/nan.h:380:70: error: expected '(' for function-style cast or type construction
    return v8::Date::New(v8::Isolate::GetCurrent(), time).As<v8::Date>();
                                                             ~~~~~~~~^
../../nan/nan.h:380:72: error: expected expression
    return v8::Date::New(v8::Isolate::GetCurrent(), time).As<v8::Date>();
                                                                       ^
../../nan/nan.h:385:53: error: too many arguments to function call, expected single argument 'time', have 2 arguments
    return v8::Date::New(v8::Isolate::GetCurrent(), time).As<v8::Date>();
           ~~~~~~~~~~~~~                            ^~~~
/myfolder/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:2831:3: note: 'New' declared here
  static Local<Value> New(double time);
  ^
In file included from ../src/main.cc:1:
../../nan/nan.h:385:70: error: expected '(' for function-style cast or type construction
    return v8::Date::New(v8::Isolate::GetCurrent(), time).As<v8::Date>();
                                                             ~~~~~~~~^
../../nan/nan.h:385:72: error: expected expression
    return v8::Date::New(v8::Isolate::GetCurrent(), time).As<v8::Date>();
                                                                       ^
../../nan/nan.h:388:15: error: no type named 'UnboundScript' in namespace 'v8'
  typedef v8::UnboundScript NanUnboundScript;
          ~~~~^
../../nan/nan.h:396:9: error: no member named 'ScriptCompiler' in namespace 'v8'
    v8::ScriptCompiler::Source source(s, origin);
    ~~~~^
../../nan/nan.h:397:16: error: no member named 'ScriptCompiler' in namespace 'v8'
    return v8::ScriptCompiler::CompileUnbound(
           ~~~~^
../../nan/nan.h:398:37: error: use of undeclared identifier 'source'; did you mean 'v8::Extension::source'?
        v8::Isolate::GetCurrent(), &source);
                                    ^~~~~~
                                    v8::Extension::source
/myfolder/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:3677:46: note: 'v8::Extension::source' declared here
  const String::ExternalAsciiStringResource* source() const {
                                             ^
In file included from ../src/main.cc:1:
../../nan/nan.h:398:36: error: must explicitly qualify name of member function when taking its address
        v8::Isolate::GetCurrent(), &source);
                                   ^~~~~~~
                                    Extension::
../../nan/nan.h:405:9: error: no member named 'ScriptCompiler' in namespace 'v8'
    v8::ScriptCompiler::Source source(s);
    ~~~~^
../../nan/nan.h:406:16: error: no member named 'ScriptCompiler' in namespace 'v8'
    return v8::ScriptCompiler::CompileUnbound(
           ~~~~^
../../nan/nan.h:407:37: error: use of undeclared identifier 'source'; did you mean 'v8::Extension::source'?
        v8::Isolate::GetCurrent(), &source);
                                    ^~~~~~
                                    v8::Extension::source
/myfolder/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:3677:46: note: 'v8::Extension::source' declared here
  const String::ExternalAsciiStringResource* source() const {
                                             ^
In file included from ../src/main.cc:1:
../../nan/nan.h:407:36: error: must explicitly qualify name of member function when taking its address
        v8::Isolate::GetCurrent(), &source);
                                   ^~~~~~~
                                    Extension::
../../nan/nan.h:432:36: error: too many arguments to function call, expected single argument 'value', have 2 arguments
        v8::Isolate::GetCurrent(), val).As<v8::NumberObject>();
                                   ^~~
/myfolder/.atom/.node-gyp/.node-gyp/0.11.10/deps/v8/include/v8.h:2869:3: note: 'New' declared here
  static Local<Value> New(double value);
  ^
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 /myfolder/Documents/Projekte/coverage/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 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/mixto
npm http 304 https://registry.npmjs.org/property-accessors
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/myfolder/Documents/Projekte/coverage/node_modules/pathwatcher/node_modules'
npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/myfolder/Documents/Projekte/coverage/node_modules/pathwatcher/node_modules']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/myfolder/Documents/Projekte/coverage/node_modules/pathwatcher/node_modules' }
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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" "/myfolder/.atom/.apmrc" "install" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /myfolder/Documents/Projekte/coverage
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /myfolder/Documents/Projekte/coverage/npm-debug.log
npm ERR! not ok code 0

Failed installation on Windows 10 x64

I tried to install runas and it failed with this output:

C:\Users\pupeno\Documents\Dashman\clients>npm install runas

> [email protected] install C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas
> node-gyp rebuild


C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\pupeno\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\Users\pupeno\AppData\Local\Programs\Python\Python36-32\python.EXE", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (C:\Users\pupeno\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack     at PythonFinder.<anonymous> (C:\Users\pupeno\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack     at C:\Users\pupeno\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:114:15)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\pupeno\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas
gyp ERR! node -v v7.8.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN clients No repository field.
npm WARN clients No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\pupeno\AppData\Roaming\npm-cache\_logs\2017-06-12T19_01_57_700Z-debug.log

C:\Users\pupeno\Documents\Dashman\clients>

I don't understand the error about Python:

C:\Users\pupeno\Documents\Dashman\clients>C:\Users\pupeno\AppData\Local\Programs\Python\Python36-32\python.EXE --version
Python 3.6.1

C:\Users\pupeno\Documents\Dashman\clients>%PYTHON% --version
Python 3.6.1

C:\Users\pupeno\Documents\Dashman\clients>

2017-06-12T19_01_57_700Z-debug.log contains:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\pupeno\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   'runas' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 3f79ff767b1acbc3
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/runas 215ms
8 silly pacote tag manifest for runas@latest fetched in 256ms
9 silly install loadIdealTree
10 silly install cloneCurrentTreeToIdealTree
11 silly install loadShrinkwrap
12 silly install loadAllDepsIntoIdealTree
13 silly resolveWithNewModule [email protected] checking installable status
14 http fetch GET 200 https://registry.npmjs.org/nan 31ms
15 silly pacote range manifest for [email protected] fetched in 53ms
16 silly resolveWithNewModule [email protected] checking installable status
17 silly currentTree clients
18 silly idealTree clients
18 silly idealTree +-- [email protected]
18 silly idealTree `-- [email protected]
19 silly install generateActionsToTake
20 silly diffTrees action count 2
21 silly diffTrees add [email protected]
22 silly diffTrees add [email protected]
23 silly decomposeActions action count 16
24 silly decomposeActions fetch [email protected]
25 silly decomposeActions extract [email protected]
26 silly decomposeActions preinstall [email protected]
27 silly decomposeActions build [email protected]
28 silly decomposeActions install [email protected]
29 silly decomposeActions postinstall [email protected]
30 silly decomposeActions finalize [email protected]
31 silly decomposeActions refresh-package-json [email protected]
32 silly decomposeActions fetch [email protected]
33 silly decomposeActions extract [email protected]
34 silly decomposeActions preinstall [email protected]
35 silly decomposeActions build [email protected]
36 silly decomposeActions install [email protected]
37 silly decomposeActions postinstall [email protected]
38 silly decomposeActions finalize [email protected]
39 silly decomposeActions refresh-package-json [email protected]
40 silly install executeActions
41 silly doSerial global-install 16
42 verbose correctMkdir C:\Users\pupeno\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
43 verbose lock using C:\Users\pupeno\AppData\Roaming\npm-cache\_locks\staging-5ac6bd3e2a0f2b53.lock for C:\Users\pupeno\Documents\Dashman\clients\node_modules\.staging
44 silly doParallel extract 16
45 silly extract [email protected]
46 silly pacote trying nan@https://registry.npmjs.org/nan/-/nan-2.6.2.tgz by hash: sha1-5P805slf37WuzAjeZZb0NgWn20U=
47 silly extract [email protected]
48 silly pacote trying runas@https://registry.npmjs.org/runas/-/runas-3.1.1.tgz by hash: sha1-Ut1TjbDkF0U5lTWjRwkbpFzA6rA=
49 silly pacote data for sha1-5P805slf37WuzAjeZZb0NgWn20U= not present. Using manifest.
50 silly pacote data for sha1-Ut1TjbDkF0U5lTWjRwkbpFzA6rA= not present. Using manifest.
51 http fetch GET 200 https://registry.npmjs.org/nan/-/nan-2.6.2.tgz 84ms
52 http fetch GET 200 https://registry.npmjs.org/runas/-/runas-3.1.1.tgz 85ms
53 silly pacote runas@https://registry.npmjs.org/runas/-/runas-3.1.1.tgz extracted in 128ms
54 silly pacote nan@https://registry.npmjs.org/nan/-/nan-2.6.2.tgz extracted in 194ms
55 silly doReverseSerial remove 16
56 silly doSerial move 16
57 silly doSerial finalize 16
58 silly finalize C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas
59 silly finalize C:\Users\pupeno\Documents\Dashman\clients\node_modules\nan
60 silly doParallel refresh-package-json 16
61 silly refresh-package-json C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas
62 silly refresh-package-json C:\Users\pupeno\Documents\Dashman\clients\node_modules\nan
63 silly doParallel preinstall 16
64 silly preinstall [email protected]
65 info lifecycle [email protected]~preinstall: [email protected]
66 silly preinstall [email protected]
67 info lifecycle [email protected]~preinstall: [email protected]
68 silly lifecycle [email protected]~preinstall: no script for preinstall, continuing
69 silly lifecycle [email protected]~preinstall: no script for preinstall, continuing
70 silly doSerial build 16
71 silly build [email protected]
72 info linkStuff [email protected]
73 silly linkStuff [email protected] has C:\Users\pupeno\Documents\Dashman\clients\node_modules as its parent node_modules
74 verbose linkBins [email protected]
75 verbose linkMans [email protected]
76 silly build [email protected]
77 info linkStuff [email protected]
78 silly linkStuff [email protected] has C:\Users\pupeno\Documents\Dashman\clients\node_modules as its parent node_modules
79 verbose linkBins [email protected]
80 verbose linkMans [email protected]
81 silly doSerial global-link 16
82 silly doParallel update-linked 16
83 silly doSerial install 16
84 silly install [email protected]
85 info lifecycle [email protected]~install: [email protected]
86 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true
87 verbose lifecycle [email protected]~install: PATH: C:\Users\pupeno\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas\node_modules\.bin;C:\Users\pupeno\Documents\Dashman\clients\node_modules\.bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Redis\;C:\Program Files\nodejs\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Amazon\AWSCLI\;C:\Program Files\Git\cmd;C:\Program Files\Heroku\bin\;C:\Users\pupeno\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\pupeno\AppData\Local\Programs\Python\Python36-32\;C:\Users\pupeno\AppData\Local\Microsoft\WindowsApps;C:\Users\pupeno\AppData\Local\Programs\Git\cmd;C:\Users\pupeno\AppData\Roaming\npm;C:\Users\pupeno\.lein\bin;C:\Users\pupeno\.bin
88 verbose lifecycle [email protected]~install: CWD: C:\Users\pupeno\Documents\Dashman\clients\node_modules\runas
89 silly lifecycle [email protected]~install: Args: [ '/d /s /c', 'node-gyp rebuild' ]
90 silly lifecycle [email protected]~install: Returned: code: 1  signal: null
91 info lifecycle [email protected]~install: Failed to exec install script
92 verbose unlock done using C:\Users\pupeno\AppData\Roaming\npm-cache\_locks\staging-5ac6bd3e2a0f2b53.lock for C:\Users\pupeno\Documents\Dashman\clients\node_modules\.staging
93 warn clients No repository field.
94 warn clients No license field.
95 verbose stack Error: [email protected] install: `node-gyp rebuild`
95 verbose stack Exit status 1
95 verbose stack     at EventEmitter.<anonymous> (C:\Users\pupeno\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:283:16)
95 verbose stack     at emitTwo (events.js:106:13)
95 verbose stack     at EventEmitter.emit (events.js:194:7)
95 verbose stack     at ChildProcess.<anonymous> (C:\Users\pupeno\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14)
95 verbose stack     at emitTwo (events.js:106:13)
95 verbose stack     at ChildProcess.emit (events.js:194:7)
95 verbose stack     at maybeClose (internal/child_process.js:899:16)
95 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
96 verbose pkgid [email protected]
97 verbose cwd C:\Users\pupeno\Documents\Dashman\clients
98 verbose Windows_NT 10.0.14393
99 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\pupeno\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "runas"
100 verbose node v7.8.0
101 verbose npm  v5.0.3
102 error code ELIFECYCLE
103 error errno 1
104 error [email protected] install: `node-gyp rebuild`
104 error Exit status 1
105 error Failed at the [email protected] install script.
105 error This is probably not a problem with npm. There is likely additional logging output above.
106 verbose exit [ 1, true ]

windows 8.1 x64 install error

I'm getting an error trying to install runas:

Travis@FLOODPANTS ~/atom (master)
$ npm install runas -g
|


> [email protected] install C:\Users\Travis\AppData\Roaming\npm\node_modules\runas
> node-gyp rebuild


C:\Users\Travis\AppData\Roaming\npm\node_modules\runas>node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\
..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  main.cc
  runas_win.cc
C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan\nan.h(1066): warning C4267: 'argument' : conver
sion from 'size_t' to 'int', possible loss of data [C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\build\runas.
-vcxproj]
C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan\nan.h(1083): warning C4267: 'argument' : conver
sion from 'size_t' to 'int', possible loss of data [C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\build\runas.
vcxproj]
C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan\nan.h(1114): warning C4267: 'argument' : conver
sion from 'size_t' to 'int', possible loss of data [C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\build\runas.
vcxproj]
C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan\nan.h(1146): warning C4267: 'argument' : conver
sion from 'size_t' to 'int', possible loss of data [C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\build\runas.
vcxproj]
C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan\nan.h(934): warning C4244: 'initializing' : con
version from '__int64' to 'int', possible loss of data [C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\build\ru
nas.vcxproj]
          C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan\nan.h(1127) : see reference to functi
  on template instantiation 'size_t _nan_base64_decode<uint16_t>(char *,size_t,const TypeName *,const size_t)' being co
  mpiled
          with
          [
              TypeName=uint16_t
          ]
LINK : fatal error LNK1181: cannot open input file 'kernel32.lib' [C:\Users\Travis\AppData\Roaming\npm\node_modules\run
as\build\runas.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (c:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:2
67:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuil
d"
gyp ERR! cwd C:\Users\Travis\AppData\Roaming\npm\node_modules\runas
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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 Windows_NT 6.2.9200
npm ERR! command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "
install" "runas" "-g"
npm ERR! cwd c:\Users\Travis\atom
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     c:\Users\Travis\atom\npm-debug.log
npm ERR! not ok code 0

System info:

OS Name:                   Microsoft Windows 8.1 Pro
OS Version:                6.3.9600 N/A Build 9600
System Type:               x64-based PC
node v0.10.29
npm 1.4.14
Python 2.7.3

npm-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ 'c:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   'runas',
1 verbose cli   '-g' ]
2 info using [email protected]
3 info using [email protected]
4 verbose cache add [ 'runas', null ]
5 verbose cache add name=undefined spec="runas" args=["runas",null]
6 verbose parsed url { protocol: null,
6 verbose parsed url   slashes: null,
6 verbose parsed url   auth: null,
6 verbose parsed url   host: null,
6 verbose parsed url   port: null,
6 verbose parsed url   hostname: null,
6 verbose parsed url   hash: null,
6 verbose parsed url   search: null,
6 verbose parsed url   query: null,
6 verbose parsed url   pathname: 'runas',
6 verbose parsed url   path: 'runas',
6 verbose parsed url   href: 'runas' }
7 silly lockFile adaeaa32-runas runas
8 verbose lock runas C:\Users\Travis\AppData\Roaming\npm-cache\adaeaa32-runas.lock
9 silly lockFile adaeaa32-runas runas
10 silly lockFile adaeaa32-runas runas
11 verbose addNamed [ 'runas', '' ]
12 verbose addNamed [ null, '*' ]
13 silly lockFile f70cfade-runas runas@
14 verbose lock runas@ C:\Users\Travis\AppData\Roaming\npm-cache\f70cfade-runas.lock
15 silly addNameRange { name: 'runas', range: '*', hasData: false }
16 verbose url raw runas
17 verbose url resolving [ 'https://registry.npmjs.org/', './runas' ]
18 verbose url resolved https://registry.npmjs.org/runas
19 info trying registry request attempt 1 at 13:04:24
20 verbose etag "1ABKN4AZIEL5D31B1D99HZHP8"
21 http GET https://registry.npmjs.org/runas
22 http 304 https://registry.npmjs.org/runas
23 silly registry.get cb [ 304,
23 silly registry.get   { date: 'Wed, 25 Jun 2014 17:04:21 GMT',
23 silly registry.get     server: 'Apache',
23 silly registry.get     via: '1.1 varnish',
23 silly registry.get     'last-modified': 'Wed, 25 Jun 2014 17:04:21 GMT',
23 silly registry.get     'cache-control': 'max-age=30',
23 silly registry.get     etag: '"1ABKN4AZIEL5D31B1D99HZHP8"',
23 silly registry.get     'x-served-by': 'cache-dfw1821-DFW',
23 silly registry.get     'x-cache': 'MISS',
23 silly registry.get     'x-cache-hits': '0',
23 silly registry.get     'x-timer': 'S1403715861.308592,VS0,VE62',
23 silly registry.get     vary: 'Accept',
23 silly registry.get     'content-length': '0',
23 silly registry.get     'keep-alive': 'timeout=10, max=50',
23 silly registry.get     connection: 'Keep-Alive' } ]
24 verbose etag runas from cache
25 silly addNameRange number 2 { name: 'runas', range: '*', hasData: true }
26 silly addNameRange versions [ 'runas',
26 silly addNameRange   [ '0.1.0',
26 silly addNameRange     '0.2.0',
26 silly addNameRange     '0.3.0',
26 silly addNameRange     '0.4.0',
26 silly addNameRange     '0.5.0',
26 silly addNameRange     '0.5.1',
26 silly addNameRange     '0.5.2',
26 silly addNameRange     '0.5.3',
26 silly addNameRange     '0.5.4' ] ]
27 verbose addNamed [ 'runas', '0.5.4' ]
28 verbose addNamed [ '0.5.4', '0.5.4' ]
29 silly lockFile ffaac201-runas-0-5-4 [email protected]
30 verbose lock [email protected] C:\Users\Travis\AppData\Roaming\npm-cache\ffaac201-runas-0-5-4.lock
31 silly lockFile ffaac201-runas-0-5-4 [email protected]
32 silly lockFile ffaac201-runas-0-5-4 [email protected]
33 silly lockFile f70cfade-runas runas@
34 silly lockFile f70cfade-runas runas@
35 silly resolved [ { main: './lib/runas.js',
35 silly resolved     name: 'runas',
35 silly resolved     version: '0.5.4',
35 silly resolved     licenses: [ [Object] ],
35 silly resolved     repository: { type: 'git', url: 'https://github.com/atom/node-runas.git' },
35 silly resolved     bugs: { url: 'https://github.com/atom/node-runas/issues' },
35 silly resolved     scripts:
35 silly resolved      { prepublish: 'grunt coffee',
35 silly resolved        test: 'node node_modules/jasmine-node/bin/jasmine-node --captureExceptions --coffee spec/',
35 silly resolved        install: 'node-gyp rebuild' },
35 silly resolved     devDependencies:
35 silly resolved      { 'jasmine-node': '~1.5.0',
35 silly resolved        grunt: '~0.4.1',
35 silly resolved        'grunt-contrib-coffee': '~0.6.6',
35 silly resolved        'grunt-cli': '~0.1.7',
35 silly resolved        'grunt-shell': '~0.2.2',
35 silly resolved        'coffee-script': '~1.6.2',
35 silly resolved        'node-cpplint': '~0.1.5' },
35 silly resolved     dependencies: { nan: '0.8.0', bindings: '~1.1.0' },
35 silly resolved     gypfile: true,
35 silly resolved     readme: '# Runas\n\nRun command synchronously with administrator privilege.\n\n## Installing\n\n```sh\nnpm install runas\n```\n\n## Building\n  * Clone the repository\n  * Run `npm install`\n  * Run `grunt` to compile the native and CoffeeScript code\n  * Run `grunt test` to run the specs\n\n## Docs\n\n```coffeescript\nrunas = require \'runas\'\n```\n\n### runas(command, args[, options])\n\n* `options` Object\n  * `hide` Boolean - Hide the console window, `true` by default.\n  * `admin` Boolean - Run command as administrator, `false` by default.\n  * `stdin` String - String which would be passed as stdin input.\n\nLaunches a new process with the given `command`, with command line arguments in\n`args`.\n\nThis function is synchronous and returns the exit code when the `command`\nfinished.\n\n## Limitations\n\n* The `admin` option has only been implemented on Windows and OSX.\n* The `stdin` option has only been implemented on POSIX systems.\n* The `hide` option is only meaningful on Windows.\n',
35 silly resolved     readmeFilename: 'README.md',
35 silly resolved     description: 'Run command synchronously with administrator privilege.',
35 silly resolved     homepage: 'https://github.com/atom/node-runas',
35 silly resolved     _id: '[email protected]',
35 silly resolved     _from: 'runas@' } ]
36 info install [email protected] into C:\Users\Travis\AppData\Roaming\npm
37 info installOne [email protected]
38 info C:\Users\Travis\AppData\Roaming\npm\node_modules\runas unbuild
39 verbose tar unpack C:\Users\Travis\AppData\Roaming\npm-cache\runas\0.5.4\package.tgz
40 silly lockFile 5eec44a4-a-Roaming-npm-node-modules-runas tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas
41 verbose lock tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas C:\Users\Travis\AppData\Roaming\npm-cache\5eec44a4-a-Roaming-npm-node-modules-runas.lock
42 silly lockFile 9671731d-pm-cache-runas-0-5-4-package-tgz tar://C:\Users\Travis\AppData\Roaming\npm-cache\runas\0.5.4\package.tgz
43 verbose lock tar://C:\Users\Travis\AppData\Roaming\npm-cache\runas\0.5.4\package.tgz C:\Users\Travis\AppData\Roaming\npm-cache\9671731d-pm-cache-runas-0-5-4-package-tgz.lock
44 silly gunzTarPerm modes [ '755', '644' ]
45 silly gunzTarPerm extractEntry package.json
46 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
47 silly gunzTarPerm extractEntry README.md
48 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
49 silly gunzTarPerm extractEntry binding.gyp
50 silly gunzTarPerm modified mode [ 'binding.gyp', 438, 420 ]
51 silly gunzTarPerm extractEntry lib/runas.js
52 silly gunzTarPerm modified mode [ 'lib/runas.js', 438, 420 ]
53 silly gunzTarPerm extractEntry LICENSE.md
54 silly gunzTarPerm modified mode [ 'LICENSE.md', 438, 420 ]
55 silly gunzTarPerm extractEntry src/fork.cc
56 silly gunzTarPerm modified mode [ 'src/fork.cc', 438, 420 ]
57 silly gunzTarPerm extractEntry src/fork.h
58 silly gunzTarPerm modified mode [ 'src/fork.h', 438, 420 ]
59 silly gunzTarPerm extractEntry src/main.cc
60 silly gunzTarPerm modified mode [ 'src/main.cc', 438, 420 ]
61 silly gunzTarPerm extractEntry src/runas.h
62 silly gunzTarPerm modified mode [ 'src/runas.h', 438, 420 ]
63 silly gunzTarPerm extractEntry src/runas_darwin.cc
64 silly gunzTarPerm modified mode [ 'src/runas_darwin.cc', 438, 420 ]
65 silly gunzTarPerm extractEntry src/runas_posix.cc
66 silly gunzTarPerm modified mode [ 'src/runas_posix.cc', 438, 420 ]
67 silly gunzTarPerm extractEntry src/runas_win.cc
68 silly gunzTarPerm modified mode [ 'src/runas_win.cc', 438, 420 ]
69 silly lockFile 5eec44a4-a-Roaming-npm-node-modules-runas tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas
70 silly lockFile 5eec44a4-a-Roaming-npm-node-modules-runas tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas
71 silly lockFile 9671731d-pm-cache-runas-0-5-4-package-tgz tar://C:\Users\Travis\AppData\Roaming\npm-cache\runas\0.5.4\package.tgz
72 silly lockFile 9671731d-pm-cache-runas-0-5-4-package-tgz tar://C:\Users\Travis\AppData\Roaming\npm-cache\runas\0.5.4\package.tgz
73 info preinstall [email protected]
74 verbose readDependencies using package.json deps
75 verbose readDependencies using package.json deps
76 verbose cache add [ '[email protected]', null ]
77 verbose cache add name=undefined spec="[email protected]" args=["[email protected]",null]
78 verbose parsed url { protocol: null,
78 verbose parsed url   slashes: null,
78 verbose parsed url   auth: null,
78 verbose parsed url   host: null,
78 verbose parsed url   port: null,
78 verbose parsed url   hostname: null,
78 verbose parsed url   hash: null,
78 verbose parsed url   search: null,
78 verbose parsed url   query: null,
78 verbose parsed url   pathname: '[email protected]',
78 verbose parsed url   path: '[email protected]',
78 verbose parsed url   href: '[email protected]' }
79 verbose cache add [ 'bindings@~1.1.0', null ]
80 verbose cache add name=undefined spec="bindings@~1.1.0" args=["bindings@~1.1.0",null]
81 verbose parsed url { protocol: null,
81 verbose parsed url   slashes: null,
81 verbose parsed url   auth: null,
81 verbose parsed url   host: null,
81 verbose parsed url   port: null,
81 verbose parsed url   hostname: null,
81 verbose parsed url   hash: null,
81 verbose parsed url   search: null,
81 verbose parsed url   query: null,
81 verbose parsed url   pathname: 'bindings@~1.1.0',
81 verbose parsed url   path: 'bindings@~1.1.0',
81 verbose parsed url   href: 'bindings@~1.1.0' }
82 verbose cache add name="nan" spec="0.8.0" args=["nan","0.8.0"]
83 verbose parsed url { protocol: null,
83 verbose parsed url   slashes: null,
83 verbose parsed url   auth: null,
83 verbose parsed url   host: null,
83 verbose parsed url   port: null,
83 verbose parsed url   hostname: null,
83 verbose parsed url   hash: null,
83 verbose parsed url   search: null,
83 verbose parsed url   query: null,
83 verbose parsed url   pathname: '0.8.0',
83 verbose parsed url   path: '0.8.0',
83 verbose parsed url   href: '0.8.0' }
84 verbose addNamed [ 'nan', '0.8.0' ]
85 verbose addNamed [ '0.8.0', '0.8.0' ]
86 silly lockFile 46761758-nan-0-8-0 [email protected]
87 verbose lock [email protected] C:\Users\Travis\AppData\Roaming\npm-cache\46761758-nan-0-8-0.lock
88 verbose cache add name="bindings" spec="~1.1.0" args=["bindings","~1.1.0"]
89 verbose parsed url { protocol: null,
89 verbose parsed url   slashes: null,
89 verbose parsed url   auth: null,
89 verbose parsed url   host: null,
89 verbose parsed url   port: null,
89 verbose parsed url   hostname: null,
89 verbose parsed url   hash: null,
89 verbose parsed url   search: null,
89 verbose parsed url   query: null,
89 verbose parsed url   pathname: '~1.1.0',
89 verbose parsed url   path: '~1.1.0',
89 verbose parsed url   href: '~1.1.0' }
90 verbose addNamed [ 'bindings', '~1.1.0' ]
91 verbose addNamed [ null, '>=1.1.0-0 <1.2.0-0' ]
92 silly lockFile 3e6cf8d3-bindings-1-1-0 bindings@~1.1.0
93 verbose lock bindings@~1.1.0 C:\Users\Travis\AppData\Roaming\npm-cache\3e6cf8d3-bindings-1-1-0.lock
94 silly addNameRange { name: 'bindings', range: '>=1.1.0-0 <1.2.0-0', hasData: false }
95 verbose url raw nan
96 verbose url resolving [ 'https://registry.npmjs.org/', './nan' ]
97 verbose url resolved https://registry.npmjs.org/nan
98 info trying registry request attempt 1 at 13:04:25
99 verbose etag "2AR77MDTC9FRZIYCVIL3QPO57"
100 http GET https://registry.npmjs.org/nan
101 verbose url raw bindings
102 verbose url resolving [ 'https://registry.npmjs.org/', './bindings' ]
103 verbose url resolved https://registry.npmjs.org/bindings
104 info trying registry request attempt 1 at 13:04:25
105 verbose etag "EF0U3ERBDZ107WR2K8OB2X3WQ"
106 http GET https://registry.npmjs.org/bindings
107 http 304 https://registry.npmjs.org/nan
108 silly registry.get cb [ 304,
108 silly registry.get   { date: 'Wed, 25 Jun 2014 17:04:21 GMT',
108 silly registry.get     server: 'Apache',
108 silly registry.get     via: '1.1 varnish',
108 silly registry.get     'last-modified': 'Wed, 25 Jun 2014 17:04:21 GMT',
108 silly registry.get     'cache-control': 'max-age=30',
108 silly registry.get     etag: '"2AR77MDTC9FRZIYCVIL3QPO57"',
108 silly registry.get     'x-served-by': 'cache-dfw1834-DFW',
108 silly registry.get     'x-cache': 'HIT',
108 silly registry.get     'x-cache-hits': '1',
108 silly registry.get     'x-timer': 'S1403715861.701402,VS0,VE41',
108 silly registry.get     vary: 'Accept',
108 silly registry.get     'content-length': '0',
108 silly registry.get     'keep-alive': 'timeout=10, max=50',
108 silly registry.get     connection: 'Keep-Alive' } ]
109 verbose etag nan from cache
110 silly lockFile 46761758-nan-0-8-0 [email protected]
111 silly lockFile 46761758-nan-0-8-0 [email protected]
112 http 304 https://registry.npmjs.org/bindings
113 silly registry.get cb [ 304,
113 silly registry.get   { date: 'Wed, 25 Jun 2014 17:04:21 GMT',
113 silly registry.get     server: 'Apache',
113 silly registry.get     via: '1.1 varnish',
113 silly registry.get     'last-modified': 'Wed, 25 Jun 2014 17:04:21 GMT',
113 silly registry.get     'cache-control': 'max-age=30',
113 silly registry.get     etag: '"EF0U3ERBDZ107WR2K8OB2X3WQ"',
113 silly registry.get     'x-served-by': 'cache-dfw1835-DFW',
113 silly registry.get     'x-cache': 'HIT',
113 silly registry.get     'x-cache-hits': '1',
113 silly registry.get     'x-timer': 'S1403715861.703523,VS0,VE233',
113 silly registry.get     vary: 'Accept',
113 silly registry.get     'content-length': '0',
113 silly registry.get     'keep-alive': 'timeout=10, max=50',
113 silly registry.get     connection: 'Keep-Alive' } ]
114 verbose etag bindings from cache
115 silly addNameRange number 2 { name: 'bindings', range: '>=1.1.0-0 <1.2.0-0', hasData: true }
116 silly addNameRange versions [ 'bindings',
116 silly addNameRange   [ '0.0.1',
116 silly addNameRange     '0.1.0',
116 silly addNameRange     '0.1.1',
116 silly addNameRange     '0.2.0',
116 silly addNameRange     '0.2.1',
116 silly addNameRange     '0.2.2',
116 silly addNameRange     '0.2.3',
116 silly addNameRange     '0.2.4',
116 silly addNameRange     '0.3.0',
116 silly addNameRange     '0.4.0',
116 silly addNameRange     '1.0.0',
116 silly addNameRange     '1.1.0',
116 silly addNameRange     '1.1.1',
116 silly addNameRange     '1.2.0' ] ]
117 verbose addNamed [ 'bindings', '1.1.1' ]
118 verbose addNamed [ '1.1.1', '1.1.1' ]
119 silly lockFile 52dd60a7-bindings-1-1-1 [email protected]
120 verbose lock [email protected] C:\Users\Travis\AppData\Roaming\npm-cache\52dd60a7-bindings-1-1-1.lock
121 silly lockFile 52dd60a7-bindings-1-1-1 [email protected]
122 silly lockFile 52dd60a7-bindings-1-1-1 [email protected]
123 silly lockFile 3e6cf8d3-bindings-1-1-0 bindings@~1.1.0
124 silly lockFile 3e6cf8d3-bindings-1-1-0 bindings@~1.1.0
125 silly resolved [ { name: 'nan',
125 silly resolved     version: '0.8.0',
125 silly resolved     description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
125 silly resolved     main: 'include_dirs.js',
125 silly resolved     repository: { type: 'git', url: 'git://github.com/rvagg/nan.git' },
125 silly resolved     contributors: [ [Object], [Object], [Object], [Object], [Object], [Object] ],
125 silly resolved     license: 'MIT',
125 silly resolved     bugs: { url: 'https://github.com/rvagg/nan/issues' },
125 silly resolved     homepage: 'https://github.com/rvagg/nan',
125 silly resolved     _id: '[email protected]',
125 silly resolved     dist:
125 silly resolved      { shasum: '022a8fa5e9fe8420964ac1fb3dc94e17f449f5fd',
125 silly resolved        tarball: 'http://registry.npmjs.org/nan/-/nan-0.8.0.tgz' },
125 silly resolved     _from: '[email protected]',
125 silly resolved     _npmVersion: '1.3.21',
125 silly resolved     _npmUser: { name: 'rvagg', email: '[email protected]' },
125 silly resolved     maintainers: [ [Object] ],
125 silly resolved     directories: {},
125 silly resolved     _shasum: '022a8fa5e9fe8420964ac1fb3dc94e17f449f5fd',
125 silly resolved     _resolved: 'https://registry.npmjs.org/nan/-/nan-0.8.0.tgz',
125 silly resolved     readme: 'ERROR: No README data found!' },
125 silly resolved   { name: 'bindings',
125 silly resolved     description: 'Helper module for loading your native module\'s .node file',
125 silly resolved     keywords: [ 'native', 'addon', 'bindings', 'gyp', 'waf', 'c', 'c++' ],
125 silly resolved     version: '1.1.1',
125 silly resolved     author:
125 silly resolved      { name: 'Nathan Rajlich',
125 silly resolved        email: '[email protected]',
125 silly resolved        url: 'http://tootallnate.net' },
125 silly resolved     repository:
125 silly resolved      { type: 'git',
125 silly resolved        url: 'git://github.com/TooTallNate/node-bindings.git' },
125 silly resolved     main: './bindings.js',
125 silly resolved     bugs: { url: 'https://github.com/TooTallNate/node-bindings/issues' },
125 silly resolved     _id: '[email protected]',
125 silly resolved     dist:
125 silly resolved      { shasum: '951f7ae010302ffc50b265b124032017ed2bf6f3',
125 silly resolved        tarball: 'http://registry.npmjs.org/bindings/-/bindings-1.1.1.tgz' },
125 silly resolved     _from: 'bindings@~1.1.0',
125 silly resolved     _npmVersion: '1.3.2',
125 silly resolved     _npmUser: { name: 'tootallnate', email: '[email protected]' },
125 silly resolved     maintainers: [ [Object], [Object] ],
125 silly resolved     directories: {},
125 silly resolved     _shasum: '951f7ae010302ffc50b265b124032017ed2bf6f3',
125 silly resolved     _resolved: 'https://registry.npmjs.org/bindings/-/bindings-1.1.1.tgz',
125 silly resolved     readme: 'ERROR: No README data found!',
125 silly resolved     homepage: 'https://github.com/TooTallNate/node-bindings' } ]
126 info install [email protected] into C:\Users\Travis\AppData\Roaming\npm\node_modules\runas
127 info install [email protected] into C:\Users\Travis\AppData\Roaming\npm\node_modules\runas
128 info installOne [email protected]
129 info installOne [email protected]
130 info C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan unbuild
131 info C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\bindings unbuild
132 verbose tar unpack C:\Users\Travis\AppData\Roaming\npm-cache\nan\0.8.0\package.tgz
133 silly lockFile 27c7e3bc-e-modules-runas-node-modules-nan tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan
134 verbose lock tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan C:\Users\Travis\AppData\Roaming\npm-cache\27c7e3bc-e-modules-runas-node-modules-nan.lock
135 silly lockFile 145eaedc--npm-cache-nan-0-8-0-package-tgz tar://C:\Users\Travis\AppData\Roaming\npm-cache\nan\0.8.0\package.tgz
136 verbose lock tar://C:\Users\Travis\AppData\Roaming\npm-cache\nan\0.8.0\package.tgz C:\Users\Travis\AppData\Roaming\npm-cache\145eaedc--npm-cache-nan-0-8-0-package-tgz.lock
137 verbose tar unpack C:\Users\Travis\AppData\Roaming\npm-cache\bindings\1.1.1\package.tgz
138 silly lockFile 931ef3cc-ules-runas-node-modules-bindings tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\bindings
139 verbose lock tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\bindings C:\Users\Travis\AppData\Roaming\npm-cache\931ef3cc-ules-runas-node-modules-bindings.lock
140 silly lockFile aace33b3-cache-bindings-1-1-1-package-tgz tar://C:\Users\Travis\AppData\Roaming\npm-cache\bindings\1.1.1\package.tgz
141 verbose lock tar://C:\Users\Travis\AppData\Roaming\npm-cache\bindings\1.1.1\package.tgz C:\Users\Travis\AppData\Roaming\npm-cache\aace33b3-cache-bindings-1-1-1-package-tgz.lock
142 silly gunzTarPerm modes [ '755', '644' ]
143 silly gunzTarPerm modes [ '755', '644' ]
144 silly gunzTarPerm extractEntry package.json
145 silly gunzTarPerm extractEntry package.json
146 silly gunzTarPerm extractEntry README.md
147 silly gunzTarPerm extractEntry LICENSE
148 silly gunzTarPerm extractEntry include_dirs.js
149 silly gunzTarPerm extractEntry .dntrc
150 silly gunzTarPerm extractEntry build/config.gypi
151 silly gunzTarPerm extractEntry nan.h
152 silly gunzTarPerm extractEntry README.md
153 silly gunzTarPerm extractEntry bindings.js
154 silly lockFile 931ef3cc-ules-runas-node-modules-bindings tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\bindings
155 silly lockFile 931ef3cc-ules-runas-node-modules-bindings tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\bindings
156 silly lockFile aace33b3-cache-bindings-1-1-1-package-tgz tar://C:\Users\Travis\AppData\Roaming\npm-cache\bindings\1.1.1\package.tgz
157 silly lockFile aace33b3-cache-bindings-1-1-1-package-tgz tar://C:\Users\Travis\AppData\Roaming\npm-cache\bindings\1.1.1\package.tgz
158 info preinstall [email protected]
159 verbose readDependencies using package.json deps
160 verbose readDependencies using package.json deps
161 silly resolved []
162 verbose about to build C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\bindings
163 info build C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\bindings
164 verbose linkStuff [ true,
164 verbose linkStuff   'C:\\Users\\Travis\\AppData\\Roaming\\npm\\node_modules',
164 verbose linkStuff   false,
164 verbose linkStuff   'C:\\Users\\Travis\\AppData\\Roaming\\npm\\node_modules\\runas\\node_modules' ]
165 info linkStuff [email protected]
166 verbose linkBins [email protected]
167 verbose linkMans [email protected]
168 verbose rebuildBundles [email protected]
169 info install [email protected]
170 info postinstall [email protected]
171 silly lockFile 27c7e3bc-e-modules-runas-node-modules-nan tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan
172 silly lockFile 27c7e3bc-e-modules-runas-node-modules-nan tar://C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan
173 silly lockFile 145eaedc--npm-cache-nan-0-8-0-package-tgz tar://C:\Users\Travis\AppData\Roaming\npm-cache\nan\0.8.0\package.tgz
174 silly lockFile 145eaedc--npm-cache-nan-0-8-0-package-tgz tar://C:\Users\Travis\AppData\Roaming\npm-cache\nan\0.8.0\package.tgz
175 info preinstall [email protected]
176 verbose readDependencies using package.json deps
177 verbose readDependencies using package.json deps
178 silly resolved []
179 verbose about to build C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan
180 info build C:\Users\Travis\AppData\Roaming\npm\node_modules\runas\node_modules\nan
181 verbose linkStuff [ true,
181 verbose linkStuff   'C:\\Users\\Travis\\AppData\\Roaming\\npm\\node_modules',
181 verbose linkStuff   false,
181 verbose linkStuff   'C:\\Users\\Travis\\AppData\\Roaming\\npm\\node_modules\\runas\\node_modules' ]
182 info linkStuff [email protected]
183 verbose linkBins [email protected]
184 verbose linkMans [email protected]
185 verbose rebuildBundles [email protected]
186 info install [email protected]
187 info postinstall [email protected]
188 verbose about to build C:\Users\Travis\AppData\Roaming\npm\node_modules\runas
189 info build C:\Users\Travis\AppData\Roaming\npm\node_modules\runas
190 verbose linkStuff [ true,
190 verbose linkStuff   'C:\\Users\\Travis\\AppData\\Roaming\\npm\\node_modules',
190 verbose linkStuff   true,
190 verbose linkStuff   'C:\\Users\\Travis\\AppData\\Roaming\\npm\\node_modules' ]
191 info linkStuff [email protected]
192 verbose linkBins [email protected]
193 verbose linkMans [email protected]
194 verbose rebuildBundles [email protected]
195 verbose rebuildBundles [ 'bindings', 'nan' ]
196 info install [email protected]
197 verbose unsafe-perm in lifecycle true
198 info [email protected] Failed to exec install script
199 info C:\Users\Travis\AppData\Roaming\npm\node_modules\runas unbuild
200 info preuninstall [email protected]
201 info uninstall [email protected]
202 verbose true,C:\Users\Travis\AppData\Roaming\npm\node_modules,C:\Users\Travis\AppData\Roaming\npm\node_modules unbuild [email protected]
203 info postuninstall [email protected]
204 error [email protected] install: `node-gyp rebuild`
204 error Exit status 1
205 error Failed at the [email protected] install script.
205 error This is most likely a problem with the runas package,
205 error not with npm itself.
205 error Tell the author that this fails on your system:
205 error     node-gyp rebuild
205 error You can get their info via:
205 error     npm owner ls runas
205 error There is likely additional logging output above.
206 error System Windows_NT 6.2.9200
207 error command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "runas" "-g"
208 error cwd c:\Users\Travis\atom
209 error node -v v0.10.29
210 error npm -v 1.4.14
211 error code ELIFECYCLE
212 verbose exit [ 1, true ]

Let me know if there's any other info that would be helpful.

`npm install runas` Fails

I get the following traceback from both npm install -g runas and npm install inside the cloned runas repo.

Update: moved traceback to pastebin to clear up formatting issues.
http://pastebin.com/A6u2PbR2

This seems like it may be related to #5, but I have checked and found python 2.6 to be properly installed. I don't have root access to this server, so I'm afraid that I'm powerless to try 2.7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.