【読者限定】テックキャンプの割引情報はこちら

Precompiling assets failed. というエラーが発生した話

こんにちは、あおい(@aoi_programmer)です。

今日はherokuでアプケーションをgit push heroku masterしようとしたらエラーが出た話と解決策を話します

! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/アプリ名

みたいなエラーが出て、その上のログを遡ると

remote:  !
remote:  !     Precompiling assets failed.
remote:  !

こんなのが出てた、なんやねんこれ笑

最初はremote rejectedの方を検索したり、解決しようと思って頑張ってたけど、全然うまくいかなかった。

だからもっとログを遡ろうと思い、遡ると、

ERROR in ./app/javascript/memo.js
remote:        Module build failed (from ./node_modules/babel-loader/lib/index.js):
remote:        SyntaxError: /tmp/build_ea84cd07/app/javascript/memo.js: Unexpected token, expected ";" (1:9)

みたいなエラー文があった。
これやんけ!と思い、すぐにVSCodeを開いたら、ちゃんと間違った記述がされていて、光の速度で修正しました。

んで、またgit push heroku masterを実行したら、また同じエラー。

どういうこと?

と思いつつも試行錯誤してたら、ふと気がつきます。

「あ、GitHub Desktopでcommitするの忘れてた」

これです!これが原因でした!

すぐにGitHub Desktopにてgit commitして、
再びgit push heroku masterを実行するとうまくできました。

意外と初歩的なミスをしがちなあおい(@aoi_programmer)でした。

現場からは以上でーす

19,231 COMMENTS

teutorrent

Excellent site you have here but I was wondering if you knew of any forums
that cover the same topics talked about here?
I’d really like to be a part of online community where I can get advice from other
knowledgeable people that share the same interest.
If you have any recommendations, please let me know.

Thanks!

返信する
pts terbaik sumatera

Have you ever considered about adding a little bit more than just your articles?
I mean, what you say is valuable and all. However
imagine if you added some great pictures or video
clips to give your posts more, “pop”! Your content is excellent but with images and video clips,
this blog could definitely be one of the most beneficial in its field.

Amazing blog!

返信する
xmovies8

Howdy would you mind letting me know which hosting company you’re using?

I’ve loaded your blog in 3 completely different internet browsers and I must say this blog loads a lot quicker then most.
Can you recommend a good internet hosting provider at a reasonable price?

Thanks, I appreciate it!

返信する
sửa điều hòa

Attractive section of content. I just stumbled upon your website and in accession capital
to assert that I get in fact enjoyed account your blog posts.
Any way I’ll be subscribing to your feeds and even I achievement you access consistently fast.

返信する
cute kawaii clothing stores

Hello There. I found your blog using msn. That is an extremely smartly
written article. I will make sure to bookmark it and return to learn extra
of your helpful information. Thank you for the post.

I’ll definitely comeback.

返信する
kawaii clothing shop

Generally I do not learn post on blogs, however I would like to say that this write-up very pressured me
to check out and do so! Your writing style has been surprised me.

Thanks, quite great post.

返信する
강남홀덤 홀덤펍 강남홀덤바 텍사스홀덤

Greetings I am so happy I found your web site, I really found you by error, while I was searching on Bing for something else, Anyhow I am here now and would just like to say thank you
for a marvelous post and a all round entertaining blog (I also love the theme/design), I don’t
have time to read through it all at the moment but I have book-marked it and also included your RSS feeds,
so when I have time I will be back to read much more, Please do keep up the excellent work.

返信する
online pharmacy no perscription viagra

Like sildenafil, Cialis can be bought underneath its generic title (tadalafil) for
a fraction of the worth. A generic drug comes into
existence when the patent for the model name drug expires.
However, there are few differences that make them look totally
different from each other and that can be mentioned by the help of the instance of Generic Tadalafil drug and its brand identify counterpart.
Irrespective of how much progress science makes, there are few
issues that can not be changed-one such is the thoughts
and views people have concerning impotency in men. Experiencing ED for just a few days
shouldn’t be as dramatic as ending up within the emergency room with a extreme
withdrawal impact. Impotence is a critical and a never ending discussion matter at several
societal meets or gatherings. The simple proven fact that the question alone was
a taboo for up ‘until late 1990’s and no-one was prepared to debate such issues even with
their docs is a transparent sign of how delicate the subject is basically.
There could also be different makes use of licensed by the FDA or doctors may be prescribing it for off-label functions.
There are lots of issues with reference to and forward of correlation or private group which might be improved by period by period however all you need is, little
vigilance and updation’s on I beg your pardon?

