meixifrontserve 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -139,12 +139,13 @@ class EnvByServerController extends ServerController {
|
|
|
139
139
|
#+# #+# #+# #+# #+#
|
|
140
140
|
### ### ############ #####`)
|
|
141
141
|
console.error('即将开始下载依赖!')
|
|
142
|
-
exec('npm install', async (error, stdout, stderr) => {
|
|
142
|
+
exec('npm install --force', async (error, stdout, stderr) => {
|
|
143
143
|
if (!error) {
|
|
144
144
|
shell.exec('npm run serve', (error, stdout, stderr) => {
|
|
145
145
|
console.log(error);
|
|
146
146
|
})
|
|
147
147
|
} else {
|
|
148
|
+
console.log(error)
|
|
148
149
|
console.error('依赖下载失败!')
|
|
149
150
|
}
|
|
150
151
|
});
|