Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange jQuery requirements #1

Open
forgotten8 opened this issue Mar 25, 2021 · 0 comments
Open

Strange jQuery requirements #1

forgotten8 opened this issue Mar 25, 2021 · 0 comments

Comments

@forgotten8
Copy link

After installing and including meteor/svelte:blaze-integration I kept on getting the error below.

The only way I could resolve this was by adding jQuery to both the NPM and Meteor Package Manager. ie

> meteor add jquery (v3.0.0)
> meteor npm install jquery --save  (v3.6.0)

Without both packages installed - it produced the errors below.

I tested by only installed npm [email protected] [email protected] - nothing helped.

Uncaught Error: jQuery not found
    at module (dombackend.js:8)
    at fileEvaluate (modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:388)
    at Module.require (modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:270)
    at require (modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:310)
    at blaze.js?hash=a20deb597f76789e171a9ee2b2e37d73fbb7ecda:3735
    at blaze.js?hash=a20deb597f76789e171a9ee2b2e37d73fbb7ecda:3754
module @ dombackend.js:8
fileEvaluate @ modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:388
require @ modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:270
require @ modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:310
(anonymous) @ blaze.js?hash=a20deb597f76789e171a9ee2b2e37d73fbb7ecda:3735
(anonymous) @ blaze.js?hash=a20deb597f76789e171a9ee2b2e37d73fbb7ecda:3754
spacebars.js?hash=6f2be25813c793c0b363a6a91ebb029723f294ec:22 

Uncaught TypeError: Cannot read property 'Blaze' of undefined
    at spacebars.js?hash=6f2be25813c793c0b363a6a91ebb029723f294ec:22
    at spacebars.js?hash=6f2be25813c793c0b363a6a91ebb029723f294ec:331
(anonymous) @ spacebars.js?hash=6f2be25813c793c0b363a6a91ebb029723f294ec:22
(anonymous) @ spacebars.js?hash=6f2be25813c793c0b363a6a91ebb029723f294ec:331
templating-runtime.js?hash=9b008466a63cfaa8a7f0a8703fb4a6d8d253fb06:18 

Uncaught TypeError: Cannot read property 'Blaze' of undefined
    at templating-runtime.js?hash=9b008466a63cfaa8a7f0a8703fb4a6d8d253fb06:18
    at templating-runtime.js?hash=9b008466a63cfaa8a7f0a8703fb4a6d8d253fb06:252
(anonymous) @ templating-runtime.js?hash=9b008466a63cfaa8a7f0a8703fb4a6d8d253fb06:18
(anonymous) @ templating-runtime.js?hash=9b008466a63cfaa8a7f0a8703fb4a6d8d253fb06:252
templating.js?hash=bdb2d25c8c2ecf9a55d420f7d84e264af6b08e3d:14 

Uncaught TypeError: Cannot read property 'Template' of undefined
    at templating.js?hash=bdb2d25c8c2ecf9a55d420f7d84e264af6b08e3d:14
    at templating.js?hash=bdb2d25c8c2ecf9a55d420f7d84e264af6b08e3d:23
(anonymous) @ templating.js?hash=bdb2d25c8c2ecf9a55d420f7d84e264af6b08e3d:14
(anonymous) @ templating.js?hash=bdb2d25c8c2ecf9a55d420f7d84e264af6b08e3d:23
accounts-ui-unstyled.js?hash=f8ec028a0836ba06d7817f9bc71f5927b6c79612:21 

Uncaught TypeError: Cannot read property 'Template' of undefined
    at accounts-ui-unstyled.js?hash=f8ec028a0836ba06d7817f9bc71f5927b6c79612:21
    at accounts-ui-unstyled.js?hash=f8ec028a0836ba06d7817f9bc71f5927b6c79612:1989
(anonymous) @ accounts-ui-unstyled.js?hash=f8ec028a0836ba06d7817f9bc71f5927b6c79612:21
(anonymous) @ accounts-ui-unstyled.js?hash=f8ec028a0836ba06d7817f9bc71f5927b6c79612:1989
svelte_blaze-integration.js?hash=d391558118b59f1c1667f08fefda03b1dd5922a5:17 

Uncaught TypeError: Cannot read property 'Blaze' of undefined
    at svelte_blaze-integration.js?hash=d391558118b59f1c1667f08fefda03b1dd5922a5:17
    at svelte_blaze-integration.js?hash=d391558118b59f1c1667f08fefda03b1dd5922a5:330
(anonymous) @ svelte_blaze-integration.js?hash=d391558118b59f1c1667f08fefda03b1dd5922a5:17
(anonymous) @ svelte_blaze-integration.js?hash=d391558118b59f1c1667f08fefda03b1dd5922a5:330
modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:234 

Uncaught Error: Cannot find module 'meteor/svelte:blaze-integration'
    at makeMissingError (modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:234)
    at Module.resolve (modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:249)
    at Module.moduleLink [as link] (modules.js?hash=e15f20f9497a664398ebf20d39c5dff5c5884164:327)
    at module (app.js?hash=057a5ef895c9e7d194df12eb44d5ce8dfef71c42:122)
    at fileEvaluate (modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:388)
    at Module.require (modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:270)
    at Module.moduleLink [as link] (modules.js?hash=e15f20f9497a664398ebf20d39c5dff5c5884164:334)
    at module (main.js:1)
    at fileEvaluate (modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:388)
    at Module.require (modules-runtime-hot.js?hash=d12281259a6cee99786429a66f76b05f13449c7f:270)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant