Skip to content

Chapter-2/listing-2.13-and-2.14 #1

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

Closed
tiborh opened this issue Jan 15, 2021 · 1 comment
Closed

Chapter-2/listing-2.13-and-2.14 #1

tiborh opened this issue Jan 15, 2021 · 1 comment

Comments

@tiborh
Copy link

tiborh commented Jan 15, 2021

The resource from “http://localhost:3000/bower_components/jquery/dist/jquery.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
localhost:3000
Loading failed for the <script> with source “http://localhost:3000/bower_components/jquery/dist/jquery.js”. localhost:3000:7:1
Uncaught ReferenceError: $ is not defined
http://localhost:3000/:9
localhost:3000:9:13

@tiborh
Copy link
Author

tiborh commented Jan 15, 2021

root cause: bower was not found.

This one was missing:
sudo npm install -g bower

after that the following was successful:
public$ bower install

and then the rest worked.

@tiborh tiborh closed this as completed Jan 15, 2021
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