简体   繁体   中英

Meteor app crashing localhost:3000

I am trying to run boostrap/metetor files. I am getting this error

Your app is crashing. Here's the latest log.

C:\Users\andrew\AppData\Local\.meteor\packages\meteor-tool\1.1.3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:245
                        throw(ex);
                              ^
Error: Bootstrap's JavaScript requires jQuery
    at app\bootstrap-3.3.4-dist\js\bootstrap.js:8:9
    at app\bootstrap-3.3.4-dist\js\bootstrap.js:2319:3
    at C:\Users\andrew\Desktop\teetimesM\teetimesM\.meteor\local\build\programs\server\boot.js:222:10
    at Array.forEach (native)
    at Function._.each._.forEach (C:\Users\andrew\AppData\Local\.meteor\packages\meteor-tool\1.1.3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
    at C:\Users\andrew\Desktop\teetimesM\teetimesM\.meteor\local\build\programs\server\boot.js:117:5
Exited with code: 8
Your application is crashing. Waiting for file change.

I have all jQuery tags included as well as tags to all js files.

>

Where am I missing or how do I correct this?

You don't need to add a jQuery package (it's bundled with meteor), or add any script tags. Remove your script tags, and just enter meteor add twbs:bootstrap at the terminal in your app directory (or use your preferred bootstrap package).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM