Comments (3)
I don't know. I'm not even sure what you're trying to do here. Those commands don't come from this repo. Can you post any other code that might help track this down?
from dokku-bower-grunt-build-plugin.
I found my error. Dokku uses a root account where as heroku uses a randomly generated user account with normal privileges.
I needed to add a .npmrc file with the following:
unsafe-perm = true
What I was trying to do was instead of using a plugin such as dokku-bower-grunt-build-plugin, I wanted to simply use a postinstall script which would work on both heroku and dokku.
I added grunt-cli to my dependencies, moved my devDependencies to regular dependencies, added a postinstall script as thus:
"postinstall": "./node_modules/bower/bin/bower --allow-root install && ./node_modules/grunt-cli/bin/grunt heroku"
I then needed to add a Gemfile with compass and sass-globbing. Use ddollar's heroku-multi-buildpack and add ruby as the first buildpack before node.
I then needed to enable bundleExec within the Grunt compass contrib task.
Quite a bit more overhead but a satisfactory solution in the end.
from dokku-bower-grunt-build-plugin.
I think that's one of the problems with this sort of software. Any mis-matched feature means you differ from the original documentation and end up with new problems!
from dokku-bower-grunt-build-plugin.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokku-bower-grunt-build-plugin.