osmose / atom-dxr-search Goto Github PK
View Code? Open in Web Editor NEWAtom package for performing DXR searches.
Home Page: https://atom.io/packages/atom-dxr-search
License: MIT License
Atom package for performing DXR searches.
Home Page: https://atom.io/packages/atom-dxr-search
License: MIT License
Error log:
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
../node_modules/nan/nan.h:260:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:255:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:660:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:671:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node_buffer.h:41: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/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node_buffer.h:53: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/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node_buffer.h:38: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/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node_buffer.h:46: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/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
../node_modules/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/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/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/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/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/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/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/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
../node_modules/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/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node.h:42:
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/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())));
^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node.h:42:
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/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())));
^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node.h:42:
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/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)
^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node.h:42:
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
../node_modules/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>());
^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
^
9 errors generated.
make: *** [Release/obj.target/onig_scanner/src/onig-cache.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Applications/Local/Atom.app/Contents/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 Darwin 15.3.0
gyp ERR! command "node" "/Applications/Local/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/bwinton/Programming/atom/atom-dxr-search/node_modules/highlights/node_modules/first-mate/node_modules/oniguruma
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Darwin 15.3.0
npm ERR! argv "/Applications/Local/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Local/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/bwinton/.atom/.apm/.apmrc" "--userconfig" "/Users/bwinton/.atom/.apmrc" "rebuild" "--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 oniguruma 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 oniguruma
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/bwinton/Programming/atom/atom-dxr-search/npm-debug.log
in principle very good this component can not be installed in my atom
Steps to reproduce:
Atom Version: 1.0.19
System: Mac OS X 10.11
Thrown From: atom-dxr-search package, v0.1.2
Uncaught TypeError: Cannot read property 'length' of undefined
At /Users/bwinton/Programming/atom/atom-dxr-search/lib/atom-dxr-search-view.coffee:149
TypeError: Cannot read property 'length' of undefined
at Object.$.ajax.success (/Users/bwinton/Programming/atom/atom-dxr-search/lib/atom-dxr-search-view.coffee:149:63)
at fire (/Users/bwinton/Programming/atom/atom-dxr-search/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/jquery/dist/jquery.js:3099:30)
at Object.self.fireWith [as resolveWith] (/Users/bwinton/Programming/atom/atom-dxr-search/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/jquery/dist/jquery.js:3211:7)
at done (/Users/bwinton/Programming/atom/atom-dxr-search/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/jquery/dist/jquery.js:8264:14)
at XMLHttpRequest.<anonymous> (/Users/bwinton/Programming/atom/atom-dxr-search/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/jquery/dist/jquery.js:8605:9)
-0:43.8.0 core:close (atom-pane.pane.active)
-0:40.9.0 atom-dxr-search:toggle (atom-text-editor.editor.is-focused)
-0:35 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:27.8.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:27.8.0 core:cancel (atom-text-editor.editor.is-focused)
-0:26 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:08.4.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:08.4.0 core:cancel (atom-text-editor.editor.is-focused)
-0:07.7.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:07.7.0 core:cancel (atom-text-editor.editor.is-focused)
-0:07.2.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-0:07.2.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-0:04.7.0 atom-dxr-search:toggle (atom-text-editor.editor.is-focused)
-0:01.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
{
"core": {
"disabledPackages": [
"speedkills",
"metrics",
"build-markdown",
"build-markdown",
"build-markdown"
]
},
"atom-dxr-search": {}
}
# User
atom-dxr-search, v0.1.2
atom-whimsy, v0.1.1
build, v0.47.0
emmet, v2.3.13
language-diff, v0.3.1
linter, v1.7.2
linter-csslint, v1.0.6
linter-eslint, v3.0.2
linter-less, v2.1.0
linter-pep8, v1.0.1
minimap, v4.13.4
minimap-linter, v1.0.0
wordcount, v2.3.0
# Dev
bracket-matcher, v0.76.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.