Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Meteor 1.4] Cannot use kadira with Meteor 1.4 #244

Open
clayne11 opened this issue Jul 12, 2016 · 11 comments
Open

[Meteor 1.4] Cannot use kadira with Meteor 1.4 #244

clayne11 opened this issue Jul 12, 2016 · 11 comments

Comments

@clayne11
Copy link

When trying to upgrade to Meteor 1.4-beta.9 I get the following error:

➜  casalova-web git:(meteor-1.4) meteor update --release 1.4-beta.9
=> Errors while initializing project:

While building package casalova:aleo:
error: No plugin known to handle file 'aleo.scss'. If you want this file to be a static asset, use addAssets instead of addFiles; eg,
api.addAssets('aleo.scss', 'client').

While loading plugin `mss` from package `nathantreid:css-modules`:

/Users/clayne/.meteor/packages/nathantreid_css-modules/.1.2.0.12x0xqc++os.osx.x86_64+web.browser+web.cordova/plugin.mss.os.osx.x86_64/npm/node_modules/meteor/mss/node_modules/node-sass/lib/extensions.js:158:11:
The `libsass` binding was not found in
/Users/clayne/.meteor/packages/nathantreid_css-modules/.1.2.0.12x0xqc++os.osx.x86_64+web.browser+web.cordova/plugin.mss.os.osx.x86_64/npm/node_modules/meteor/mss/node_modules/node-sass/vendor/darwin-x64-46/binding.node
This usually happens because your node version has changed.
Run `npm rebuild node-sass` to build the binding for your current node version.
at Object.sass.getBinaryPath
(/Users/clayne/.meteor/packages/nathantreid_css-modules/.1.2.0.12x0xqc++os.osx.x86_64+web.browser+web.cordova/plugin.mss.os.osx.x86_64/npm/node_modules/meteor/mss/node_modules/node-sass/lib/extensions.js:158:11)
at Object.<anonymous>
(/Users/clayne/.meteor/packages/nathantreid_css-modules/.1.2.0.12x0xqc++os.osx.x86_64+web.browser+web.cordova/plugin.mss.os.osx.x86_64/npm/node_modules/meteor/mss/node_modules/node-sass/lib/index.js:16:36)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Module.Mp.load
(/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/reify/node/runtime.js:16:23)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at npmRequire (/tools/isobuild/bundler.js:1642:14)
at Module.npmRequire.useNode (packages/modules-runtime/modules-runtime.js:61:1)
at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:140:1)
at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
at meteorInstall.node_modules.meteor.mss.scss-processor.js (packages/mss/scss-processor.js:3:1)
at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:141:1)
at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
at node_modules/meteor/mss/node_modules/recursive-readdir/node_modules/minimatch/node_modules/sigmund/sigmund.js:39:1
at node_modules/meteor/mss/node_modules/recursive-readdir/node_modules/minimatch/node_modules/sigmund/sigmund.js:39:1


While building package casalova:styles:
error: No plugin known to handle file 'mixins/_pre_variables.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('mixins/_pre_variables.scss', 'client').
error: No plugin known to handle file 'mixins/_color.scss'. If you want this file to be a static asset, use addAssets instead of addFiles;
eg, api.addAssets('mixins/_color.scss', 'client').
error: No plugin known to handle file 'mixins/_mixins.scss'. If you want this file to be a static asset, use addAssets instead of addFiles;
eg, api.addAssets('mixins/_mixins.scss', 'client').
error: No plugin known to handle file 'mixins/_color-functions.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('mixins/_color-functions.scss', 'client').
error: No plugin known to handle file 'mixins/_variables.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('mixins/_variables.scss', 'client').
error: No plugin known to handle file 'mixins/_button-mixins.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('mixins/_button-mixins.scss', 'client').
error: No plugin known to handle file '_styles.scss'. If you want this file to be a static asset, use addAssets instead of addFiles; eg,
api.addAssets('_styles.scss', 'client').
error: No plugin known to handle file 'stylesheets/icons-material-design.scss'. If you want this file to be a static asset, use addAssets
instead of addFiles; eg, api.addAssets('stylesheets/icons-material-design.scss', 'client').
error: No plugin known to handle file 'stylesheets/popups.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('stylesheets/popups.scss', 'client').
error: No plugin known to handle file 'stylesheets/scaffolding.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('stylesheets/scaffolding.scss', 'client').
error: No plugin known to handle file 'stylesheets/tooltips.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('stylesheets/tooltips.scss', 'client').
error: No plugin known to handle file 'stylesheets/typography.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('stylesheets/typography.scss', 'client').
error: No plugin known to handle file 'material-design/styles.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('material-design/styles.scss', 'client').

