Skip to content

Installation issue #1

@ghost

Description

Hi,

Thanks for making this. My environment has trouble with the installation. I'm running Ubuntu 22.04.

~/nta-gtfs-node-api$ npm i
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'gtfs@3.2.1',
npm WARN EBADENGINE   required: { node: '>= 14.17.0' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code 1
npm ERR! path /home/iarla/nta-gtfs-node-api/node_modules/@vscode/sqlite3
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@12.22.9 | linux | x64
npm ERR! gyp ERR! configure error 
npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack   File "<string>", line 1
npm ERR! gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
npm ERR! gyp ERR! stack 
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (child_process.js:308:12)
npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
npm ERR! gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
npm ERR! gyp ERR! stack     at Socket.<anonymous> (internal/child_process.js:444:11)
npm ERR! gyp ERR! stack     at Socket.emit (events.js:314:20)
npm ERR! gyp ERR! stack     at Pipe.<anonymous> (net.js:676:12)
npm ERR! gyp ERR! System Linux 5.15.0-40-generic
npm ERR! gyp ERR! command "/usr/bin/node" "/home/iarla/nta-gtfs-node-api/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/iarla/nta-gtfs-node-api/node_modules/@vscode/sqlite3
npm ERR! gyp ERR! node -v v12.22.9
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

Edit: and now that it's formatted nicely I see that my node and npm are too old. I'll work on it, thanks.

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