我在Windows计算机上,但是我的节点设置为Darwin。是否有切换命令?
它阻止我添加Windows服务,并且出现以下错误:
Error: Cannot find module 'os-service'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Fusiozii\REST-API\rest.js:25:17)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
节点= v6.11.2
Node-gyp = v3.4.0