I was able to get it to work when I used a full path for the workspace path.
Works:
sencha -sdk ext-5.1.0-commercial generate workspace /home/myaccount/ext-highcharts
Fails:
sencha -sdk ext-5.1.0-commercial generate workspace ext-highcharts
sencha -sdk ext-5.1.0-commercial generate workspace ext-highcharts
Sencha Cmd v5.1.0.26
[ERR] java.lang.NullPointerException
at com.sencha.util.PathUtil.getAbsolutePath(PathUtil.java:212)
at com.sencha.command.generator.GeneratorCommands$WorkspaceCommand.getParameters(GeneratorCommands.java:107)
at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:82)
at com.sencha.command.generator.GeneratorCommands$WorkspaceCommand.execute(GeneratorCommands.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
at com.sencha.cli.Command.dispatch(Command.java:43)
at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:148)
at com.sencha.cli.Commands.dispatch(Commands.java:64)
at com.sencha.cli.Commands.dispatch(Commands.java:64)
at com.sencha.command.Sencha.dispatch(Sencha.java:72)
at com.sencha.command.Sencha.main(Sencha.java:140)
Can't create workspace with Sencha Cmd v5.1.0.26
Aucun commentaire:
Enregistrer un commentaire