Results 1 to 2 of 2

Thread: C2008: Requirement had no matching files (Ext.plugin.Viewport)

  1. #1
    Sencha User
    Join Date
    Jun 2017
    Posts
    22
    Answers
    1

    Default C2008: Requirement had no matching files (Ext.plugin.Viewport)

    I use Ext JS 6.5 . I follow official tutorial: http://docs.sencha.com/extjs/6.5.0/g...login_app.html

    I have webapp: https://github.com/donhuvy/TutorialApp . When run

    Code:
    sencha app build
    I see error:

    Code:
    [ERR] C2008: Requirement had no matching files (Ext.plugin.Viewport) -- /Users/donhuvy/Documents/source_code/github.com/donhuvy/TutorialApp/app.js:11:242
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExBuild: Failed to find any files for /Users/donhuvy/Documents/source_code/github.com/donhuvy/TutorialApp/app.js::ClassRequire::Ext.plugin.Viewport
    [ERR] 
    [ERR] Total time: 1 second
    [ERR] The following error occurred while executing this line:
    /Users/donhuvy/bin/Sencha/Cmd/6.5.0.180/ant/build/app/build-impl.xml:387: The following error occurred while executing this line:
    /Users/donhuvy/bin/Sencha/Cmd/6.5.0.180/ant/build/app/init-impl.xml:408: com.sencha.exceptions.ExBuild: Failed to find any files for /Users/donhuvy/Documents/source_code/github.com/donhuvy/TutorialApp/app.js::ClassRequire::Ext.plugin.Viewport
    How to fix it?

  2. #2
    Sencha User
    Join Date
    Apr 2013
    Posts
    908
    Answers
    105

    Default

    "Ext.plugin.Viewport" only exists in classic toolkit and you put that requirement in the "app.js" which is shared between the modern and classic toolkits. Either create separate "application" files for each toolkit and only require the plugin for classic toolkit or only build classic toolkit app.

Similar Threads

  1. [ERR] C2008: Requirement had no matching files
    By idealer in forum Ext: Q&A
    Replies: 3
    Last Post: 24 Aug 2017, 12:25 PM
  2. Replies: 8
    Last Post: 1 Jun 2016, 4:00 AM
  3. [ERR] C2008: Requirement had no matching files (Ext.grid.Grid)
    By Bramaram Naik Nenavath in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 6 Jan 2016, 12:20 PM
  4. Replies: 0
    Last Post: 18 Sep 2014, 12:48 PM

Tags for this Thread

Posting Permissions

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