Comments (5)
Just go to the app folder and run "sencha app install", it will fix the issue.
from electron-demo.
I'm also having this issue. I ran "sencha app install" and I got the following output:
[adam@Macintosh app]$ sencha app install
Sencha Cmd v6.2.1.29
[INF] Using existing workspace at /Users/adam/projects/electron-demo
[WRN] Failed to resolve package ext-electron
[INF] Adding application to workspace.json
I then re-ran the setup command "./setup ~/projects/sencha-frameworks" and got the following errors:
Sencha Cmd v6.2.1.29
[INF] Processing Build Descriptor : default
[WRN] Failed to resolve package ext-electron
[WRN] Failed to resolve package ext-electron
[INF] Loading app json manifest...
[ERR] C2000: Rhino Parse Error (missing : after property id => init () {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:23:14
[ERR] C2000: Rhino Parse Error (syntax error => this.recentFiles = [];) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:24:18
[ERR] C2000: Rhino Parse Error (missing ) after argument list => onFileChange (picker, path) {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:29:37
[ERR] C2000: Rhino Parse Error (syntax error => getColors(path, (err, colors) => {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:34:45
[ERR] C2000: Rhino Parse Error (missing ; before statement => if (err) {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:35:26
[ERR] C2000: Rhino Parse Error (syntax error => else {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:38:21
[ERR] C2000: Rhino Parse Error (syntax error => vm.set('colors', colors.map(c => {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:39:24
[ERR] C2000: Rhino Parse Error (syntax error => }));) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:43:21
[ERR] C2000: Rhino Parse Error (missing ; before statement => let i = recentFiles.indexOf(path);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:45:26
[ERR] C2000: Rhino Parse Error (syntax error => }) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:57:17
[ERR] C2000: Rhino Parse Error (syntax error => });) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:58:14
[ERR] C2000: Rhino Parse Error (syntax error => },) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:61:9
[ERR] C2000: Rhino Parse Error (syntax error => getReopenMenu () {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:63:24
[ERR] C2000: Rhino Parse Error (invalid return => return this.recentFiles.map(file => {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:66:19
[ERR] C2000: Rhino Parse Error (syntax error => return this.recentFiles.map(file => {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:66:48
[ERR] C2000: Rhino Parse Error (missing ; before statement => click () {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:69:30
[ERR] C2000: Rhino Parse Error (syntax error => vm.set('filename', file);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:70:28
[ERR] C2000: Rhino Parse Error (syntax error => };) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:72:17
[ERR] C2000: Rhino Parse Error (syntax error => });) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:73:13
[ERR] C2000: Rhino Parse Error (syntax error => },) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:74:9
[ERR] C2000: Rhino Parse Error (syntax error => onRefreshMenu () {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:76:24
[ERR] C2000: Rhino Parse Error (syntax error => },) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:80:9
[ERR] C2000: Rhino Parse Error (missing ; before statement => onAppReload (item, focusedWindow) {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:82:43
[ERR] C2000: Rhino Parse Error (missing ; before statement => if (focusedWindow) {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:83:32
[ERR] C2000: Rhino Parse Error (syntax error => focusedWindow.reload();) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:84:31
[ERR] C2000: Rhino Parse Error (syntax error => }) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:85:13
[ERR] C2000: Rhino Parse Error (syntax error => },) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:86:10
[ERR] C2000: Rhino Parse Error (syntax error => onExit () {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:88:17
[ERR] C2000: Rhino Parse Error (syntax error => window.close();) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:89:20
[ERR] C2000: Rhino Parse Error (syntax error => },) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:90:9
[ERR] C2000: Rhino Parse Error (missing ; before statement => onButtonToggled (btn, button, pressed) {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:92:48
[ERR] C2000: Rhino Parse Error (syntax error => },) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:103:9
[ERR] C2000: Rhino Parse Error (syntax error => onToggleMenuItem () {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:105:27
[ERR] C2000: Rhino Parse Error (syntax error => },) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:116:9
[ERR] C2000: Rhino Parse Error (syntax error => testRemote () {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:118:21
[ERR] C2000: Rhino Parse Error (syntax error => var v = mainStub.invoke(process.type, () => {) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:123:52
[ERR] C2000: Rhino Parse Error (syntax error => console.log(Callback called in ${process.type}
);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:124:25
[ERR] C2000: Rhino Parse Error (illegal character => console.log(Callback called in ${process.type}
);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:124:29
[ERR] C2000: Rhino Parse Error (missing ; before statement => console.log(Callback called in ${process.type}
);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:124:45
[ERR] C2000: Rhino Parse Error (illegal character => console.log(Callback called in ${process.type}
);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:124:64
[ERR] C2000: Rhino Parse Error (syntax error => console.log(Callback called in ${process.type}
);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:124:65
[ERR] C2000: Rhino Parse Error (syntax error => });) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:125:13
[ERR] C2000: Rhino Parse Error (illegal character => console.log(Value from remote call to mainStub.invoke: ${v}
);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:127:25
[ERR] C2000: Rhino Parse Error (missing ) after argument list => console.log(Value from remote call to mainStub.invoke: ${v}
);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:127:31
[ERR] C2000: Rhino Parse Error (illegal character => console.log(Value from remote call to mainStub.invoke: ${v}
);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:127:73
[ERR] C2000: Rhino Parse Error (syntax error => console.log(Value from remote call to mainStub.invoke: ${v}
);) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:127:74
[ERR] C2000: Rhino Parse Error (syntax error => }) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:128:9
[ERR] C2000: Rhino Parse Error (syntax error => });) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:130:1
[ERR] C2000: Rhino Parse Error (Compilation produced 48 syntax errors. => null) -- /Users/adam/projects/electron-demo/app/app/view/main/MainController.js:1
[ERR]
[ERR] BUILD FAILED
[ERR] org.mozilla.javascript.EvaluatorException: Compilation produced 48 syntax errors.
[ERR]
[ERR] Total time: 2 seconds
[ERR] The following error occurred while executing this line:
/Users/adam/projects/electron-demo/app/.sencha/app/build-impl.xml:380: The following error occurred while executing this line:
/Users/adam/projects/electron-demo/app/.sencha/app/init-impl.xml:384: org.mozilla.javascript.EvaluatorException: Compilation produced 48 syntax errors.
I'm running Sencha Cmd v6.2.1.29 under OS X 10.10.5
from electron-demo.
@aratcliffe try with sencha cmd 6.5.0.25, it supports ES6
from electron-demo.
Thanks!
from electron-demo.
@aratcliffe let me know if it didn't work
from electron-demo.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-demo.