A. 使用sudo npm -g install xxx安装的全局包在require时提示找不到。
Q. 在项目根目录下执行sudo npm link xxx即可。