从别的平台看到的方法,但是不能保存,怕以后再碰到这个问题,忘记怎么解决。先在此记录一下 将 var cpt = require(‘./cpt’ + ‘able’); 替换为 var cpt = cptable; 重新运行即可