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
When I ran syr version and syr help but got errors.
Here is the code.
$ syr version
Command Not Found: version
/Users/ypxie/.npm-packages/lib/node_modules/@syr/cli/lib/commands/index.js:15
module.cmd.apply(this, optionals);
^
TypeError: Cannot read property 'cmd' of undefined
at commands (/Users/ypxie/.npm-packages/lib/node_modules/@syr/cli/lib/commands/index.js:15:10)
at main (/Users/ypxie/.npm-packages/lib/node_modules/@syr/cli/lib/cli.js:25:28)
at Object.<anonymous> (/Users/ypxie/.npm-packages/lib/node_modules/@syr/cli/lib/cli.js:33:1)
at Module._compile (internal/modules/cjs/loader.js:722:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:775:12)
at startup (internal/bootstrap/node.js:300:19)
$ syr help
Command Not Found: help
/Users/ypxie/.npm-packages/lib/node_modules/@syr/cli/lib/commands/index.js:15
module.cmd.apply(this, optionals);
^
TypeError: Cannot read property 'cmd' of undefined
at commands (/Users/ypxie/.npm-packages/lib/node_modules/@syr/cli/lib/commands/index.js:15:10)
at main (/Users/ypxie/.npm-packages/lib/node_modules/@syr/cli/lib/cli.js:25:28)
at Object.<anonymous> (/Users/ypxie/.npm-packages/lib/node_modules/@syr/cli/lib/cli.js:33:1)
at Module._compile (internal/modules/cjs/loader.js:722:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:775:12)
at startup (internal/bootstrap/node.js:300:19)
The text was updated successfully, but these errors were encountered:
syr-cli
version: latestProblem:
When I ran
syr version
andsyr help
but got errors.Here is the code.
The text was updated successfully, but these errors were encountered: