Error: Cannot find module 'E:\new one\sencha-touch-2.1.0-commercial (1)\command\ senc
Hi Team,
Facing the issue while setting up the Sencha touch 2.1.0 project.
Error:
E:\new one\sencha-touch-2.1.0-commercial (1)>sencha
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'E:\new one\sencha-touch-2.1.0-commercial (1)\command\
sencha.js'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)
E:\new one\sencha-touch-2.1.0-commercial (1)>sencha generate app newapp ../newap
p
[ERROR] The current working directory (E:\new one\sencha-touch-2.1.0-commercial
(1)) is not a valid SDK directory. Please 'cd' into a SDK directory before execu
ting this command.
E:\new one\sencha-touch-2.1.0-commercial (1)>
Error: SDK folder is not there in app for Sencha touch 2.1
Hi Team,
Thank you for the response. I have uninstalled SDK 2.0 and install Sencha CMD (Sencha Cmd v3.0.0.250).
I am able to generate the APP using following command and here is the output:
I have checked the folder and there is no SDK folder after app generation.
Could you please help me to generate workable app with Sencha touch 2.1.
E:\Installables\sench-touch2.1\Sencha2.1>sencha generate app Vega ../Vega
Sencha Cmd v3.0.0.250
[INF] init-properties:
[INF] init-sencha-command:
[INF] init:
[INF] -before-generate-workspace:
[INF] generate-workspace-impl:
[WRN] Ignoring @require ../version/Version.js in js/String.js
[WRN] Ignoring @require ../Ext-more.js in js/Format.js
[INF] -before-copy-framework-to-workspace:
[INF] copy-framework-to-workspace-impl:
[INF] [copy] Copying 1005 files to E:\Installables\sench-touch2.1\Vega\touch
[INF] [copy] Copied 158 empty directories to 3 empty directories under E:\Installables\sench-touch2.1\Vega\touch
[INF] [copy] Copying 1 file to E:\Installables\sench-touch2.1\Vega\touch
[INF] [copy] Copying 1 file to E:\Installables\sench-touch2.1\Vega\touch
[INF] [propertyfile] Updating property file: E:\Installables\sench-touch2.1\Vega\.sencha\workspace\sencha.cfg
[INF] -after-copy-framework-to-workspace:
[INF] copy-framework-to-workspace:
[INF] -after-generate-workspace:
[INF] generate-workspace:
[INF] init-properties:
[INF] init-sencha-command:
[INF] init:
[INF] -before-generate-app:
[INF] generate-app-impl:
[INF] [mkdir] Created dir: E:\Installables\sench-touch2.1\Vega\app\model
[INF] [mkdir] Created dir: E:\Installables\sench-touch2.1\Vega\app\controller
[INF] [mkdir] Created dir: E:\Installables\sench-touch2.1\Vega\app\store
[INF] [mkdir] Created dir: E:\Installables\sench-touch2.1\Vega\app\profile
[INF] Generating new packager.json file using native packager
[INF] copy-sdk:
[INF] [copy] Copying 1 file to E:\Installables\sench-touch2.1\Vega\resources\css
[INF] -after-generate-app:
[INF] generate-app: