apm install fails because of runas #11
Comments
+1, happening for me, too! Identical error message. Working on https://github.com/Glavin001/atom-preview/tree/use-atoms-react-editor-view $ apm stars --install
Installing Sublime-Style-Column-Selection to /Users/glavin/.atom/packages ✓
Installing Tern to /Users/glavin/.atom/packages ✓
Installing apm-publish to /Users/glavin/.atom/packages ✓
Installing ask-stack to /Users/glavin/.atom/packages ✓
Installing atom-beautifier to /Users/glavin/.atom/packages ✓
Installing atom-beautify to /Users/glavin/.atom/packages ✓
Installing atom-color-highlight to /Users/glavin/.atom/packages ✓
Installing atom-handlebars to /Users/glavin/.atom/packages ✓
Installing atom-lint to /Users/glavin/.atom/packages ✓
Installing atomatigit to /Users/glavin/.atom/packages ✓
Installing autocomplete-paths to /Users/glavin/.atom/packages ✓
Installing autocomplete-plus to /Users/glavin/.atom/packages ✓
Installing bezier-curve-editor to /Users/glavin/.atom/packages ✓
Installing break to /Users/glavin/.atom/packages ✓
Installing coffee-refactor to /Users/glavin/.atom/packages ✓
Installing coffeescript-preview to /Users/glavin/.atom/packages ✓
Installing color-picker to /Users/glavin/.atom/packages ✓
Installing emmet to /Users/glavin/.atom/packages ✓
Installing file-icons to /Users/glavin/.atom/packages ✓
Installing filetype-color to /Users/glavin/.atom/packages ✓
Installing find-and-replace to /Users/glavin/.atom/packages ✓
Installing firepad to /Users/glavin/.atom/packages ✓
Installing git-blame to /Users/glavin/.atom/packages ✓
Installing git-diff to /Users/glavin/.atom/packages ✓
Installing git-plus to /Users/glavin/.atom/packages ✓
Installing gitignore-snippets to /Users/glavin/.atom/packages ✓
Installing gitter to /Users/glavin/.atom/packages ✓
Installing iTunes to /Users/glavin/.atom/packages ✓
Installing jshint to /Users/glavin/.atom/packages ✓
Installing keybinding-resolver to /Users/glavin/.atom/packages ✓
Installing language-jade to /Users/glavin/.atom/packages ✓
Installing language-swift to /Users/glavin/.atom/packages ✓
Installing language-typescript to /Users/glavin/.atom/packages ✓
Installing linter to /Users/glavin/.atom/packages ✓
Installing linter-coffeelint to /Users/glavin/.atom/packages ✓
Installing linter-csslint to /Users/glavin/.atom/packages ✓
Installing linter-jshint to /Users/glavin/.atom/packages ✓
Installing linter-pylint to /Users/glavin/.atom/packages ✓
Installing linter-scss-lint to /Users/glavin/.atom/packages ✓
Installing makro to /Users/glavin/.atom/packages ✓
Installing markdown-preview to /Users/glavin/.atom/packages ✗
> runas@1.0.1 install /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/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
npm http GET https://registry.npmjs.org/temp
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/roaster
npm http GET https://registry.npmjs.org/wrench
npm http GET https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/highlights/0.13.0
npm http GET https://registry.npmjs.org/cheerio/0.15.0
npm http 304 https://registry.npmjs.org/wrench
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 304 https://registry.npmjs.org/temp
npm http 304 https://registry.npmjs.org/roaster
npm http 304 https://registry.npmjs.org/fs-plus
npm http 304 https://registry.npmjs.org/cheerio/0.15.0
npm http 304 https://registry.npmjs.org/highlights/0.13.0
npm http 304 https://registry.npmjs.org/pathwatcher
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/task-lists/0.1.3
npm http GET https://registry.npmjs.org/underscore/1.6.0
npm http GET https://registry.npmjs.org/js-yaml/3.1.0
npm http GET https://registry.npmjs.org/marked/0.3.1
npm http GET https://registry.npmjs.org/emoji-images/0.0.2
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/osenv/0.0.3
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/async
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/runas
npm http 304 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/htmlparser2
npm http GET https://registry.npmjs.org/entities
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/CSSselect
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/first-mate
npm http 304 https://registry.npmjs.org/js-yaml/3.1.0
npm http 304 https://registry.npmjs.org/emoji-images/0.0.2
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/task-lists/0.1.3
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/osenv/0.0.3
npm http 304 https://registry.npmjs.org/nan/1.2.0
npm http 304 https://registry.npmjs.org/underscore/1.6.0
npm http 304 https://registry.npmjs.org/htmlparser2
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/marked/0.3.1
npm http 304 https://registry.npmjs.org/CSSselect
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/entities
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/runas
npm http 304 https://registry.npmjs.org/first-mate
2014-08-09 06:11:15.143 xcodebuild[87660:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XToDo.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-08-09 06:11:15.144 xcodebuild[87660:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XAlign.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-08-09 06:11:15.145 xcodebuild[87660:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SCXcodeMinimap.xcplugin' not present in DVTPlugInCompatibilityUUIDs
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);
~~~~~~~~~~~~~~~~~~ ^~~~
/Users/glavin/.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());
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/glavin/.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);
~~~~~~~~~~~~~~ ^~~~~~
/Users/glavin/.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>();
~~~~~~~~~~~~~ ^~~~
/Users/glavin/.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>();
~~~~~~~~~~~~~ ^~~~
/Users/glavin/.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
/Users/glavin/.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
/Users/glavin/.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>();
^~~
/Users/glavin/.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.2.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors
npm http GET https://registry.npmjs.org/domhandler
npm http GET https://registry.npmjs.org/domutils
npm http GET https://registry.npmjs.org/domelementtype
npm http GET https://registry.npmjs.org/esprima
npm http GET https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/domutils
npm http GET https://registry.npmjs.org/CSSwhat
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/season
npm http GET https://registry.npmjs.org/oniguruma
npm http 304 https://registry.npmjs.org/property-accessors
npm http 304 https://registry.npmjs.org/esprima
npm http 304 https://registry.npmjs.org/domelementtype
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/argparse
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/domutils
npm http 304 https://registry.npmjs.org/domutils
npm http 304 https://registry.npmjs.org/CSSwhat
npm http 304 https://registry.npmjs.org/domhandler
npm http 304 https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/oniguruma
npm http 304 https://registry.npmjs.org/season
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/isarray/0.0.1
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/underscore.string
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/roaster/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test'
npm ERR! error rolling back markdown-preview@0.99.0 { [Error: ENOTEMPTY, rmdir '/private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/roaster/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/roaster/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/test' }
npm ERR! runas@1.0.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the runas@1.0.1 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.2.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" "/Users/glavin/.atom/.apmrc" "install" "/Users/glavin/.atom/.node-gyp/.atom/.apm/markdown-preview/0.99.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat '/private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/highlights/node_modules/first-mate/node_modules/season/node_modules/coffee-script/lib/coffee-script/rewriter.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.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" "/Users/glavin/.atom/.apmrc" "install" "/Users/glavin/.atom/.node-gyp/.atom/.apm/markdown-preview/0.99.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/highlights/node_modules/first-mate/node_modules/season/node_modules/coffee-script/lib/coffee-script/rewriter.js
npm ERR! fstream_path /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/highlights/node_modules/first-mate/node_modules/season/node_modules/coffee-script/lib/coffee-script/rewriter.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/roaster/node_modules/js-yaml/node_modules/esprima/test/test.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.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" "/Users/glavin/.atom/.apmrc" "install" "/Users/glavin/.atom/.node-gyp/.atom/.apm/markdown-preview/0.99.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/roaster/node_modules/js-yaml/node_modules/esprima/test/test.js
npm ERR! fstream_path /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/roaster/node_modules/js-yaml/node_modules/esprima/test/test.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/roaster/node_modules/emoji-images/json/objects.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.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" "/Users/glavin/.atom/.apmrc" "install" "/Users/glavin/.atom/.node-gyp/.atom/.apm/markdown-preview/0.99.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/roaster/node_modules/emoji-images/json/objects.json
npm ERR! fstream_path /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/roaster/node_modules/emoji-images/json/objects.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/highlights/node_modules/first-mate/node_modules/oniguruma/deps/onig/configure'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.2.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" "/Users/glavin/.atom/.apmrc" "install" "/Users/glavin/.atom/.node-gyp/.atom/.apm/markdown-preview/0.99.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/highlights/node_modules/first-mate/node_modules/oniguruma/deps/onig/configure
npm ERR! fstream_path /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/node_modules/markdown-preview/node_modules/highlights/node_modules/first-mate/node_modules/oniguruma/deps/onig/configure
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-11479-84172-aonlr5/npm-debug.log
npm ERR! not ok code 0 |
Happening for me as well. |
Hi, I have the same problem when trying to install an Atom package to hack on it. This is the error part of the verbose debug from npm:
The package I was trying to install is this: https://github.com/haggy/Proton-IDE |
Hi @zcbenz @kevinsawicki Any updates on this one? |
I've got this also when trying to install markdown-preview-plus. Ubuntu 12.04.5 LTS
|
@mark-hahn You have a different issues. You have no
Make sure you've got your Ubuntu distro setup with proper devtools. |
@philipgiuliani @Glavin001 Are either if you able to reproduce your problem? If not, I'm going to close this one. |
I believe I'm still having issues: $ apm stars --install
Installing Sublime-Style-Column-Selection to /Users/glavin/.atom/packages ✓
Installing Tern to /Users/glavin/.atom/packages ✓
Installing angularjs to /Users/glavin/.atom/packages ✓
Installing apm-publish to /Users/glavin/.atom/packages ✓
Installing ask-stack to /Users/glavin/.atom/packages ✓
Installing atom-beautifier to /Users/glavin/.atom/packages ✓
Installing atom-beautify to /Users/glavin/.atom/packages ✓
Installing atom-color-highlight to /Users/glavin/.atom/packages ✓
Installing atom-handlebars to /Users/glavin/.atom/packages ✓
Installing atom-html-preview to /Users/glavin/.atom/packages ✓
Installing atom-lint to /Users/glavin/.atom/packages ✓
Installing atomatigit to /Users/glavin/.atom/packages ✓
Installing autocomplete-jedi to /Users/glavin/.atom/packages ✓
Installing autocomplete-paths to /Users/glavin/.atom/packages ✓
Installing autocomplete-plus to /Users/glavin/.atom/packages ✓
Installing bezier-curve-editor to /Users/glavin/.atom/packages ✓
Installing break to /Users/glavin/.atom/packages ✓
Installing coffee-navigator to /Users/glavin/.atom/packages ✓
Installing coffee-refactor to /Users/glavin/.atom/packages Note: The code generator has deoptimised the styling of "/Users/glavin/.atom/packages/coffee-refactor/vender/coffee-script/lib/coffee-script/nodes.js" as it exceeds the max of "100KB".
Note: The code generator has deoptimised the styling of "/Users/glavin/.atom/packages/coffee-refactor/vender/coffee-script/lib/coffee-script/parser.js" as it exceeds the max of "100KB".
✓
Installing coffee-trace to /Users/glavin/.atom/packages ✓
Installing coffeescript-preview to /Users/glavin/.atom/packages ✓
Installing color-picker to /Users/glavin/.atom/packages ✓
Installing coverage to /Users/glavin/.atom/packages ✓
Installing debugger to /Users/glavin/.atom/packages ✗
> ws@0.4.32 install /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-115316-32075-g0qmqx/node_modules/debugger/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
> runas@1.1.0 install /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-115316-32075-g0qmqx/node_modules/debugger/node_modules/text-buffer/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild
CXX(target) Release/obj.target/runas/src/main.o
2015-04-16 09:30:07.304 xcodebuild[32413:384044] [MT] PluginLoading: Required plug-in compatibility UUID A16FF353-8441-459E-A50C-B071F53F51B7 for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XToDo.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-04-16 09:30:07.305 xcodebuild[32413:384044] [MT] PluginLoading: Required plug-in compatibility UUID A16FF353-8441-459E-A50C-B071F53F51B7 for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XAlign.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-04-16 09:30:07.306 xcodebuild[32413:384044] [MT] PluginLoading: Required plug-in compatibility UUID A16FF353-8441-459E-A50C-B071F53F51B7 for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SCXcodeMinimap.xcplugin' not present in DVTPlugInCompatibilityUUIDs
In file included from ../src/main.cc:1:
../../nan/nan.h:623:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
v8::String::ExternalAsciiStringResource *resource) {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
ExternalStringResource
/Users/glavin/.atom/.node-gyp/.node-gyp/0.22.0/deps/v8/include/v8.h:2017:19: note: 'ExternalStringResource' declared here
class V8_EXPORT ExternalStringResource
^
In file included from ../src/main.cc:1:
../../nan/nan.h:622:36: error: redefinition of 'NanNew'
NAN_INLINE v8::Local<v8::String> NanNew(
^
../../nan/nan.h:617:36: note: previous definition is here
NAN_INLINE v8::Local<v8::String> NanNew(
^
../../nan/nan.h:1993:12: error: no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'?
if (str->IsExternalAscii()) {
^~~~~~~~~~~~~~~
IsExternal
/Users/glavin/.atom/.node-gyp/.node-gyp/0.22.0/deps/v8/include/v8.h:1981:8: note: 'IsExternal' declared here
bool IsExternal() const;
^
In file included from ../src/main.cc:1:
../../nan/nan.h:1994:23: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
const v8::String::ExternalAsciiStringResource* ext;
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
ExternalStringResource
/Users/glavin/.atom/.node-gyp/.node-gyp/0.22.0/deps/v8/include/v8.h:2017:19: note: 'ExternalStringResource' declared here
class V8_EXPORT ExternalStringResource
^
In file included from ../src/main.cc:1:
../../nan/nan.h:1995:16: error: no member named 'GetExternalAsciiStringResource' in 'v8::String'; did you mean 'GetExternalOneByteStringResource'?
ext = str->GetExternalAsciiStringResource();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GetExternalOneByteStringResource
/Users/glavin/.atom/.node-gyp/.node-gyp/0.22.0/deps/v8/include/v8.h:2084:40: note: 'GetExternalOneByteStringResource' declared here
const ExternalOneByteStringResource* GetExternalOneByteStringResource() const;
^
In file included from ../src/main.cc:1:
../../nan/nan.h:1995:9: error: assigning to 'const v8::String::ExternalStringResource *' from incompatible type 'const v8::String::ExternalOneByteStringResource *'
ext = str->GetExternalAsciiStringResource();
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1996:11: error: assigning to 'const char *' from incompatible type 'const uint16_t *' (aka 'const unsigned short *')
*data = ext->data();
^ ~~~~~~~~~~~
7 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/npm/node_modules/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:820:12)
gyp ERR! System Darwin 14.1.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-115316-32075-g0qmqx/node_modules/debugger/node_modules/text-buffer/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Darwin 14.1.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/glavin/.atom/.apm/.apmrc" "--userconfig" "/Users/glavin/.atom/.apmrc" "install" "/private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/d-115316-32075-j8nbpp/package.tgz" "--target=0.22.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! runas@1.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the runas@1.1.0 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! /private/var/folders/lw/ct2vyvzs04gd_l8bn8794t800000gn/T/apm-install-dir-115316-32075-g0qmqx/npm-debug.log My versions: $ apm -v
apm 0.157.0
npm 2.5.1
node 0.10.35
python 2.7.3
git 1.8.3.1 |
Thanks. I am new to linux. I know you have better things to do than give linux support to newbies but can you take one more look at this? I have done these installs ...
I am still getting this unreadable blob of errors for Then I see I went through the blob carefully looking for obvious things like the missing
|
Same problem here 😞 |
You might want to check where your 'node' cmd is pointing to. For me, it was actually pointing to iojs, causing node-gyp to be unable to get the correct version. Don't know if this is related to the issue but replacing |
I believe this same bug is keeping me from building atom 1.0.7 from source:
In case I truncated the log too much, the full version is here: https://gist.github.com/ryanpcmcquen/983386e33aa68ac3f62d |
Issue during building Electron (Mac OS X 10.10.5, Xcode 5.1.1): gyp ERR! build error npm ERR! runas@3.1.0 install: npm ERR! Please include the following file with any support request: How can I submit the log file? |
Got an error for package https://github.com/jcpetkovich/atom-shrink-whitespace. See issue there: jcpetkovich/atom-shrink-whitespace/issues/1 |
Same issue when trying to install atom-notebook using Atom 1.2.2. |
I was able to fix this by bumping the version of pathwatcher (which depends on runas) to its current version in the atom-notebook's package.json. It was trying to build with an old version of pathwatcher and runas that were not compatible with Node >=4. |
I received this error using latest version of npm while trying to install the Jupyter notebook extension for Atom. the erro says the issue is with runas: npm ERR! runas@3.1.1 install: npm ERR! Please include the following file with any support request: |
@babycamel The atom-notebook extension is currently broken and not being maintained. I recommend that you checkout nteract which is a new Jupyter notebook client that is built on Electron (the same native app shell that Atom uses), so it has many of the benefits of atom-notebook (native app feel, double click to open .ipynb files, etc.). Once nteract has been successfully ported over to a web app, we will try updating atom-notebook to use the nteract modules. |
Thanks will check it out. |
All repositories in the atom-archive organization are unmaintained and deprecated. Because of this, we are archiving this repository and closing all issues and pull requests. Thanks very much for your support and contributions! |
Im currently trying to run
apm install
on my own package. The Dependency im triying to install ispathwatcher
Versions:
Log:
The text was updated successfully, but these errors were encountered: