Could you tell me how to set the versatility of scaffolding?

set up a scaffolding by yourself in the team, which is in the

of package.json.
"bin": {
    "s-cli": "./bin/s.js"
 },
 

s.js

const program = require("commander");
program.version("1.0.0")
.usage("<command> []")
.command("init", "")
.parse(process.argv)

after installing global npm I s-cli-g in mac, you can use the s-cli init command, but under window, it is also a global installation. If you execute Scrimley, you will execute s.js, but if you execute the: s-cli init command, an error will be reported and no such command will be reported. Is there any compatibility to consider? Thank you!

Mar.30,2021

found the problem. Another js file of s-init needs to be created in window, while the s-cli-init file is in mac. It is not clear why

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3825c-2c105.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3825c-2c105.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?