Magento 2 Uncaught SyntaxError: Invalid or unexpected tokenMagento2 editor.js Unexpected TokenUncaught...

Are there neural networks with very few nodes that decently solve non-trivial problems?

Do authors have to be politically correct in article-writing?

What is the wife of a henpecked husband called?

Difference between thick vs thin front suspension?

How to acknowledge an embarrassing job interview, now that I work directly with the interviewer?

Difference between two quite-similar Terminal commands

How can animals be objects of ethics without being subjects as well?

Would a National Army of mercenaries be a feasible idea?

Adding a new switch to a C9300 stack

Is there some relative to Dutch word "kijken" in German?

Why Normality assumption in linear regression

How do I say "Brexit" in Latin?

Solving Fredholm Equation of the second kind

Parsing a string of key-value pairs as a dictionary

Eww, those bytes are gross

How to prevent users from executing commands through browser URL

How would a Dictatorship make a country more successful?

Pre-1980's science fiction short story: alien disguised as a woman shot by a gangster, has tentacles coming out of her breasts when remaking her body

Citing paywalled articles accessed via illegal web sharing

Why does a metal block make a shrill sound but not a wooden block upon hammering?

Why did this image turn out darker?

Why doesn't "auto ch = unsigned char{'p'}" compile under C++ 17?

Every character has a name - does this lead to too many named characters?

Isn't using the Extrusion Multiplier like cheating?



Magento 2 Uncaught SyntaxError: Invalid or unexpected token


Magento2 editor.js Unexpected TokenUncaught SyntaxError: Unexpected token u in JSON at position 0Uncaught SyntaxError: Unexpected token } in JSON at position 199Magento2: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataMagento2 Uncaught SyntaxError: Unexpected token B in JSON at position 121SyntaxError: missing ) after argument listUncaught SyntaxError: Unexpected token B in JSON at position 155Magento 2 Minicart dropdown delete icon not workingMagento 2 jsonParse() does not receive data, Unexpected token 'syntax error, unexpected 'namespace' (T_NAMESPACE)













0















When I tried to select the product color swatch and product size I got this error in production mode.



Uncaught SyntaxError: Invalid or unexpected token
at new Function (<anonymous>)
at Function._.template (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:64:39)
at eval (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:6:73)
at $.(anonymous function).(anonymous function)._UpdatePrice (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:37:107)
at $.(anonymous function).(anonymous function).eval [as _UpdatePrice] (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:334)
at $.(anonymous function).(anonymous function)._OnClick (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:156)
at $.(anonymous function).(anonymous function).eval [as _OnClick] (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:334)
at HTMLDivElement.eval (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:24:561)
at HTMLDivElement.dispatch (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:339:447)
at HTMLDivElement.elemData.handle (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:312:172)









share|improve this question
















bumped to the homepage by Community 3 mins ago


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
















  • do you use any module with eval code. if so contact the module developer

    – M.Elwan
    Mar 31 '18 at 21:19











  • The problem with the product seem to be when the product has tier price set and what to select the product with color and size... can someone give a hint?

    – Vasile Rus
    Apr 2 '18 at 6:44


















0















When I tried to select the product color swatch and product size I got this error in production mode.



Uncaught SyntaxError: Invalid or unexpected token
at new Function (<anonymous>)
at Function._.template (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:64:39)
at eval (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:6:73)
at $.(anonymous function).(anonymous function)._UpdatePrice (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:37:107)
at $.(anonymous function).(anonymous function).eval [as _UpdatePrice] (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:334)
at $.(anonymous function).(anonymous function)._OnClick (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:156)
at $.(anonymous function).(anonymous function).eval [as _OnClick] (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:334)
at HTMLDivElement.eval (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:24:561)
at HTMLDivElement.dispatch (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:339:447)
at HTMLDivElement.elemData.handle (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:312:172)









share|improve this question
















bumped to the homepage by Community 3 mins ago


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
















  • do you use any module with eval code. if so contact the module developer

    – M.Elwan
    Mar 31 '18 at 21:19











  • The problem with the product seem to be when the product has tier price set and what to select the product with color and size... can someone give a hint?

    – Vasile Rus
    Apr 2 '18 at 6:44
















0












0








0


0






When I tried to select the product color swatch and product size I got this error in production mode.