While building package casalova:core:
error: No plugin known to handle file 'both/toasts.scss'. If you want this file to be a static asset, use addAssets instead of addFiles;
eg, api.addAssets('both/toasts.scss', 'client').

While building package casalova:infinite-card-list:
error: No plugin known to handle file 'infinite-card-list.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('infinite-card-list.scss', 'client').

While building package casalova:neighborhood-map-marker:
error: No plugin known to handle file 'neighborhood-map-marker.scss'. If you want this file to be a static asset, use addAssets instead of
addFiles; eg, api.addAssets('neighborhood-map-marker.scss', 'client').

While building package casalova:star-rating:
error: No plugin known to handle file 'star-rating.scss'. If you want this file to be a static asset, use addAssets instead of addFiles;
eg, api.addAssets('star-rating.scss', 'client').

While loading package meteorhacks:[email protected]:
error: Command failed:
/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm
rebuild
In file included from ../src/binding.cpp:2:
../node_modules/nan/nan.h:189:68: error: too many arguments to function call, expected at most 2, have 4
return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
~~~~~~~~~~~~~~~~~~                                      ^~~~~~~~~~
/Users/clayne/.node-gyp/4.4.7/include/node/v8.h:4675:3: note: 'New' declared here
static Local<Signature> New(
^
In file included from ../src/binding.cpp:2:
../node_modules/nan/nan.h:271:3: error: redefinition of 'NanNew'
NanNew<v8::StringObject, v8::Handle<v8::String> >(
^
../node_modules/nan/nan.h:264:3: note: previous definition is here
NanNew<v8::StringObject, v8::Local<v8::String> >(
^
../node_modules/nan/nan.h:289:36: error: redefinition of 'NanNew'
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:283:36: note: previous definition is here
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:301:36: error: redefinition of 'NanNew'
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:295:36: note: previous definition is here
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:481:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean
'ExternalStringResource'?
v8::String::ExternalAsciiStringResource *resource) {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
ExternalStringResource
/Users/clayne/.node-gyp/4.4.7/include/node/v8.h:2210:19: note: 'ExternalStringResource' declared here
class V8_EXPORT ExternalStringResource
^
In file included from ../src/binding.cpp:2:
../node_modules/nan/nan.h:480:36: error: redefinition of 'NanNew'
NAN_INLINE v8::Local<v8::String> NanNew(
^
../node_modules/nan/nan.h:475:36: note: previous definition is here
NAN_INLINE v8::Local<v8::String> NanNew(
^
../node_modules/nan/nan.h:495:27: error: redefinition of '_NanEscapeScopeHelper'
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:490:27: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:511:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Primitive]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:516:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent())));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Primitive]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:521:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Boolean]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:526:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent())));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Boolean]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:755:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:766:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/clayne/.node-gyp/4.4.7/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/clayne/.node-gyp/4.4.7/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/clayne/.node-gyp/4.4.7/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/clayne/.node-gyp/4.4.7/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/binding.cpp:2:
../node_modules/nan/nan.h:770:12: error: no viable conversion from returned value of type 'v8::MaybeLocal<v8::Object>' to function return
type 'v8::Local<v8::Object>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/clayne/.node-gyp/4.4.7/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/clayne/.node-gyp/4.4.7/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
/Users/clayne/.node-gyp/4.4.7/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
/Users/clayne/.node-gyp/4.4.7/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/binding.cpp:2:
../node_modules/nan/nan.h:777:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
../node_modules/nan/nan.h:1809:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Function]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:1824:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(node::MakeCallback(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Value]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:1897:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Object]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:2103:12: error: no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'?
if (str->IsExternalAscii()) {
^~~~~~~~~~~~~~~
IsExternal
/Users/clayne/.node-gyp/4.4.7/include/node/v8.h:2174:8: note: 'IsExternal' declared here
bool IsExternal() const;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit
(/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/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 Darwin 15.5.0
gyp ERR! command
"/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
"/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd
/Users/clayne/.meteor/packages/meteorhacks_kadira-binary-deps/.1.4.0.aho2qb++os.linux.x86_64+os.osx.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1079zw/node_modules/usage
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm ERR! Darwin 15.5.0
npm ERR! argv
"/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
"/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm"
"rebuild"
npm ERR! node v4.4.7
npm ERR! npm  v3.10.5
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! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the usage 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 usage
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls usage
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!
/Users/clayne/.meteor/packages/meteorhacks_kadira-binary-deps/.1.4.0.aho2qb++os.linux.x86_64+os.osx.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1079zw/npm-debug.log
In file included from ../src/binding.cpp:2:
../node_modules/nan/nan.h:189:68: error: too many arguments to function call, expected at most 2, have 4
return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
~~~~~~~~~~~~~~~~~~                                      ^~~~~~~~~~
/Users/clayne/.node-gyp/4.4.7/include/node/v8.h:4675:3: note: 'New' declared here
static Local<Signature> New(
^
In file included from ../src/binding.cpp:2:
../node_modules/nan/nan.h:271:3: error: redefinition of 'NanNew'
NanNew<v8::StringObject, v8::Handle<v8::String> >(
^
../node_modules/nan/nan.h:264:3: note: previous definition is here
NanNew<v8::StringObject, v8::Local<v8::String> >(
^
../node_modules/nan/nan.h:289:36: error: redefinition of 'NanNew'
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:283:36: note: previous definition is here
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:301:36: error: redefinition of 'NanNew'
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:295:36: note: previous definition is here
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:481:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean
'ExternalStringResource'?
v8::String::ExternalAsciiStringResource *resource) {
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
ExternalStringResource
/Users/clayne/.node-gyp/4.4.7/include/node/v8.h:2210:19: note: 'ExternalStringResource' declared here
class V8_EXPORT ExternalStringResource
^
In file included from ../src/binding.cpp:2:
../node_modules/nan/nan.h:480:36: error: redefinition of 'NanNew'
NAN_INLINE v8::Local<v8::String> NanNew(
^
../node_modules/nan/nan.h:475:36: note: previous definition is here
NAN_INLINE v8::Local<v8::String> NanNew(
^
../node_modules/nan/nan.h:495:27: error: redefinition of '_NanEscapeScopeHelper'
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:490:27: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:511:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Primitive]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:516:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent())));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Primitive]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:521:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Boolean]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:526:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent())));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Boolean]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:755:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../node_modules/nan/nan.h:766:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/clayne/.node-gyp/4.4.7/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/clayne/.node-gyp/4.4.7/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/clayne/.node-gyp/4.4.7/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/clayne/.node-gyp/4.4.7/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/binding.cpp:2:
../node_modules/nan/nan.h:770:12: error: no viable conversion from returned value of type 'v8::MaybeLocal<v8::Object>' to function return
type 'v8::Local<v8::Object>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/clayne/.node-gyp/4.4.7/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/clayne/.node-gyp/4.4.7/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
/Users/clayne/.node-gyp/4.4.7/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local<S> that)
^
/Users/clayne/.node-gyp/4.4.7/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/binding.cpp:2:
../node_modules/nan/nan.h:777:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
../node_modules/nan/nan.h:1809:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Function]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:1824:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(node::MakeCallback(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Value]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:1897:12: error: no matching function for call to '_NanEscapeScopeHelper'
return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:499:43: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:495:27: note: candidate template ignored: substitution failure [with T = v8::Object]
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:2103:12: error: no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'?
if (str->IsExternalAscii()) {
^~~~~~~~~~~~~~~
IsExternal
/Users/clayne/.node-gyp/4.4.7/include/node/v8.h:2174:8: note: 'IsExternal' declared here
bool IsExternal() const;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/sysinfo/src/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit
(/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/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 Darwin 15.5.0
gyp ERR! command
"/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
"/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd
/Users/clayne/.meteor/packages/meteorhacks_kadira-binary-deps/.1.4.0.aho2qb++os.linux.x86_64+os.osx.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1079zw/node_modules/usage
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm ERR! Darwin 15.5.0
npm ERR! argv
"/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
"/Users/clayne/.meteor/packages/meteor-tool/.1.4.0-beta.9.nkjjk++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm"
"rebuild"
npm ERR! node v4.4.7
npm ERR! npm  v3.10.5
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! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the usage 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 usage
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls usage
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!
/Users/clayne/.meteor/packages/meteorhacks_kadira-binary-deps/.1.4.0.aho2qb++os.linux.x86_64+os.osx.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1079zw/npm-debug.log
I installed my npm dependencies with meteor npm install but it's still not working. This is during the upgrade process, so I can't even get up to Meteor 1.4-beta.9 nevermind running it.

I ran into the same issue with 1.4-beta.6 and 1.4-beta.7 as well.

Works fine with Meteor 1.3.4.4

@benjamn suggested that you need to update a dependency in meteorhacks:kadira-binary-deps.

See issue in Meteor repo meteor/meteor#7390 (comment)

@arunoda
Copy link
Member

arunoda commented Jul 12, 2016

Thanks @clayne11. Will do that.

@roonyh
Copy link
Contributor

roonyh commented Jul 13, 2016

@arunoda Adding the new version of v8 profiler work. But we need to update node-usage module as well.

Do we actually need that module? I built the kadira-profiler with this line removed from from kadira-binary-deps and it worked. (I could get a cpu profile) I could not find it used in kadira-profiler code also.

@arunoda
Copy link
Member

arunoda commented Jul 14, 2016

@clayne11 Try using this updated kadira-profiler package for 1.4

meteorhacks:[email protected]

If should work fine.

@clayne11
Copy link
Author

clayne11 commented Jul 15, 2016

This is working fine locally with Meteor 1.4-beta.14, but I think you need to publish the package for all the different archs.

I think because you are using Npm.depends() and not using the standard import from an npm module the binary isn't getting built properly.

I can use it just fine locally but when I tried to deploy using mupx I get the following:

Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Configuration file : mup.json
Settings file      : settings.json

Meteor app path    : /Users/clayne/workspace/deploy-web-alpha/casalova-web
Using buildOptions : {}
c=> Errors while initializing project:

While checking for meteorhacks:[email protected]:
error: No compatible binary build found for this package. Contact the package
author and ask them to publish it for your platform.

@vladholubiev
Copy link

Explicitly adding latest meteorhacks:[email protected] helped for me.

@arunoda
Copy link
Member

arunoda commented Sep 18, 2016

You don't need to remove Kadira, but just the kadira-profiler.
do this:

meteor remove meteorhacks:kadira-profiler
meteor remove kadira:debug

We are working on a fix. It's kind a pretty hard to do this since Meteor no longer carries binary builds.

@MaxShv
Copy link

MaxShv commented Sep 21, 2016

@arunoda do you have any eta on the profiler?

@arunoda
Copy link
Member

arunoda commented Sep 22, 2016

@MaxShv I'll try to do it by this month.

@etyp
Copy link

etyp commented Sep 26, 2016

@arunoda Any update on this/any work around possible to try to use the profiler in the meantime?

@Azeures
Copy link

Azeures commented Sep 30, 2016

+1
Am currently facing the same issue!

@BrianJLennon
Copy link

Is the CPUprofiler working with meteor1.4 (hosted on Galaxy)?

The following is taken from my browser console:

Kadira.profileCpu(10)
Profiling has been started. Check server logs.
undefined
Cpu profile has been saved to: /tmp/NYdMbrRtWgsxeq2ku.cpuprofile

But I can't find the file - is it stored locally? It worked fine when doing it locally (dev app).

This is the excerpt from my settings.json

"galaxy.meteor.com": {
        "env": {
            "ROOT_URL": "https://www.blah.com",
            "MONGO_URL": "blah",
            "KADIRA_PROFILE_LOCALLY":1
        }       
    },
    "kadira": { 
      "appId": "blah", 
      "appSecret": "blah",
      "debug": {
          "authKey": "myPassword"
    }
}

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants