要下载必要的模块 (MSS),请使用终端导航到已通过启动克隆存储库的本地文件夹:
npm install
Run Code Online (Sandbox Code Playgroud)
然后我尝试使用以下方法构建 I 项目:
npm run build-dev
Run Code Online (Sandbox Code Playgroud)
但我收到此错误:
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! mss@1.1.2 build-dev: `gulp build --env node`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the mss@1.1.2 build-dev script.
npm ERR! This is probably not a problem with npm. There is likely
Run Code Online (Sandbox Code Playgroud)
上面的附加日志输出。
为什么?
In a special application in which our server needs to update firmware of low-on-resource sensor/tracking devices we encountered a problem in which sometimes data is lost in the remote devices (clients) receiving packets of the new firmware. The connection is TCP/IP over GPRS network. The devices use SIM900 GSM chip as a network interface.
The problems possibly come because of the device receiving too much data. We tried reducing the traffic by sending packages more rarely but sometimes the error …