You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running gatsby-cli via npx fails with error cb.apply is not a function
Steps to reproduce
Make sure gatsby-cli is not installed globally
Run npx gatsby-cli --help
Expected result
gatsby-cli should run the respective command. In this case, it should show the CLI help instructions. The error is same irregardless of the command being run. So, running npx gatsby-cli new <some-dir> also throws the same error.
Actual result
Got this error
npm ERR! cb.apply is not a function
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/detj/.npm/_logs/2020-08-16T21_52_51_610Z-debug.log
Install for [ 'gatsby-cli@latest' ] failed with code 1
Environment
$ node -v
v12.18.3
$ npm -v
6.14.6
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.6
BuildVersion: 19G2021
The text was updated successfully, but these errors were encountered:
Description
Running
gatsby-cli
via npx fails with errorcb.apply is not a function
Steps to reproduce
gatsby-cli
is not installed globallynpx gatsby-cli --help
Expected result
gatsby-cli
should run the respective command. In this case, it should show the CLI help instructions. The error is same irregardless of the command being run. So, runningnpx gatsby-cli new <some-dir>
also throws the same error.Actual result
Got this error
Environment
The text was updated successfully, but these errors were encountered: