vs 服务做成安装包,如何安装以后启动服务,只要在类名为projectinstaller的类中重写commit事件即可 public override void Commit(IDictionary savedState) { base.Commit(savedState); ServiceController sc = new ServiceController("HttpProviderService"); …
D:\hapi_learn>npm .x.x npm ERR! code ENOSELF npm ERR! Refusing to install package with name "hapi" under a package npm ERR! also called "hapi". Did you name your project the same npm ERR! as the dependency you're installing? npm ERR…
大概就是 npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ERR_STREAM_DESTROYED: Cannot call write after a stream was destroyed npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request…