Error on download for github:twbs/bootstrap TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
See original GitHub issueWe 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:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@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.
@timbjames Thanks for your answers. We’re building in VSTS, will look into our options there. 👍