【问题标题】:Terriajs installation in Windows 10在 Windows 10 中安装 Terriajs
【发布时间】:2020-05-07 04:59:34
【问题描述】:

运行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

terriajs-map@0.0.1 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! terriajs-map@0.0.1 gulp: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the terriajs-map@0.0.1 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 terriajs


    【解决方案1】:

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

    也就是说,在那个目录中npm run gulp 有点不寻常,你能解释一下你想要实现的目标吗?如果您需要其他帮助,还有一个活跃的Gitter channel

    【讨论】:

      猜你喜欢
      • 2019-04-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-12
      • 2020-08-09
      • 2022-07-22
      • 1970-01-01
      • 2016-08-21
      相关资源
      最近更新 更多