Content
You are here:
No CSS Style after installing production
Added by OOzy Pal about 9 years ago
Hello,
I was able to install OP on Ubuntu 14.04 Digital Ocean. Everything went of except that there is not design or css.
When I type
RAILS_ENV="production" bundle exec rake assets:precompile
I get this error
require 'rails/all'... 0.970s Bundler.require... 3.650s $(npm bin)/webpack --config webpack.config.js sh: 1: /home/sw092d/public_html/frontend/node_modules/.bin/webpack: not found rake aborted! Command failed with status (127): [$(npm bin)/webpack --config webpack.config...] /home/sw092d/public_html/lib/tasks/assets.rake:48:in `block (3 levels) in <top (required)>' /home/sw092d/public_html/lib/tasks/assets.rake:47:in `chdir' /home/sw092d/public_html/lib/tasks/assets.rake:47:in `block (2 levels) in <top (required)>' Tasks: TOP => assets:precompile => assets:compile_environment => assets:webpack (See full trace by running task with --trace)
and when I do
find -name 'webpack' ./frontend/node_modules/webpack
Can you please help me?
Thx
Replies (1)
Hi,
I deleted everything and I used the packager and things are fine now.
Thx