Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

bower_components fails with 404 error #421

Open
BharathNatarajan opened this issue Aug 24, 2017 · 7 comments
Open

bower_components fails with 404 error #421

BharathNatarajan opened this issue Aug 24, 2017 · 7 comments

Comments

@BharathNatarajan
Copy link

Getting following error when running this app in my RHEL 7 instance, I am running this as a root user

[Thu Aug 24 2017 11:38:30 GMT-0400 (EDT)] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"
[Thu Aug 24 2017 11:38:30 GMT-0400 (EDT)] "GET /bower_components/bootstrap/dist/css/bootstrap.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"
[Thu Aug 24 2017 11:38:30 GMT-0400 (EDT)] "GET /bower_components/bootstrap/dist/css/bootstrap.css" Error (404): "Not found"
[Thu Aug 24 2017 11:38:30 GMT-0400 (EDT)] "GET /bower_components/angular/angular.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"
[Thu Aug 24 2017 11:38:30 GMT-0400 (EDT)] "GET /bower_components/angular/angular.js" Error (404): "Not found"

@gkalpak
Copy link
Member

gkalpak commented Aug 24, 2017

It sounds like bower dependencies have not been installed. What is the output of npm install?

@vasindaniil
Copy link

I have the same issue, dependencies are all installed and in the right place

@vasindaniil
Copy link

vasindaniil commented Dec 13, 2017

The only issue that appears is the following:

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]

@gkalpak
Copy link
Member

gkalpak commented Dec 13, 2017

@danikvsn, these warnings are OK. Just ignore them. So, are you saying that everything is installed as expected in /bower_components, but the server return 404? What are the exact errors you get?

@vasindaniil
Copy link

Just a 404 error. I was only able to fix it by throwing bower_components into the app directory

@gkalpak
Copy link
Member

gkalpak commented Dec 13, 2017

If you are using the latest code from this repo, bower_components should already be inside app/:

"directory": "app/bower_components",

@vasindaniil
Copy link

vasindaniil commented Dec 14, 2017

The step tags however haven't been adjusted to reflect that

EDIT: Ignore me, I haven't been copying my dot files over

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants