I trying to scaffold a new project. The usage is sao <command> [options].
$ sao -u --force-npm piterden/template-bot test-tpl-bot
> Installing template-test-tpl-bot with npm...
error Error occurs during installing package:
npm ERR! code E404
npm ERR! 404 Not Found: template-test-tpl-bot@latest
npm ERR! A complete log of this run can be found in:
npm ERR! /home/den/.npm/_logs/2018-04-24T03_49_44_989Z-debug.log
$ sao -u --force-npm piterden/template-bot
sao 0.22.17
Futuristic project generator.
USAGE
sao <command> [options]
COMMANDS
* Generate a new project
COMMAND OPTIONS
--config Use custom config file
--install Same as --update (deprecated)
-u, --update Update cached template before generating [Type: boolean]
-y, --yes, --mockPrompts Skip prompt and use default values
--remove-store Remove stored prompt answers [Type: boolean]
--skip-store Skip stored prompt answers, i.e. do not use them [Type: boolean]
--templates Show installed templates [Type: boolean]
--force-npm Always use npm^5 instead of yarn to install templates and dependencies
--clone Use git clone instead of an http download [Type: boolean]
--update-notify Show notifier when relevant template has updates [Default: true]
GLOBAL OPTIONS
-v, --version Display version [Type: boolean]
-h, --help Display help (You're already here) [Type: boolean]
I trying to scaffold a new project. The usage is
sao <command> [options]
.Here is the right solution:
It seems
--force-npm
waits for a value...