返信する
sakarya escort bayan

You really make it appear so easy together with your presentation but I to find this
topic to be actually something which I think I’d by no means understand.
It kind of feels too complicated and very large for me.
I am having a look ahead on your next submit, I’ll attempt to get the grasp of it!

返信する
kocaeli bayan escort

Admiring the hard work you put into your website and detailed information you provide.
It’s nice to come across a blog every once in a while that isn’t
the same unwanted rehashed material. Great read! I’ve bookmarked your site and
I’m including your RSS feeds to my Google account.

返信する
escort diyarbakir

Wow that was unusual. I just wrote an very long comment but after I clicked submit my comment didn’t show up.
Grrrr… well I’m not writing all that over again. Anyway, just wanted to say superb blog!

返信する
izmit bayan escort

you’re in reality a excellent webmaster. The website loading pace is
incredible. It kind of feels that you are doing any distinctive trick.
Furthermore, The contents are masterwork.
you have done a fantastic task on this topic!

返信する
bayan escort

It’s actually a nice and useful piece of information. I am satisfied that
you just shared this useful information with us. Please keep us up to date like this.

Thanks for sharing.

返信する
edirne bayan escort

fantastic submit, very informative. I wonder why the opposite experts of this
sector do not notice this. You must proceed your writing.

I am confident, you have a huge readers’ base
already!

返信する
yalova escort bayan

What you wrote was actually very logical. But, think
about this, suppose you added a little information? I mean, I
don’t want to tell you how to run your website, however suppose you added a post title
that grabbed folk’s attention? I mean Precompiling assets failed.
というエラーが発生した話 | AOI TECH BLOG is a little
plain. You might peek at Yahoo’s front page and see how they create article titles
to grab people to open the links. You might try adding a video or a related picture or two
to get people interested about what you’ve got to say.

Just my opinion, it would make your blog a little bit more interesting.

返信する
karabuk escort

First of all I would like to say awesome blog!
I had a quick question in which I’d like to ask if you don’t mind.
I was interested to find out how you center yourself and clear your mind prior to writing.

I have had a tough time clearing my thoughts in getting
my thoughts out there. I truly do enjoy writing however it just seems like the first 10 to 15 minutes are lost simply just trying to figure
out how to begin. Any ideas or hints? Kudos!

返信する
Elaine

It’s really a nice and useful piece of information. I’m happy that you just
shared this helpful information with us. Please keep us
up to date like this. Thanks for sharing.

Here is my homepage :: Elaine

返信する
cannabis near me

I have been browsing online more than three hours
today, yet I never found any interesting article like yours.

It’s pretty worth enough for me. In my opinion, if
all webmasters and bloggers made good content as you did, the net will
be a lot more useful than ever before.

my blog – cannabis near me

返信する
Jerrod

Hello there! This is kind of off topic but I need some help from an established blog.
Is it very difficult to set up your own blog? I’m not very techincal
but I can figure things out pretty fast. I’m thinking about making
my own but I’m not sure where to begin. Do you have any points or suggestions?

Appreciate it

Feel free to surf to my blog :: Jerrod

返信する
cannabis

Good day! This is my first comment here so I just wanted to give a quick shout out and tell you
I really enjoy reading your blog posts. Can you suggest any other
blogs/websites/forums that deal with the same topics? Appreciate it!

Feel free to surf to my site … cannabis

返信する
rugs

You need to be a part of a contest for one of the most useful sites on the internet.
I’m going to recommend this blog!

返信する
madewell bankruptcy

