Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Bower components aren't installed in FeedHenry #23

@cianclarke

Description

@cianclarke

@lfryc You had more experience with Bower than I, maybe you can look at this?
Because apps in Dynofarm start with node application.js, we can't specify a start script of grunt start, and it seems can't do any work on start. The same issue happens with our LESS stylesheets, but worked around that by including LESS middleware.

Some ideas:

  1. Try an NPM postinstall script which uses node_modules/.bin/grunt (because there's no global Grunt in dynofarm). - I couldn't get this to work, and it also meant moving all of the grunt stuff from being a devDependency to a regular dependency, which kinda sucks.
  2. Move to using NPM for client side package management (TIL: this is preferable anyway)
  3. Just check back in bower_components for now...

Right now, this is a show stopper for phase 1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions