$ spm help
Please set environment variable NODE_PATH:
NODE_PATH=c:\Users\zhi.cun\AppData\Roaming\npm\node_modules
Static Package Manager
Usage: spm <command> [options]
Options:
-h, --help output usage information
-V, --version output the version number
System Commands:
plugin plugin system for spm
config configuration for spm
help show help information
Package Commands:
tree show dependencies tree
info information of a module
login login your account
search search modules
install install a module
publish publish a module
unpublish unpublish a module
Plugin Commands:
init init a template
build Build a standar cmd module.
实际上我是配置了NODE_PATH的,只是我NODE_PATH的值为:
C:\Users\zhi.cun\AppData\Roaming\npm\node_modules;C:\Program Files (x86)\Subversion\bin
,导致https://github.com/spmjs/spm2/blob/master/lib/utils/program.js#L89 逻辑失效,这里的split是:
,是不是应该换成;
?