question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on download for github:twbs/bootstrap TypeError [ERR_INVALID_CALLBACK]: Callback must be a function

See original GitHub issue

We are suddenly seeing this error within our build server;

warn Error on download for github:twbs/bootstrap
     TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
         at makeCallback (fs.js:132:11)
         at Object.fs.mkdir (fs.js:822:14)
         at D:\a\1\s\Installations\Project\node_modules\jspm-github\github.js:588:29
         at tryCatch (D:\a\1\s\Installations\Project\node_modules\rsvp\dist\rsvp.js:525:12)
         at invokeCallback (D:\a\1\s\Installations\Project\node_modules\rsvp\dist\rsvp.js:538:13)
         at publish (D:\a\1\s\Installations\Project\node_modules\rsvp\dist\rsvp.js:508:7)
         at flush (D:\a\1\s\Installations\Project\node_modules\rsvp\dist\rsvp.js:2415:5)
         at process._tickCallback (internal/process/next_tick.js:172:11)
err  Error downloading github:twbs/bootstrap.

We are using github:twbs/bootstrap@3.3.6 and nothing has changed within the project. Is this something related to this repository? Or npm related?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
timbjamescommented, May 21, 2018

@rbengtsson for now we had to use a different build machine which is running version 8.11.2 of node rather than the latest version 10.1.0 and that has fixed the issue.

0reactions
rbengtssoncommented, May 21, 2018

@timbjames Thanks for your answers. We’re building in VSTS, will look into our options there. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to fix this error TypeError [ERR_INVALID_CALLBACK ...
There is no need to pass the third parameter in the callback function of writeFile. The only thing is that we should pass...
Read more >
Callback must be a function Received undefined - YouTube
TypeError ERR INVALID CALLBACK - Callback must be a function Received undefined ... An error occurred while retrieving sharing information.
Read more >
Render callbacks must be a closure or implement ... - Drupal
This will initially result in deprecation errors, but will eventually result in code throwing an exception. Procedural function callbacks. If the callback is...
Read more >
Errors | Node.js v19.3.0 Documentation
js core API follow an idiomatic pattern referred to as an error-first callback. With this pattern, a callback function is passed to the...
Read more >
Callback must be a function. Received undefined
I m using nodejs, I got the following error while appending a file. The fs.appendFile function expecting third parameter as call back ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found