Unable to resolve the source file for error in custom theme? Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?I created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?Cannot Load Page ItemsOverride Magento 2 JS file via requirejs-config.js not workingSteps for theme developmentNot able to add/update magento2 category post upgrade from 1.9 to 2.1.0Trying to uninstall moduleMagento 2 TypeError Undefined products images not displaying / js not loadingMagento 2 less compilation error while setup:static-content:deployInvalid Return Type in Ajax CallMagento 2 Stuck on Checkout page

Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?

What is this single-engine low-wing propeller plane?

How widely used is the term Treppenwitz? Is it something that most Germans know?

When is phishing education going too far?

How to draw this diagram using TikZ package?

If Jon Snow became King of the Seven Kingdoms what would his regnal number be?

What are 'alternative tunings' of a guitar and why would you use them? Doesn't it make it more difficult to play?

What are the motives behind Cersei's orders given to Bronn?

Models of set theory where not every set can be linearly ordered

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

What LEGO pieces have "real-world" functionality?

Why does Python start at index 1 when iterating an array backwards?

How do I stop a creek from eroding my steep embankment?

Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?

If a contract sometimes uses the wrong name, is it still valid?

How to assign captions for two tables in LaTeX?

Do I really need recursive chmod to restrict access to a folder?

Why is "Consequences inflicted." not a sentence?

Single word antonym of "flightless"

When to stop saving and start investing?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

Is high blood pressure ever a symptom attributable solely to dehydration?

What causes the vertical darker bands in my photo?

How much radiation do nuclear physics experiments expose researchers to nowadays?



Unable to resolve the source file for error in custom theme?



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?I created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?Cannot Load Page ItemsOverride Magento 2 JS file via requirejs-config.js not workingSteps for theme developmentNot able to add/update magento2 category post upgrade from 1.9 to 2.1.0Trying to uninstall moduleMagento 2 TypeError Undefined products images not displaying / js not loadingMagento 2 less compilation error while setup:static-content:deployInvalid Return Type in Ajax CallMagento 2 Stuck on Checkout page



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am working on magento version 2.1.3 and have a custom theme shoppersbay. For some js files it gives error like




Unable to resolve the source file for
'frontend/Smartwave/shoppersbay/en_US/Magento_ConfigurableProduct/js/variations/paging/sizes.js'
0 /home4/shoppoz8/public_html/shoppersbay/vendor/magento/framework/App/StaticResource.php(97): MagentoFrameworkViewAssetFile->getSourceFile()
1 /home4/shoppoz8/public_html/shoppersbay/vendor/magento/framework/App/Bootstrap.php(258):
MagentoFrameworkAppStaticResource->launch()
2 /home4/shoppoz8/public_html/shoppersbay/pub/static.php(13): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppStaticResource))
3 main




I searched for the file sizes.js but i didn't find any in theme and in vendor directory. How can i resolve it?










