J4 Issue ?
avatar stankurd
stankurd
28 Jul 2018

Steps to reproduce the issue

After last update my test site was crashed can,t login and display any page I get white blank page
I try install new test site i I have the same only white blank page can't install joomla

Expected result

Actual result

System information (as much as possible)

Additional comments

avatar stankurd stankurd - open - 28 Jul 2018
avatar joomla-cms-bot joomla-cms-bot - change - 28 Jul 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Jul 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Jul 2018

Please give more Information: "System information (as much as possible)"

avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Jul 2018
Category com_installer
avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Jul 2018
Status New Information Required
avatar stankurd
stankurd - comment - 28 Jul 2018
Windows NT OLA-TOSH 6.1 build 7601 (Windows 7 Home Premium Edition Service Pack 1) AMD64  
mysql  
5.7.9  
utf8_general_ci  
utf8_general_ci  
7.1.9  
Apache/2.4.17 (Win64) PHP/7.1.9  
apache2handler  
Joomla! 4.0.0-alpha5-dev Development [ Amani ] 22-July-2018 22:58 GMT  
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0  
avatar HLeithner
HLeithner - comment - 28 Jul 2018

Do you use the latest git version? Can you tell use the commit id?

If so its possible that you have to run composer und npm

See #21277

avatar stankurd
stankurd - comment - 28 Jul 2018

folder libraries/vendor is empty maybe this is the problem

avatar infograf768
infograf768 - comment - 28 Jul 2018

It certainly is.

avatar TobsBobs
TobsBobs - comment - 28 Jul 2018

What can i do? What script should i run?

avatar Fedik
Fedik - comment - 28 Jul 2018

need to install dependacies: composer install if I right understood (see https://docs.joomla.org/J4.x:Setting_Up_Your_Local_Environment)

but still an errors:
at admin login: Class 'Joomla\Module\Login\Administrator\Helper\LoginHelper' not found
at frontend: Class 'Joomla\Module\Menu\Site\Helper\MenuHelper' not found

avatar HLeithner
HLeithner - comment - 28 Jul 2018

Download composer and npm

Run composer install and i think npm Install.

@rdeutz could give the correct commands?

avatar TobsBobs
TobsBobs - comment - 28 Jul 2018

Ok i test this.

avatar Fedik
Fedik - comment - 28 Jul 2018

okay so if you had previously installed Joomla 4-dev repo, you have to reinstall everything from the beginning:

upd: the frontend error remains Class 'Joomla\Module\Menu\Site\Helper\MenuHelper' not found

avatar Bakual
Bakual - comment - 28 Jul 2018

I got best results using the commands in the build.php file:

joomla-cms/build/build.php

Lines 198 to 199 in e1bcbad

system('composer install --no-dev --no-autoloader --ignore-platform-reqs');
system('npm install --unsafe-perm');

So

  • composer install --no-dev --no-autoloader --ignore-platform-reqs
  • npm install --unsafe-perm

I also found it needs at least Node JS version 8. Version 6 doesn't work.
You don't need to run npm run build commands. Those are already run by the npm install command.
You also don't necessary need to delete the configuration.php file. Onyl when you want to do a fresh installation.

avatar mbabker
mbabker - comment - 28 Jul 2018

I also found it needs at least Node JS version 8. Version 6 doesn't work.

The required Node/NPM versions are also specified in the package.json file after #21219 so it's not like this is buried anywhere either (basically it's NPM 5.6 and the oldest Node LTS, 8.9.4, which comes bundled with that, anything earlier has quirks with the package-lock.json file).

avatar ggppdk
ggppdk - comment - 28 Jul 2018

Tried with fresh git clone

composer install
runs fine

but with
npm install

some packages fail:
jquery-minicolors
LeaVerou/awesomplete
webcomponents/webcomponentsjs/2.0.3

npm http 404 http://registry.npmjs.org/claviska/jquery-minicolors/2.2.6
npm ERR! Error: No dist in undefined package
npm ERR! at next (C:\program files (x86)\nodejs\node_modules\npm\lib\cache.js:746:26)
npm ERR! at C:\program files (x86)\nodejs\node_modules\npm\lib\cache.js:739:5
npm ERR! at saved (C:\program files (x86)\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\get.js:142:7)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\program files (x86)\nodejs\node.exe" "C:\program files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! cwd D:\xampp\htdocs\devel\joomla-cms4
npm ERR! node -v v0.10.13
npm ERR! npm -v 1.3.2

npm http 404 http://registry.npmjs.org/webcomponents/webcomponentsjs/2.0.3

npm ERR! Failed resolving git HEAD (git://github.com/LeaVerou/awesomplete) fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
npm ERR! Failed resolving git HEAD (git://github.com/LeaVerou/awesomplete) Use '--' to separate paths from revisions, like this:
npm ERR! Failed resolving git HEAD (git://github.com/LeaVerou/awesomplete) 'git [...] -- [...]'
npm ERR! Failed resolving git HEAD (git://github.com/LeaVerou/awesomplete)

avatar Bakual
Bakual - comment - 28 Jul 2018

@ggppdk Did you try with npm install --unsafe-perm? I had some strange errors on Linux without that parameter as well.

avatar ggppdk
ggppdk - comment - 28 Jul 2018

yes tried
npm install --unsafe-perm

which did not work,
and i solved it with

npm config set strict-ssl false
npm install 

or

npm config set registry="http://registry.npmjs.org/"
npm install 

then after solving perms issues i get 2 not found errors (404)
npm http 404 http://registry.npmjs.org/claviska/jquery-minicolors/2.2.6
npm http 404 http://registry.npmjs.org/webcomponents/webcomponentsjs/2.0.3

and for 1 more error for
git://github.com/LeaVerou/awesomplete
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.

avatar ggppdk
ggppdk - comment - 28 Jul 2018

OK, i confused V8 JavaScript engine with the version of node JS
which options appeared when using --help

I had old Node.js version
I have updated Node.js to v8.11.3 x64 for windows

and npm install completed without errors

Now i can go through installation of J4 without anything missing ...

avatar brianteeman brianteeman - change - 30 Jul 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 30 Jul 2018
avatar brianteeman
brianteeman - comment - 8 Aug 2018

Closed

avatar brianteeman brianteeman - change - 8 Aug 2018
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2018-08-08 14:17:17
Closed_By brianteeman
avatar brianteeman brianteeman - close - 8 Aug 2018

Add a Comment

Login with GitHub to post a comment