Results 1 to 5 of 5

Thread: Build Error: File does not have a package descriptor

  1. #1

    Default Build Error: File does not have a package descriptor

    Hello,

    since I update Sencha Architect to Version 3.1.0.1934 I get the following message if I build my app

    Code:
    Exception in thread "Thread-22" com.sencha.exceptions.ExArg: File does not have a package descriptor (/Users/xxxx/bin/Sencha/Cmd/repo/pkgs/ext/5.0.1.1255/ext.pkg)
    at com.sencha.tools.pkg.Model$Package.load(Model.java:748)
    at com.sencha.tools.pkg.LocalRepository$7$1.accept(LocalRepository.java:709)
    at java.io.File.listFiles(File.java:1134)
    at com.sencha.tools.pkg.LocalRepository$7.accept(LocalRepository.java:691)
    at java.io.File.listFiles(File.java:1134)
    at com.sencha.tools.pkg.LocalRepository.catalogLoad(LocalRepository.java:683)
    at com.sencha.tools.pkg.LocalRepository.<init>(LocalRepository.java:90)
    at com.sencha.command.environment.WorkspaceRepository.getLocalRepository(WorkspaceRepository.java:271)
    at com.sencha.command.environment.WorkspaceRepository.getLocalRepository(WorkspaceRepository.java:286)
    at com.sencha.command.environment.WorkspaceRepository.getCatalog(WorkspaceRepository.java:251)
    at com.sencha.command.environment.WorkspaceRepository.resolvePackageModels(WorkspaceRepository.java:122)
    at com.sencha.command.environment.WorkspaceRepository.resolvePackageEnvironments(WorkspaceRepository.java:102)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:215)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:209)
    at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:591)
    at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:35)
    at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:329)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
    at com.sencha.cli.Command.dispatch(Command.java:43)
    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:73)
    at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
    at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:48)
    at com.sencha.tools.server.service.tasks.BaseServiceTask$1.run(BaseServiceTask.java:38)
    at com.sencha.util.ThreadUtil$1.run(ThreadUtil.java:143)
    at java.lang.Thread.run(Thread.java:695)
    
    [INF] Processing Build Descriptor : default
    
    I don't know why Sencha Cmd is looking for ExtJS 5 because my project uses ExtJS 4.2.3.
    I use Sencha Architect on MacOS X Yosemite.

    Can anyone help me with this problem?

  2. #2

    Default

    Hi,

    I had the same problem.
    I "fix" it by removing folder ext from repo/pkgs

    Hope it helps

  3. #3
    Sencha Premium User
    Join Date
    Oct 2016
    Posts
    49

    Default

    how did you solve it?

    I'm trying with ext 6.2.1.197 facing the same issue, repo/pkgs folder doesn't have ext folder

  4. #4

    Default

    Hi,

    Here it is, if you use Windows:

    C:\Users\youruser\bin\Sencha\Cmd\
    or
    where your Sencha CMD(s) are installed.

    There is a folder repo there.
    Hope it helps!

  5. #5
    Sencha Premium User
    Join Date
    Oct 2016
    Posts
    49

    Default

    Hi ionuttrisky,

    thanks! I found it for mac is inside /Users/user.name/bin/Sencha/Cmd/repo

    but the issue that I have about
    File does not have a package descriptor

    is because the framework should be inside a .pkg file with root folder, so zip the complete folder ext/

    for packages type "code" is different, you should zip only the content without a folder. now works.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •