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 polymorph use a PC’s CR or its level?
How can I make names more distinctive without making them longer?
Why is black pepper both grey and black?
Can a drone be seen on TCAS?
Why does Python start at index 1 when iterating an array backwards?
How does a biquinary adder work?
The logistics of corpse disposal
Right-skewed distribution with mean equals to mode?
How much radiation do nuclear physics experiments expose researchers to nowadays?
If 'B is more likely given A', then 'A is more likely given B'
ListPlot join points by nearest neighbor rather than order
Compressing georeferenced images
Does surprise arrest existing movement?
What is the longest distance a 13th-level monk can jump while attacking on the same turn?
Why there are no cargo aircraft with "flying wing" design?
Why was the term "discrete" used in discrete logarithm?
How to recreate this effect in Photoshop?
How do I stop a creek from eroding my steep embankment?
Area of a 2D convex hull
Did Xerox really develop the first LAN?
Is 1 ppb equal to 1 μg/kg?
How was the dust limit of 546 satoshis was chosen? Why not 550 satoshis?
Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?
What are the pros and cons of Aerospike nosecones?
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;
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
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
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
bumped to the homepage by Community♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
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
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
magento-2.1 javascript requirejs
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♦ 6 mins 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♦ 6 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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 :)
Yesadminhtmlcontains 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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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 :)
Yesadminhtmlcontains 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
add a comment |
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 :)
Yesadminhtmlcontains 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
add a comment |
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 :)
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 :)
answered Jun 13 '17 at 8:05
Toan NguyenToan Nguyen
2,0021138
2,0021138
Yesadminhtmlcontains 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
add a comment |
Yesadminhtmlcontains 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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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