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;
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♦ 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.
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♦ 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.
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♦ 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.
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