Code Monkey home page Code Monkey logo

dokku-bower-grunt-build-plugin's People

Contributors

jeresig avatar knksmith57 avatar thrashr888 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dokku-bower-grunt-build-plugin's Issues

npm post-install script?

Do you know anything more about why doing bower install and grunt heroku in a post-install script works on heroku but not on dokku?

I believe it has to do with the fact that dokku runs the app as root but I'm not entirely sure

npm WARN cannot run in wd [email protected] ./node_modules/bower/bin/bower --allow-root install && ./node_modules/grunt-cli/bin/grunt heroku (wd=/build/app)

Error finding npm path

Using your command:

find / -name npm | tail -1 | xargs -I % sh -c "dirname %"

you find the path: /app/.heroku/node/lib/node_modules/npm/bin/, instead of /app/.heroku/node/bin/

you should change to:

find / -name npm | head -1 | xargs -I % sh -c "dirname %"

raise error when push to a dokku server

I'm using Rails 4 and rails-bower to manage js file.
I do clone the plugin and install it on dokku server

~# dokku plugins
/var/lib/dokku/plugins/dokku-bower-grunt-build/

and have a .env file contain export url
And how to deploy my rails app by using your buildpack?
I meet an error when pushing to server

 ! [remote rejected] dokku -> master (pre-receive hook declined)

plugin not running

I don't see anything output in the logs from this plugin but when I run dokku plugins list I see the plugin listed. Any idea on how I can troubleshoot this? I'm a dokku noob so I'm not really sure where to start.

Thanks

npm command not found?

I feel like i have to be missing something obvious here, but I've been trying to get this plugin to work for a while now. I don't know where the command winds up getting run from, but it would appear like something is not working, because in the build I initially got:

-----> Building Node app ...
remote: /bin/bash: line 1: server/prepare_dist: No such file or directory

then after removing that line from the plugin i get

remote: /bin/bash: line 1: npm: command not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.