hitman
(hitman)
1
When I ran NODE_ENV=production bundle exec rake assets:precompile
It gave me an error. It said:
Rake Aborted!
Command failed with status (1): [cd client && npm run build:client…]
Can someone help me with that? I tried so hard but I couldn’t fix it.
Thanks!
kaleem
(https://32hertz.blogspot.com)
2
Make sure you are running the command from application root
try
RAILS_ENV=production NODE_ENV=production bundle exec rake assets:precompile
hitman
(hitman)
3
Hey, I’ve tried that before but it didn’t work.
Thanks for helping tho.
pcblues
(Mark Daniel Osborne)
4
In Ubuntu 16.0.4, I had to put line-breaks in the command.
export NODE_ENV=production
bundle exec rake assets:precompile
From memory, then I just ran the commands:
cd client
npm run build:client