I've started trying to use the sencha sdk and can't get the most simple of builds running on Windows 7. All I wanted to do was generate the default app and do a build and that throws an error:

Error: EPERM, operation not permitted 'C:\Userdata\Temp\Test2\build\production\s
dk\sencha-touch.js'

Below are the steps I followed. I also tried modifying the app.joson to change logger:"no" to logger:"false".

People seem to be having problems but I can't even get passed the basics.


Cd C:\Userdata\myChild\Mobile\Trunk\Web\Ifp.Mobile.Web\Content\sencha2.0.0

C:\Userdata\myChild\Mobile\Trunk\Web\Ifp.Mobile.Web\Content\sencha2.0.0>sencha app create MyApp c:\UserData\Temp\Test2

[INFO] Created file c:\UserData\Temp\Test2\.senchasdk
[INFO] Created file c:\UserData\Temp\Test2\index.html
[INFO] Created file c:\UserData\Temp\Test2\app.js
[INFO] Created file c:\UserData\Temp\Test2\packager.json
[INFO] Created file c:\UserData\Temp\Test2\app.json
[INFO] Created file c:\UserData\Temp\Test2\app\view\Main.js
[INFO] Copied dir: c:\UserData\Temp\Test2\sdk\src
[INFO] Copied dir: c:\UserData\Temp\Test2\sdk\resources
[INFO] Copied dir: c:\UserData\Temp\Test2\resources\icons
[INFO] Copied dir: c:\UserData\Temp\Test2\resources\loading
[INFO] Copied dir: c:\UserData\Temp\Test2\sdk\command
[INFO] Copied file: c:\UserData\Temp\Test2\sdk\microloader\development.js
[INFO] Copied file: c:\UserData\Temp\Test2\sdk\microloader\testing.js
[INFO] Copied file: c:\UserData\Temp\Test2\sdk\microloader\production.js
[INFO] Copied file: c:\UserData\Temp\Test2\sdk\version.txt
[INFO] Copied file: c:\UserData\Temp\Test2\sdk\sencha-touch.js
[INFO] Copied file: c:\UserData\Temp\Test2\sdk\sencha-touch-all.js
[INFO] Created file c:\UserData\Temp\Test2\resources\sass\app.scss
[INFO] Created file c:\UserData\Temp\Test2\resources\sass\config.rb
[INFO] Copied file: c:\UserData\Temp\Test2\resources\css\app.css


Cd c:\UserData\Temp\Test2


C:\Userdata\Temp\Test2>sencha app build production
[INFO] Deploying your application to C:\Userdata\Temp\Test2\build\production
[INFO] Copied sdk/sencha-touch.js
[INFO] Copied app.js
[INFO] Copied resources/css/app.css
[INFO] Copied resources/images
[INFO] Copied resources/icons
[INFO] Copied resources/loading
[INFO] Resolving your application dependencies...
[INFO] Found 139 dependencies. Concatenating all into app.js...
fs.js:230
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EPERM, operation not permitted 'C:\Userdata\Temp\Test2\build\production\s
dk\sencha-touch.js'
at Object.openSync (fs.js:230:18)
at Object.writeFileSync (fs.js:618:15)
at [object Object].write (C:\Userdata\Temp\Test2\sdk\command\src\module\File
System.js:185:23)
at [object Object].<anonymous> (C:\Userdata\Temp\Test2\sdk\command\src\modul
e\Application.js:223:24)
at Array.forEach (native)
at [object Object].<anonymous> (C:\Userdata\Temp\Test2\sdk\command\src\modul
e\Application.js:218:20)
at [object Object].<anonymous> (C:\Userdata\Temp\Test2\sdk\command\src\modul
e\Application.js:84:21)
at ChildProcess.exithandler (child_process.js:281:7)
at ChildProcess.emit (events.js:70:17)
at maybeExit (child_process.js:361:16)