找不到 .sencha 文件夹
Unable to locate .sencha folder
(1) 我在 macOS 10.12.5 上使用 Ext JS 6.5 .
(2) 我正在 http://docs.sencha.com/extjs/6.5.0/guides/quick_start/going_to_production.html 阅读指南。
(3) 下载https://github.com/sencha-extjs-examples/QuickStart/archive/master.zip
(4)解压,重命名目录QuickStart-master
为QuickStart
.
(5) Ext JS 6.5(解压后)放入/Users/donhuvy/Downloads/ext-6.5.0
.
我运行
cd /Users/donhuvy/Downloads/QuickStart
sencha app install --framework=/Users/donhuvy/Downloads/ext-6.5.0
我看到错误:
➜ ~ pwd
/Users/donhuvy
➜ ~ cd /Users/donhuvy/Downloads/QuickStart
➜ QuickStart sencha app install --framework=/Users/donhuvy/Downloads/ext-6.5.0
Sencha Cmd v6.5.0.180
[INF] Using existing workspace at /Users/donhuvy/Downloads/QuickStart
[INF] Copying framework to /Users/donhuvy/Downloads/QuickStart/ext
[INF] Loading configuration for framework directory: /Users/donhuvy/Downloads/QuickStart/ext
[INF] Upgrading to Ext JS 6.x
[INF] Upgrading to sdk at /Users/donhuvy/Downloads/QuickStart/ext
[ERR] Unable to locate .sencha folder
[ERR] Please ensure this folder is a valid v3 ExtJS application
[ERR] com.sencha.exceptions.ExScript: com.sencha.exceptions.ExState: No .sencha directory found (anonymous#27)
runAppUpgrade (anonymous:26)
[anonymous] (anonymous:464)
x_app_upgrade (anonymous:463)
➜ QuickStart sencha app install --framework=/Users/donhuvy/Downloads/ext-6.5.0
Sencha Cmd v6.5.0.180
[INF] Using existing workspace at /Users/donhuvy/Downloads/QuickStart
如何解决?
从一开始就遵循这些步骤
- 下载https://github.com/sencha-extjs-examples/QuickStart/archive/master.zip
打开终端
键入以下内容:
cd Downloads
unzip QuickStart-master.zip
mv QuickStart-master QuickStart
cd QuickStart
sencha app upgrade /Users/donhuvy/Downloads/ext-6.5.0
sencha app build
sencha app watch
当你看到
[INF] Waiting for changes...
[LOG] Fashion waiting for changes...
离开应用程序 运行,不要关闭终端或点击 Control+C
(切记:清除浏览器缓存)
(1) 我在 macOS 10.12.5 上使用 Ext JS 6.5 .
(2) 我正在 http://docs.sencha.com/extjs/6.5.0/guides/quick_start/going_to_production.html 阅读指南。
(3) 下载https://github.com/sencha-extjs-examples/QuickStart/archive/master.zip
(4)解压,重命名目录QuickStart-master
为QuickStart
.
(5) Ext JS 6.5(解压后)放入/Users/donhuvy/Downloads/ext-6.5.0
.
我运行
cd /Users/donhuvy/Downloads/QuickStart
sencha app install --framework=/Users/donhuvy/Downloads/ext-6.5.0
我看到错误:
➜ ~ pwd
/Users/donhuvy
➜ ~ cd /Users/donhuvy/Downloads/QuickStart
➜ QuickStart sencha app install --framework=/Users/donhuvy/Downloads/ext-6.5.0
Sencha Cmd v6.5.0.180
[INF] Using existing workspace at /Users/donhuvy/Downloads/QuickStart
[INF] Copying framework to /Users/donhuvy/Downloads/QuickStart/ext
[INF] Loading configuration for framework directory: /Users/donhuvy/Downloads/QuickStart/ext
[INF] Upgrading to Ext JS 6.x
[INF] Upgrading to sdk at /Users/donhuvy/Downloads/QuickStart/ext
[ERR] Unable to locate .sencha folder
[ERR] Please ensure this folder is a valid v3 ExtJS application
[ERR] com.sencha.exceptions.ExScript: com.sencha.exceptions.ExState: No .sencha directory found (anonymous#27)
runAppUpgrade (anonymous:26)
[anonymous] (anonymous:464)
x_app_upgrade (anonymous:463)
➜ QuickStart sencha app install --framework=/Users/donhuvy/Downloads/ext-6.5.0
Sencha Cmd v6.5.0.180
[INF] Using existing workspace at /Users/donhuvy/Downloads/QuickStart
如何解决?
从一开始就遵循这些步骤
- 下载https://github.com/sencha-extjs-examples/QuickStart/archive/master.zip
打开终端
键入以下内容:
cd Downloads unzip QuickStart-master.zip mv QuickStart-master QuickStart cd QuickStart sencha app upgrade /Users/donhuvy/Downloads/ext-6.5.0 sencha app build sencha app watch
当你看到
[INF] Waiting for changes... [LOG] Fashion waiting for changes...
离开应用程序 运行,不要关闭终端或点击 Control+C
(切记:清除浏览器缓存)