share|improve this question
















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    0















    I am working on magento version 2.1.3 and have a custom theme shoppersbay. For some js files it gives error like




    Unable to resolve the source file for
    'frontend/Smartwave/shoppersbay/en_US/Magento_ConfigurableProduct/js/variations/paging/sizes.js'
    0 /home4/shoppoz8/public_html/shoppersbay/vendor/magento/framework/App/StaticResource.php(97): MagentoFrameworkViewAssetFile->getSourceFile()
    1 /home4/shoppoz8/public_html/shoppersbay/vendor/magento/framework/App/Bootstrap.php(258):
    MagentoFrameworkAppStaticResource->launch()
    2 /home4/shoppoz8/public_html/shoppersbay/pub/static.php(13): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppStaticResource))
    3 main




    I searched for the file sizes.js but i didn't find any in theme and in vendor directory. How can i resolve it?










    share|improve this question
















    bumped to the homepage by Community 1 hour ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      0












      0








      0








      I am working on magento version 2.1.3 and have a custom theme shoppersbay. For some js files it gives error like




      Unable to resolve the source file for
      'frontend/Smartwave/shoppersbay/en_US/Magento_ConfigurableProduct/js/variations/paging/sizes.js'
      0 /home4/shoppoz8/public_html/shoppersbay/vendor/magento/framework/App/StaticResource.php(97): MagentoFrameworkViewAssetFile->getSourceFile()
      1 /home4/shoppoz8/public_html/shoppersbay/vendor/magento/framework/App/Bootstrap.php(258):
      MagentoFrameworkAppStaticResource->launch()
      2 /home4/shoppoz8/public_html/shoppersbay/pub/static.php(13): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppStaticResource))
      3 main




      I searched for the file sizes.js but i didn't find any in theme and in vendor directory. How can i resolve it?










      share|improve this question
















      I am working on magento version 2.1.3 and have a custom theme shoppersbay. For some js files it gives error like




      Unable to resolve the source file for
      'frontend/Smartwave/shoppersbay/en_US/Magento_ConfigurableProduct/js/variations/paging/sizes.js'
      0 /home4/shoppoz8/public_html/shoppersbay/vendor/magento/framework/App/StaticResource.php(97): MagentoFrameworkViewAssetFile->getSourceFile()
      1 /home4/shoppoz8/public_html/shoppersbay/vendor/magento/framework/App/Bootstrap.php(258):
      MagentoFrameworkAppStaticResource->launch()
      2 /home4/shoppoz8/public_html/shoppersbay/pub/static.php(13): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppStaticResource))
      3 main




      I searched for the file sizes.js but i didn't find any in theme and in vendor directory. How can i resolve it?







      magento-2.1 javascript requirejs






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 13 '17 at 8:04









      Teja Bhagavan Kollepara

      2,99341949




      2,99341949










      asked Jun 13 '17 at 8:02









      Nitin PawarNitin Pawar

      79911439




      79911439





      bumped to the homepage by Community 1 hour ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 1 hour ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Because that file sizes.js is not belong to frontend scope. It belongs to adminhtml.




          magento/module-configurable-product/view/adminhtml/web/js/variations/paging/sizes.js




          /**
          * Copyright © 2013-2017 Magento, Inc. All rights reserved.
          * See COPYING.txt for license details.
          */
          define([
          'Magento_Ui/js/grid/paging/sizes'
          ], function (Sizes)
          'use strict';

          return Sizes.extend(
          defaults:
          excludedOptions: ['100', '200']
          ,

          /**
          * @override
          */
          initialize: function ()
          this._super();

          this.excludedOptions.forEach(function (excludedOption)
          delete this.options[excludedOption];
          , this);
          this.updateArray();

          return this;

          );
          );


          Solution for your problem is delete any references to sizes.js in your custom theme. And asks the vendor to fix it, obviously :)






          share|improve this answer























          • Yes adminhtml contains this js. But i can't find the reference to this file in the theme. Any help to find it. where i can search for it.

            – Nitin Pawar
            Jun 13 '17 at 8:07











          • @NitinPawar Please use PhpStorm or whatever you like and search for 'Magento_ConfigurableProduct/js/variations/paging/sizes.js' inside 'frontend/Smartwave/shopperbays'

            – Toan Nguyen
            Jun 13 '17 at 8:09











          • I searched everywhere in theme and other modules but i can't found the reference for file. Also tried to remove file using <remove src="file_name"> but it is not working.

            – Nitin Pawar
            Jun 13 '17 at 11:42












          • @NitinPawar I'm so sorry, inside frontend/Smartwave/shopperbays may not contain this, it must be specified inside app/code/Smartwave

            – Toan Nguyen
            Jun 14 '17 at 6:41











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f178719%2funable-to-resolve-the-source-file-for-error-in-custom-theme%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Because that file sizes.js is not belong to frontend scope. It belongs to adminhtml.




          magento/module-configurable-product/view/adminhtml/web/js/variations/paging/sizes.js




          /**
          * Copyright © 2013-2017 Magento, Inc. All rights reserved.
          * See COPYING.txt for license details.
          */
          define([
          'Magento_Ui/js/grid/paging/sizes'
          ], function (Sizes)
          'use strict';

          return Sizes.extend(
          defaults:
          excludedOptions: ['100', '200']
          ,

          /**
          * @override
          */
          initialize: function ()
          this._super();

          this.excludedOptions.forEach(function (excludedOption)
          delete this.options[excludedOption];
          , this);
          this.updateArray();

          return this;

          );
          );


          Solution for your problem is delete any references to sizes.js in your custom theme. And asks the vendor to fix it, obviously :)






          share|improve this answer























          • Yes adminhtml contains this js. But i can't find the reference to this file in the theme. Any help to find it. where i can search for it.

            – Nitin Pawar
            Jun 13 '17 at 8:07











          • @NitinPawar Please use PhpStorm or whatever you like and search for 'Magento_ConfigurableProduct/js/variations/paging/sizes.js' inside 'frontend/Smartwave/shopperbays'

            – Toan Nguyen
            Jun 13 '17 at 8:09











          • I searched everywhere in theme and other modules but i can't found the reference for file. Also tried to remove file using <remove src="file_name"> but it is not working.

            – Nitin Pawar
            Jun 13 '17 at 11:42












          • @NitinPawar I'm so sorry, inside frontend/Smartwave/shopperbays may not contain this, it must be specified inside app/code/Smartwave

            – Toan Nguyen
            Jun 14 '17 at 6:41















          0














          Because that file sizes.js is not belong to frontend scope. It belongs to adminhtml.




          magento/module-configurable-product/view/adminhtml/web/js/variations/paging/sizes.js




          /**
          * Copyright © 2013-2017 Magento, Inc. All rights reserved.
          * See COPYING.txt for license details.
          */
          define([
          'Magento_Ui/js/grid/paging/sizes'
          ], function (Sizes)
          'use strict';

          return Sizes.extend(
          defaults:
          excludedOptions: ['100', '200']
          ,

          /**
          * @override
          */
          initialize: function ()
          this._super();

          this.excludedOptions.forEach(function (excludedOption)
          delete this.options[excludedOption];
          , this);
          this.updateArray();

          return this;

          );
          );


          Solution for your problem is delete any references to sizes.js in your custom theme. And asks the vendor to fix it, obviously :)






          share|improve this answer























          • Yes adminhtml contains this js. But i can't find the reference to this file in the theme. Any help to find it. where i can search for it.

            – Nitin Pawar
            Jun 13 '17 at 8:07











          • @NitinPawar Please use PhpStorm or whatever you like and search for 'Magento_ConfigurableProduct/js/variations/paging/sizes.js' inside 'frontend/Smartwave/shopperbays'

            – Toan Nguyen
            Jun 13 '17 at 8:09











          • I searched everywhere in theme and other modules but i can't found the reference for file. Also tried to remove file using <remove src="file_name"> but it is not working.

            – Nitin Pawar
            Jun 13 '17 at 11:42












          • @NitinPawar I'm so sorry, inside frontend/Smartwave/shopperbays may not contain this, it must be specified inside app/code/Smartwave

            – Toan Nguyen
            Jun 14 '17 at 6:41













          0












          0








          0







          Because that file sizes.js is not belong to frontend scope. It belongs to adminhtml.




          magento/module-configurable-product/view/adminhtml/web/js/variations/paging/sizes.js




          /**
          * Copyright © 2013-2017 Magento, Inc. All rights reserved.
          * See COPYING.txt for license details.
          */
          define([
          'Magento_Ui/js/grid/paging/sizes'
          ], function (Sizes)
          'use strict';

          return Sizes.extend(
          defaults:
          excludedOptions: ['100', '200']
          ,

          /**
          * @override
          */
          initialize: function ()
          this._super();

          this.excludedOptions.forEach(function (excludedOption)
          delete this.options[excludedOption];
          , this);
          this.updateArray();

          return this;

          );
          );


          Solution for your problem is delete any references to sizes.js in your custom theme. And asks the vendor to fix it, obviously :)






          share|improve this answer













          Because that file sizes.js is not belong to frontend scope. It belongs to adminhtml.




          magento/module-configurable-product/view/adminhtml/web/js/variations/paging/sizes.js




          /**
          * Copyright © 2013-2017 Magento, Inc. All rights reserved.
          * See COPYING.txt for license details.
          */
          define([
          'Magento_Ui/js/grid/paging/sizes'
          ], function (Sizes)
          'use strict';

          return Sizes.extend(
          defaults:
          excludedOptions: ['100', '200']
          ,

          /**
          * @override
          */
          initialize: function ()
          this._super();

          this.excludedOptions.forEach(function (excludedOption)
          delete this.options[excludedOption];
          , this);
          this.updateArray();

          return this;

          );
          );


          Solution for your problem is delete any references to sizes.js in your custom theme. And asks the vendor to fix it, obviously :)







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 13 '17 at 8:05









          Toan NguyenToan Nguyen

          2,0021138




          2,0021138












          • Yes adminhtml contains this js. But i can't find the reference to this file in the theme. Any help to find it. where i can search for it.

            – Nitin Pawar
            Jun 13 '17 at 8:07











          • @NitinPawar Please use PhpStorm or whatever you like and search for 'Magento_ConfigurableProduct/js/variations/paging/sizes.js' inside 'frontend/Smartwave/shopperbays'

            – Toan Nguyen
            Jun 13 '17 at 8:09











          • I searched everywhere in theme and other modules but i can't found the reference for file. Also tried to remove file using <remove src="file_name"> but it is not working.

            – Nitin Pawar
            Jun 13 '17 at 11:42












          • @NitinPawar I'm so sorry, inside frontend/Smartwave/shopperbays may not contain this, it must be specified inside app/code/Smartwave

            – Toan Nguyen
            Jun 14 '17 at 6:41

















          • Yes adminhtml contains this js. But i can't find the reference to this file in the theme. Any help to find it. where i can search for it.

            – Nitin Pawar
            Jun 13 '17 at 8:07











          • @NitinPawar Please use PhpStorm or whatever you like and search for 'Magento_ConfigurableProduct/js/variations/paging/sizes.js' inside 'frontend/Smartwave/shopperbays'

            – Toan Nguyen
            Jun 13 '17 at 8:09











          • I searched everywhere in theme and other modules but i can't found the reference for file. Also tried to remove file using <remove src="file_name"> but it is not working.

            – Nitin Pawar
            Jun 13 '17 at 11:42












          • @NitinPawar I'm so sorry, inside frontend/Smartwave/shopperbays may not contain this, it must be specified inside app/code/Smartwave

            – Toan Nguyen
            Jun 14 '17 at 6:41
















          Yes adminhtml contains this js. But i can't find the reference to this file in the theme. Any help to find it. where i can search for it.

          – Nitin Pawar
          Jun 13 '17 at 8:07





          Yes adminhtml contains this js. But i can't find the reference to this file in the theme. Any help to find it. where i can search for it.

          – Nitin Pawar
          Jun 13 '17 at 8:07













          @NitinPawar Please use PhpStorm or whatever you like and search for 'Magento_ConfigurableProduct/js/variations/paging/sizes.js' inside 'frontend/Smartwave/shopperbays'

          – Toan Nguyen
          Jun 13 '17 at 8:09





          @NitinPawar Please use PhpStorm or whatever you like and search for 'Magento_ConfigurableProduct/js/variations/paging/sizes.js' inside 'frontend/Smartwave/shopperbays'

          – Toan Nguyen
          Jun 13 '17 at 8:09













          I searched everywhere in theme and other modules but i can't found the reference for file. Also tried to remove file using <remove src="file_name"> but it is not working.

          – Nitin Pawar
          Jun 13 '17 at 11:42






          I searched everywhere in theme and other modules but i can't found the reference for file. Also tried to remove file using <remove src="file_name"> but it is not working.

          – Nitin Pawar
          Jun 13 '17 at 11:42














          @NitinPawar I'm so sorry, inside frontend/Smartwave/shopperbays may not contain this, it must be specified inside app/code/Smartwave

          – Toan Nguyen
          Jun 14 '17 at 6:41





          @NitinPawar I'm so sorry, inside frontend/Smartwave/shopperbays may not contain this, it must be specified inside app/code/Smartwave

          – Toan Nguyen
          Jun 14 '17 at 6:41

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f178719%2funable-to-resolve-the-source-file-for-error-in-custom-theme%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

          Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»

          Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр