Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8909381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:24:56+00:00 2026-06-15T03:24:56+00:00

I am trying to require jQuery as a dependency but I only get an

  • 0

I am trying to require jQuery as a dependency but I only get an error when I try to do so. I know 1.6.2 is old but I need it to not break some other code. It worked when I used 1.8.2 but I had to shift back to an older version.

Uncaught TypeError: undefined is not a function app.js:46

(anonymous function) main.js:46 context.execCb require.min.js:1603 Module.check
require.min.js:845 (anonymous function) require.min.js:1087
(anonymous function) require.min.js:130 (anonymous function)
require.min.js:1130 each require.min.js:58 Module.emit
require.min.js:1129 Module.check require.min.js:899 (anonymous
function) require.min.js:1087 (anonymous function)
require.min.js:130 (anonymous function) require.min.js:1130 each
require.min.js:58 Module.emit require.min.js:1129 Module.check
require.min.js:899 Module.enable require.min.js:1117 Module.init
require.min.js:758 callGetModule require.min.js:1144
context.completeLoad require.min.js:1517 context.onScriptLoad
require.min.js:1624

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:24:57+00:00Added an answer on June 15, 2026 at 3:24 am

    Without any exemple code, how you are booting up your things and all it is very hard to help. I will give you a general answer and hope it helps you out, or keep you busy while waiting for other answers. 🙂 Best of luck.

    From http://www.bennadel.com/blog/2287-Using-jQuery-As-A-Named-Module-In-RequireJS.htm

    <!DOCTYPE html>
    <html>
    <head>
    <title>Loading jQuery As A Named Module In RequireJS</title>
    
    <!-- Include the require JS library. -->
    <script type="text/javascript" src="./require.js"></script>
    <script type="text/javascript">
    
    
    // Configure the RequireJS paths to use an alias for the
    // jQuery library.
    require.config({
    paths: {
    "jquery": "./jquery-1.6.4"
    }
    });
    
    
    // Now that we have configured a named alias for the jQuery
    // library, let's try to load it using the named module.
    require(
    [
    "jquery"
    ],
    function( $164 ){
    
    // Log the callback parameter.
    console.log( "$164.fn.jquery:", $164.fn.jquery );
    
    }
    );
    
    
    </script>
    </head>
    <body>
    <!-- Left intentionally blank. -->
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not sure if this will require Jquery, but what I'm trying to achieve
I'm trying to add jQuery using Greasemonkey's @require / @include method, but it doesn't
I am trying out require.js and only include on js file at my main
I'm trying to get require.js to load modules on the server-side with Java 6
require('fortunes') fortune('106') Personally I have never regretted trying not to underestimate my own future
I am trying to contribute to the opensource project jquery-datatables-rails. But it puzzles me
I have just begun to work with the jquery validate plugin but have not
I've been trying to get the jDigiClock jQuery plugin to work without having to
I am trying to use a jquery plugin that requires the href to be
I'm trying to require the user to enter data in at least one of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.