User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This PR reverts build/build-modules-js/compile-es6.js to https://raw.githubusercontent.com/joomla/joomla-cms/0d996e30749bbeee4681b02a5e1be0dd91addb2e/build/build-modules-js/compile-es6.js removing testing changes made in PR #21350
Problem is reproducible at least on Windows.
code review
or install 4.0-dev on this commit from github - see docs
after applying this you must run npm run build:js
no
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository |
Title |
|
I don't know, I am told to run npm install
and I can't login anymore.....
@dgrammatiko There are always issues when I run npm install
:)
This is on a Windows laptop of one of the students:
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN babel-loader@6.4.1 requires a peer of webpack@1 || 2 || ^2.1.0-beta || ^2.2.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@5.0.1 requires a peer of webpack@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN com_media@4.0.0 No repository field.
SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents)
SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} {"os":"win32","arch":"x64"}
On my Mac I get this:
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN babel-loader@6.4.1 requires a peer of webpack@1 || 2 || ^2.1.0-beta || ^2.2.0-rc but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@5.0.1 requires a peer of webpack@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN com_media@4.0.0 No repository field.
audited 8385 packages in 67.258s
found 20 vulnerabilities (10 low, 9 moderate, 1 high)
These messages are ok, on the windows os some packages are not avilable (needed) The peer dependencies are coming from the media manager and are also ok.
The thing with this piece of code is:
npm run build:js
and node build.js --compile-js
node build.js --compile-js
will also accept a specific source folder so someone theretically can compile only the files teir working on, although we have a watch function fo this@dgrammatiko The code may be wrong but if users don't get a login page, we search for solutions :)
@dgrammatiko I have tried to get the issue again but no matter what I try, I always get the login screen this time.
The OS is Windows 10.0.17134.165.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-03 14:41:07 |
Closed_By | ⇒ | wojsmol | |
Labels |
Added:
?
|
@dgrammatiko PR closed
I also cannot login, these are the javascript files that are loaded:
- passwordview.min.js
- validate.min.js
- core.min.js
- keepalive.min.js
- focus-visible.min.js
- joomla-alert.min.js
- punycode.min.js
Should I install this PR and test if it's working afterwards?
@roland-d
@ggppdk no sorry
@dgrammatiko See comment from @bene-we.
@dgrammatiko In my case:
Windows 8.1
LAMP jamp 3.0.8(trial version downloadable from here - 14 days trial)
I'm running Windows 10.0.17134 Build 17134 Pro,
xampp version is 3.2.2
The error ocurred in Chrome and Edge
@dgrammatiko Running npm install
for a second time fixes it. Why?
@dgrammatiko In my case when errors occurred It was reproducible on 2 computers - my and @zwiastunsw.
So we just have to pray every time we do an update of the git repo that this works?
So we just have to pray every time we do an update of the git repo that this works?
Or stop using Windoze
/me hobbles for cover
i had better results running npm in WSL on my Windows 10 box but always one script at a time and NOT all in the one build
Well, I've spotted a couple possible bugs by checking the code. I need to setup a VM and check all these stuff myself. Probably later on (not in a mood to install windows right now)
Running npm install_ again took nearly 10 minutes, but after that the script is loaded and the login screen works as expected.
I recognized this line in the terminal window:
Compiling: C:\xampp\htdocs\joomla-cms\build\media_src\mod_login\js\admin-login.js
This line also appeared with some other *.js
files, and before that there were a huge amount of .js
files listed and it said Processing:
I have tested this item✅ successfully on 0a7b18c
I was unable to login to the admin screen, after applying the changes and run npm install. After NPM was finished, I saw the login screen.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21371.