I think this is one of the most significant
info for me. And i’m glad reading your article. But should remark on some general things, The site style is great, the articles is really
great : D. Good job, cheers

返信する
near me

What’s up mates, how is the whole thing, and what you would like to say
concerning this paragraph, in my view its in fact amazing in support of me.

返信する
fivem mlo

Simply want to say your article is as astonishing. The clearness on your submit is just spectacular and that
i can think you’re a professional in this subject.
Well with your permission let me to take hold of your feed to stay updated with approaching post.
Thanks 1,000,000 and please carry on the rewarding work.

返信する
blog

Wow, superb blog format! How long have you ever been running a
blog for? you made blogging glance easy. The full look of your
website is magnificent, as smartly as the content material!

返信する
Winford Luckadoo

I’m in high school and starting next year I will have to start looking at colleges. I know I want to find a college just for creative writing. I love writing stories of all sorts, and I know of a couple colleges that specialize in creative writing. But where would you recommend? Remember, I’m talking about creative writing, not journalism. Any suggestions?.

返信する
bayan escort

Every weekend i used to go to see this website, for the
reason that i want enjoyment, since this this website conations truly fastidious funny information too.

返信する
tech news

Its like you read my mind! You seem to grasp so much about this,
such as you wrote the e book in it or something.
I believe that you could do with a few % to pressure
the message house a little bit, but instead of that,
this is magnificent blog. A great read. I
will definitely be back.

返信する
popcent

Hey there! Do you know if they make any plugins to help with SEO?
I’m trying to get my blog to rank for some targeted
keywords but I’m not seeing very good results. If you know of any please share.
Thank you!

返信する
child porn

lifnur Cami Halıları olarak, en son teknolojiyi kullanarak hazırladığımız cami halıları ile müşterilerimizin taleplerini en kısa süre içerisinde karşılamayı temel ilke olarak benimseyip kalitemizden ve görsel çeşitliliğimizden ödün vermeden cami halısı üretimlerimize her geçen gün büyüyerek devam ediyoruz.

返信する
https://www.dowozimy.pl/pizza/Tarnow

hello there and thank you for your info – I have certainly picked
up something new from right here. I did however expertise a
few technical issues using this site, since I experienced to reload the site lots of times
previous to I could get it to load correctly. I had been wondering if your hosting is OK?
Not that I am complaining, but sluggish loading instances times will often affect your placement in google and could
damage your high-quality score if advertising and marketing
with Adwords. Anyway I am adding this RSS to my email and can look out for much more of your respective intriguing content.

Make sure you update this again soon.

返信する
child porn

Cami Halıları size özel ölçü ve desenlerle hizmetinizde. Ürünü talep ederken boyutunu ve istediğiniz kaliteye karar vermeniz yeterli olacaktır. İhtiyaç duyduğunuz her özelliğe uygun olan bir halıya erişmek, aradığınız kaliteli çözümlere ulaşabilmek için Elifnur Cami Halıları.

返信する
trio

What’s up every one, here every one is sharing such
know-how, thus it’s nice to read this webpage, and I used to visit this web site daily.

返信する
sale bankietowe www.sale-weselne.pl

Hello there, just became alert to your blog through Google, and found that it’s
truly informative. I am gonna watch out for brussels.
I will be grateful if you continue this in future.
Lots of people will be benefited from your writing.

Cheers!

返信する
child porn

Yün cami halıları ayak ve diz kısımlarının uyguladığı baskılara dayanıklıdır. Herhangi bir görüntü bozukluğu yaşanmaz. Yün Cami Halı desenleri tarihi camilerin dokusu ve motiflerine uygun olarak özel olarak tasarlanıp. 0 Yerli Üretimdir.

返信する
div2000.com

Thank you for some other informative web site. The place else may just I am getting that kind of info written in such a perfect approach?
I have a mission that I’m just now running on, and I have been at the look out for such
info.

返信する
halıda porn

Hey there! I could have sworn I’ve been to this website before but after browsing through some of the post I realized it’s new
to me. Anyways, I’m definitely glad I found it and I’ll be bookmarking
and checking back often!

返信する