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

The system cannot find message text for message number 0x%1 in the message file for %2 while require('buffertools') #80

Open
OgNellis opened this issue Jun 20, 2016 · 8 comments

Comments

@OgNellis
Copy link

Window7 x86
Node 5.10.1
I try to build buffertools such way:

node-gyp configure
node-gyp build -d

Then I got the error while requiring buffertools (require('buffertools');):

The system cannot find message text for message number 0x%1 in the message file for %2.
\\?\D:\work\terminal_second\build\Wjbets-v0.1.03\node_modules\buffertools\build\Debug\buffertools.node"
@bnoordhuis
Copy link
Owner

Can you delete your node_modules directory and reinstall buffertools without -d?

@OgNellis
Copy link
Author

Yes, I have tried to delete the node_modules and to reinstall buffertools but nothing changed.

@bnoordhuis
Copy link
Owner

bnoordhuis commented Jun 20, 2016

Can you post the exact error message? Does it still say Debug in the file path?

The error itself suggests buffertools has been compiled wrong, e.g., for the wrong architecture.

@OgNellis
Copy link
Author

Error: The system cannot find message text for message number 0x%1 in the message file for %2.
\\?\D:\work\terminal_second\build\Wjbets-v0.1.03\node_modules\buffertools\build\Release\buffertools.node
at Error (native)
at Object.Module._extensions..node (module.js:476:18)
at Module.load (module.js:375:32)
at Function.Module._load (module.js:332:12)
at Module.require (module.js:385:17)
at require (internal/module.js:16:19)
at self.require (<anonymous>:11:26)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)

When I compile information shows that it is compiled for x32

@bnoordhuis
Copy link
Owner

Am I right to assume that node -p process.arch says 'x64'? If yes, what happens when you pass --arch=x64 to node-gyp?

@OgNellis
Copy link
Author

image

@bnoordhuis
Copy link
Owner

Okay, then I'm afraid I don't know what the issue is.

@MrfksIv
Copy link

MrfksIv commented Oct 4, 2017

have anyone found I a solution to this? I get the same error when in my attempt to use electron with emberJS and zerorpc to communicate with python.

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

3 participants