Skip to content

File "binding.gyp", line 1: SyntaxError: invalid syntax #24

@Alexhb1986

Description

@Alexhb1986

error installing the package on centos 6.5 node firebird 2.5.2 0.10.26

Help!!

npm install firebird
npm http GET https://registry.npmjs.org/firebird
npm http 304 https://registry.npmjs.org/firebird

[email protected] install /var/www/node/node_modules/firebird
node-gyp rebuild

Traceback (most recent call last):
File "/usr/bin/gyp", line 18, in
sys.exit(gyp.main(sys.argv[1:]))
File "/usr/lib/python2.6/site-packages/gyp/init.py", line 462, in main
options.circular_check)
File "/usr/lib/python2.6/site-packages/gyp/init.py", line 100, in Load
depth, generator_input_info, check, circular_check)
File "/usr/lib/python2.6/site-packages/gyp/input.py", line 2255, in Load
depth, check)
File "/usr/lib/python2.6/site-packages/gyp/input.py", line 362, in LoadTargetBuildFile
includes, True, check)
File "/usr/lib/python2.6/site-packages/gyp/input.py", line 217, in LoadOneBuildFile
None)
File "binding.gyp", line 1
{
^
SyntaxError: invalid syntax
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:428:16)
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 Linux 2.6.32-431.11.2.el6.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/node/node_modules/firebird
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions