I have done the production installation on my local host & the install finish with no error, after install the page opened plank just home button on the left & the login button on the right & login button didn’t give any responding.
I try many browser & clear cache & history, the same problem still found.
chrome console show this error when i push the login
“GET http://------------/assets/css/frappe-web.css
login:380 GET http://------------/assetse/js/erpnext-web.min.js
login:377 GET http://------------/assets/js/frappe-web.min.js
login:377 GET http://------------/assets/js/frappe-web.min.js
login:380 GET http://------------/assets/js/erpnext-web.min.js 404 (Not Found)
login:572 Uncaught ReferenceError: __ is not defined
at login:572
at login:577
(anonymous) @ login:572
(anonymous) @ login:577”
@sagar
I got this replay
"administrator@ERP-Server:/home/frappe/frappe-bench$ bench build
module.js:471
throw err;
^
Error: Cannot find module ‘babel-core’
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/frappe/frappe-bench/apps/frappe/frappe/build.js:3:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions…js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
administrator@ERP-Server:/home/frappe/frappe-bench$ bench migrate & bench clear-cache
[1] 20497
Migrating site1.local
Updating DocTypes for frappe : [========================================]
Updating DocTypes for erpnext : [========================================]
Syncing help database…
"
npm WARN enoent ENOENT: no such file or directory, open ‘/home/frappe/frappe-bench/package.json’
npm WARN frappe-bench No description
npm WARN frappe-bench No repository field.
npm WARN frappe-bench No README data
npm WARN frappe-bench No license field.
administrator@ERP-Server:/home/frappe/frappe-bench$
the first command run with no error , but the second got this error
"administrator@ERP-Server:/home/frappe/frappe-bench$ bench build
module.js:471
throw err;
^
Error: Cannot find module ‘less’
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/frappe/frappe-bench/apps/frappe/frappe/build.js:4:14)
at Module._compile (module.js:570:32)
at Object.Module._extensions…js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
"
I got this massage in the chrome console when i press on login button:
“GET http://----------------/assets/css/frappe-web.css
login:377 GET http://---------------/assets/js/frappe-web.min.js
login:380 GET http://----------------/assets/js/erpnext-web.min.js
login:377 GET http://--------------------/assets/js/frappe-web.min.js
login:380 GET http://--------------------/assets/js/erpnext-web.min.js 404 (Not Found)
login:572 Uncaught ReferenceError: __ is not defined
at login:572
at login:577
(anonymous) @ login:572
(anonymous) @ login:577”
@Mohamed.Soliman I also got the same error (no login screen) when I made a fresh installation. Apparently some dependancies were not included in that build and hence it broke. I managed to install babel dependancies and but also had to replace missing files (you can check them in browser console). You may have to wait for it to be rectified in the next build.