Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

error in production.js

$
0
0
Hi,
After using steal.build i get a production.js and production.css. But when running the code using these production files i am getting the following error:

 JavaScript runtime error: Unable to get property 'extend' of undefined or null reference.

During inital load the code goes here:

steal('can/util/jquery', function(can) {
return can;
});

and in here it says can is undefined.Looks like its not able to steal jquery dependency.
I am not sure why it would not work, everything works properly in regular files and build process gave no errors. any help would be appreciated.

Thanks
Rohit Yadav

Viewing all articles
Browse latest Browse all 3491

Trending Articles