npm install
in the CMS directory.composer install
in the CMS directory.CMS should be accessible through web browser.
CMS is not accessible rather this issue is being showed.
OS : Ubuntu 18.04.1 LTS
I have tried this command too but the result remains the same
alias jinstall="rm -rf administrator/templates/atum/css; rm -rf templates/cassiopeia/css; rm -rf media/; rm -rf node_modules/; rm -rf libraries/vendor/; composer install; npm install; git checkout -- libraries/vendor/.htaccess"
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-10-15 08:22:19 |
Closed_By | ⇒ | brianteeman |
As per the instructions it is git, composer and then npm. If you still have problems then look in your error log and post back
You need to check and fix your system permissions. Generally, you should not be using sudo
with npm
.
Just a blind guess, but what is probably happening is the various tasks that are executed with an npm install
on the repo are failing because those are NOT being executed with sudo
and it is failing since those are trying to be run as your own user yet the node_modules
directory is owned by root.
I already had this problem. I just ran npm again and then it worked.