Windows 10中的Terriajs安装

问题描述 投票:0回答:1

运行gulp命令时出错。

Microsoft Windows [Version 10.0.17763.1158]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\SHASHI>cd C:\Users\SHASHI\Desktop\terra\TerriaMap

C:\Users\SHASHI\Desktop\terra\TerriaMap>npm run gulp

[email protected] gulp C:\Users\SHASHI\Desktop\terra\TerriaMap
gulp

[10:25:21] Local gulp not found in ~\Desktop\terra\TerriaMap
[10:25:21] Try running: npm install gulp
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] gulp: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] gulp script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\SHASHI\AppData\Roaming\npm-cache\_logs\2020-05-07T04_55_21_870Z-debug.log

C:\Users\SHASHI\Desktop\terra\TerriaMap>
3d open-source terriajs
1个回答
0
投票

听起来您尚未安装项目的依赖项。在TerriaMap目录中,应运行npm run install以安装所有依赖项(包括Gulp)。

就是说,该目录中的npm run gulp有点不寻常,您可以说明您要达到的目标吗?如果您需要其他帮助,也有一个活动的Gitter channel

© www.soinside.com 2019 - 2024. All rights reserved.