jasonswett / angular-for-rails-developers-issues

Issues found in Angular for Rails Developers book
https://www.angularonrails.com/angular-rails-developers/
5 stars 1 forks source link

Failed to detect set buildpack #1

Open pheezo opened 8 years ago

pheezo commented 8 years ago

I must say its been really turbulent since i started following. Im running windows 8 on macbook pro. Right now i am stuck in page 8 git push heroku master. I get the error : failed to detect set buildpack https://github.com/jasonswett/heroku-buildpack-nodejs.

I feel that i must equally mention what i have experienced before i got here

  1. I had to manually install postgre because i do not have it installed before. Then configured my environment.yml file to use it
  2. ln -s on windows gives access denied so i had to use mklink /d to achieve the same purpose
  3. Since i modified the package.json file, the web browser do not display 'app-works' any longer
  4. Arriving at page 8 to execute git push heroku master gave an error saying no remote repository. Therefore i had to creat a github folder, to follow with the rituals of git init, remote add, commit and git push. Before finally doing git push heroku master
pheezo commented 8 years ago

As an update, its working now. I had to do 'heroku buildpacks:clear' then ran git push heroku master" after which i then re-ran "heroku buildpacks:add https://.......". Although it prompted me to re-run git push heroku master, everything works fine at the moment.

As per my local, angular data is now dispalyed on port 3000 instead of 4200.

praburangki commented 8 years ago

@pheezo Hi there. Did you manage to figure this out? I tried your solution by clearing the buildpacks first, then push to heroku, then add the buildpacks back. But still getting 'failed to detect buildpack'.

jasonswett commented 8 years ago

@praburangki If you want to put up a Stack Overflow question and then post a link here, I can try to help.

praburangki commented 8 years ago

@jasonswett Thank you.

http://stackoverflow.com/questions/39437042/deploying-to-heroku-failed-to-detect-buildpack-nodejs-jasonswett

theresaluu commented 8 years ago

@praburangki did you ever get a solution? I didn't see it on SO.

smeads commented 7 years ago

@jasonswett the above issue is one I'm currently running into. I have scoured Stack Overflow and even came across @praburangki post. I'm not seeing any solution to the problem and wondering if this ever got resolved. If so, I'd love some assistance.

jasonswett commented 7 years ago

@smeads Sorry for the slow response. Is this still an issue for you?

smeads commented 7 years ago

Hi Jason,

I just listened to a couple of episodes of The Ruby Rogues, specifically the ones you were on in October. I enjoyed listening to what you had to say about AngularJs vs. Angular2 and that Ruby isn't dying.

And, yes this is still an issue for me. Unfortunately, I decided put it aside after spending quite some time trying to resolve it.

Also, aside from resources I've already skimmed through, any suggested articles/reads on the differences between Angular 1 and 2?

Thanks, Steve

On Thu, Nov 17, 2016 at 1:56 PM, Jason Swett notifications@github.com wrote:

@smeads https://github.com/smeads Sorry for the slow response. Is this still an issue for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jasonswett/angular-for-rails-developers-issues/issues/1#issuecomment-261382345, or mute the thread https://github.com/notifications/unsubscribe-auth/ARvoQK0t6g_pQe5m8uRaD4dbtvKv2Sf5ks5q_M2RgaJpZM4Jx1Zl .

Steven B. Meads Software Engineering Student at Bloc.io LinkedIn http://www.linkedin.com/in/smeads

jasonswett commented 7 years ago

Hey Steve, I'm really sorry for my slow response. Thanks for the kind words, and I'm glad you found the Ruby Rogues episodes interesting.

I found the book "Switching to Angular 2" kind of good as far as Angular 1 vs. 2 comparison goes. And I haven't read this yet, but it looks promising: https://angular.io/docs/ts/latest/cookbook/a1-a2-quick-reference.html

smeads commented 7 years ago

Hey Jason,

Thanks for the book suggestions. I'll definitely be diving into them to better understand the differences.

Also, a bit of a side note/question. I'm currently trying to implement a Wrapbootstrap Template into a Rails/Anuglar application. It's a bit more difficult than anticipated and I've scoured the internet searching for a decent walk through just to get started. Theres not much there. If you know of any, I'd love some suggestions.

Best, Steve

On Mon, Nov 28, 2016 at 1:13 PM, Jason Swett notifications@github.com wrote:

Hey Steve, I'm really sorry for my slow response. Thanks for the kind words, and I'm glad you found the Ruby Rogues episodes interesting.

I found the book "Switching to Angular 2" kind of good as far as Angular 1 vs. 2 comparison goes. And I haven't read this yet, but it looks promising: https://angular.io/docs/ts/latest/cookbook/a1-a2-quick-reference.html

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jasonswett/angular-for-rails-developers-issues/issues/1#issuecomment-263396107, or mute the thread https://github.com/notifications/unsubscribe-auth/ARvoQPliq9bGlaWTvWeSRBvhCno0kp8fks5rC0QRgaJpZM4Jx1Zl .

--

Steven B. Meads Software Engineering Student at Bloc.io LinkedIn http://www.linkedin.com/in/smeads

jasonswett commented 7 years ago

Hey Steve, sorry, I have no experience at all with WrapBootstrap + Angular. I think if you were to post a Stack Overflow question you'd have better luck there. (I imagine the Rails part is not very relevant to that particular integration.)