Uncaught SyntaxError: Invalid or unexpected token
at new Function (<anonymous>)
at Function._.template (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:64:39)
at eval (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:6:73)
at $.(anonymous function).(anonymous function)._UpdatePrice (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:37:107)
at $.(anonymous function).(anonymous function).eval [as _UpdatePrice] (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:334)
at $.(anonymous function).(anonymous function)._OnClick (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:156)
at $.(anonymous function).(anonymous function).eval [as _OnClick] (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:334)
at HTMLDivElement.eval (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:24:561)
at HTMLDivElement.dispatch (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:339:447)
at HTMLDivElement.elemData.handle (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:312:172)









share|improve this question
















When I tried to select the product color swatch and product size I got this error in production mode.



Uncaught SyntaxError: Invalid or unexpected token
at new Function (<anonymous>)
at Function._.template (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:64:39)
at eval (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:6:73)
at $.(anonymous function).(anonymous function)._UpdatePrice (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:37:107)
at $.(anonymous function).(anonymous function).eval [as _UpdatePrice] (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:334)
at $.(anonymous function).(anonymous function)._OnClick (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:156)
at $.(anonymous function).(anonymous function).eval [as _OnClick] (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:28:334)
at HTMLDivElement.eval (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:24:561)
at HTMLDivElement.dispatch (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:339:447)
at HTMLDivElement.elemData.handle (eval at require.load (http://217.160.142.147/pub/static/version1522436350/_cache/merged/9f0e77a0e649eade7c26426be1fcf110.min.js:170:216), <anonymous>:312:172)






magento2 swatches






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 2 '18 at 10:51









Teja Bhagavan Kollepara

2,97341847




2,97341847










asked Mar 30 '18 at 20:06









Vasile RusVasile Rus

11




11





bumped to the homepage by Community 3 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 3 mins ago


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















  • do you use any module with eval code. if so contact the module developer

    – M.Elwan
    Mar 31 '18 at 21:19











  • The problem with the product seem to be when the product has tier price set and what to select the product with color and size... can someone give a hint?

    – Vasile Rus
    Apr 2 '18 at 6:44





















  • do you use any module with eval code. if so contact the module developer

    – M.Elwan
    Mar 31 '18 at 21:19











  • The problem with the product seem to be when the product has tier price set and what to select the product with color and size... can someone give a hint?

    – Vasile Rus
    Apr 2 '18 at 6:44



















do you use any module with eval code. if so contact the module developer

– M.Elwan
Mar 31 '18 at 21:19





do you use any module with eval code. if so contact the module developer

– M.Elwan
Mar 31 '18 at 21:19













The problem with the product seem to be when the product has tier price set and what to select the product with color and size... can someone give a hint?

– Vasile Rus
Apr 2 '18 at 6:44







The problem with the product seem to be when the product has tier price set and what to select the product with color and size... can someone give a hint?

– Vasile Rus
Apr 2 '18 at 6:44












1 Answer
1






active

oldest

votes


















0














I installed a module named "Apptrian_Minify". The error beginning after the enable this module.
For fix, just disabled this module. Everything alright.






share|improve this answer























    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%2f220546%2fmagento-2-uncaught-syntaxerror-invalid-or-unexpected-token%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














    I installed a module named "Apptrian_Minify". The error beginning after the enable this module.
    For fix, just disabled this module. Everything alright.






    share|improve this answer




























      0














      I installed a module named "Apptrian_Minify". The error beginning after the enable this module.
      For fix, just disabled this module. Everything alright.






      share|improve this answer


























        0












        0








        0







        I installed a module named "Apptrian_Minify". The error beginning after the enable this module.
        For fix, just disabled this module. Everything alright.






        share|improve this answer













        I installed a module named "Apptrian_Minify". The error beginning after the enable this module.
        For fix, just disabled this module. Everything alright.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 7 '18 at 13:33









        carlossorattocarlossoratto

        11




        11






























            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%2f220546%2fmagento-2-uncaught-syntaxerror-invalid-or-unexpected-token%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

            迭戈·戈丁...

            A phrase ”follow into" in a context The 2019 Stack Overflow Developer Survey Results Are...

            1960s short story making fun of James Bond-style spy fiction The 2019 Stack Overflow Developer...