close

[Solved] Firefox and Chrome error when linking js-cookie: Uncaught ReferenceError: module is not defined

Hello Guys, How are you all? Hope You all Are Fine. Today I face Firefox and Chrome error when linking js-cookie: Uncaught ReferenceError: module is not defined in JavaScript. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Firefox and Chrome error when linking js-cookie: Uncaught ReferenceError: module is not defined Error Occurs ?

Error in the console log: “Uncaught ReferenceError: module is not defined”
When I am using js.cookie.min.js

How To Solve Firefox and Chrome error when linking js-cookie: Uncaught ReferenceError: module is not defined Error ?

  1. How To Solve Firefox and Chrome error when linking js-cookie: Uncaught ReferenceError: module is not defined Error ?

    To Solve Firefox and Chrome error when linking js-cookie: Uncaught ReferenceError: module is not defined Error Elte156 said that to use this earlier version for now, until the breaking change resolves. this workaround works for me.

  2. Firefox and Chrome error when linking js-cookie: Uncaught ReferenceError: module is not defined

    To Solve Firefox and Chrome error when linking js-cookie: Uncaught ReferenceError: module is not defined Error Elte156 said that to use this earlier version for now, until the breaking change resolves. this workaround works for me.

Solution 1

Elte156 said that to use this earlier version for now, until the breaking change resolves. this workaround works for me.

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"></script>

Solution 2

If you use this URL, everything should keep working: https://cdn.jsdelivr.net/npm/[email protected]

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also Read

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment