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

Errors C2660 & C2039 during install #264

Closed
HonestyK opened this issue Dec 16, 2015 · 4 comments
Closed

Errors C2660 & C2039 during install #264

HonestyK opened this issue Dec 16, 2015 · 4 comments

Comments

@HonestyK
Copy link

Been having trouble installing fibers because of these errors:

..\src\fibers.cc(132) error C2660 : 'v8::signature::New' function doesn't take 4 arguments
..\src\fibers.cc(140) error C2039: 'SetResourceConstraints' is not a memeber of 'v8'

Using the latest node.js too. I'm barely starting out with all this, so any help is greatly appreciated.Thanks in advance!

@stephenpascoe
Copy link

I'm seeing the same compile errors. Using Brew on OSX Yosemite 10.10.5

../src/fibers.cc:132:44: error: too many arguments to function call, expected at most 2, have 4
                return Signature::New(isolate, receiver, argc, argv);
                       ~~~~~~~~~~~~~~                    ^~~~~~~~~~
/Users/spascoe/.node-gyp/5.0.0/include/node/v8.h:4674:3: note: 'New' declared here
  static Local<Signature> New(
  ^
../src/fibers.cc:140:3: error: no member named 'SetResourceConstraints' in namespace 'v8'; did you mean simply 'SetResourceConstraints'?
                v8::SetResourceConstraints(isolate, constraints);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
                SetResourceConstraints
../src/fibers.cc:139:7: note: 'SetResourceConstraints' declared here
        void SetResourceConstraints(Isolate* isolate, ResourceConstraints* constraints) {
             ^
2 errors generated.
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/5.0.0/bin/node" "/usr/local/bin/npm" "install" "fibers"
npm ERR! node v5.0.0
npm ERR! npm  v3.3.9
npm ERR! code ELIFECYCLE

@stephenpascoe
Copy link

It seems to be a common problem, although I don't understand why it's rearing its head again now: #205

@wildeyes
Copy link

wildeyes commented Jan 5, 2016

What's a possible fix?

@laverdet
Copy link
Owner

You're using brew to install fibers? How does that work?

You should be using npm to install fibers.

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

4 participants