Bootstrap's JavaScript requires jQuery


#1

Hi,

Ever since moving over to the latest version of meteor I get this issue, my app was running perfectly on v1.3

Any idea how I can fix this ^

C:\Users\test01\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
						throw(ex);

Error: Bootstrap's JavaScript requires jQuery
    at meteorInstall.js.bootstrap.js (js/bootstrap.js:8:9)
    at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
    at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
    at C:\dev\test\.meteor\local\build\programs\server\app\app.js:8923:1
    at C:\dev\test\.meteor\local\build\programs\server\boot.js:292:10
    at Array.forEach (native)
    at Function._.each._.forEach (C:\Users\jacqu\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
    at C:\dev\test\.meteor\local\build\programs\server\boot.js:128:5
Exited with code: 1
Your application is crashing. Waiting for file change.

#2

Have you done meteor add jquery?


#3

Hi there, thank you for getting back to me.

Yes, I did try that but unfortunately it did not do the trick


#4

try using twbs:bootstrap as your bootstrap package.


#5

hi, yes I did try that too but sadly it didnt make a difference

here is a list of my packages

meteor-base@1.0.4             # Packages every Meteor app needs to have
mobile-experience@1.0.4       # Packages for a great mobile UX
mongo@1.1.12                   # The database Meteor supports right now
blaze-html-templates@1.0.4    # Compile .html files into Meteor Blaze views
reactive-var@1.0.10            # Reactive variable for tracker
jquery                  # Helpful client-side library
tracker@1.1.0                 # Meteor's client-side reactive programming library

standard-minifier-css@1.2.0   # CSS minifier run for production mode
standard-minifier-js@1.2.0    # JS minifier run for production mode
es5-shim@4.6.14                # ECMAScript 5 compatibility for older browsers.
ecmascript@0.5.8              # Enable ECMAScript2015+ syntax in app code
shell-server@0.2.1            # Server-side component of the `meteor shell` command

autopublish@1.0.7             # Publish all data to the clients (for prototyping)
insecure@1.0.7                # Allow all DB writes from clients (for prototyping)
twbs:bootstrap

#6

Have you checked out @hwillson’s replies in this thread? Some of those may be relevant.