Skip to content

Install fails on Windows 10, Node 12.21.0: "options.callback is not a function" #1

Description

@sparist

Attempting to install node-eventlog on Node 12.21.0 causes the following error:

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack TypeError: options.callback is not a function
node-pre-gyp ERR! stack     at Request.<anonymous> (C:\...\node_modules\request\main.js:290:21)
node-pre-gyp ERR! stack     at Request.emit (events.js:314:20)
node-pre-gyp ERR! stack     at IncomingMessage.<anonymous> (C:\...\node_modules\request\main.js:278:54)
node-pre-gyp ERR! stack     at IncomingMessage.emit (events.js:326:22)
node-pre-gyp ERR! stack     at endReadableNT (_stream_readable.js:1241:12)
node-pre-gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:84:21)
node-pre-gyp ERR! System Windows_NT 10.0.19042
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\...\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--target_arch=x64" "--target_platform=win32"
node-pre-gyp ERR! cwd C:\...\node_modules\node-eventlog
node-pre-gyp ERR! node -v v12.21.0
node-pre-gyp ERR! node-pre-gyp -v v0.17.0
node-pre-gyp ERR! This is a bug in `node-pre-gyp`.
node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
node-pre-gyp ERR!     <https://github.com/mapbox/node-pre-gyp/issues>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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