Error after version 8 upgrade

i found this error after version 8 upgrade
Failed to load resource: the server responded with a status of 500 (Internal Server Error)

desk.min.js:12 localStorage cleared
desk.min.js:9 Cleared App Cache.
desk.min.js:12 localStorage cleared
:6787/socket.io/?EIO=3&transport=polling&t=1494764915088-0 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494764923453-4 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494764938395-5 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494764948331-6 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494764964501-7 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
form.min.js:252 Uncaught TypeError: Cannot read property ‘docs’ of null
at Object.always (form.min.js:252)
at Object. (desk.min.js:132)
at i (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
form.min.js:252 Uncaught TypeError: Cannot read property ‘docs’ of null
at Object.always (form.min.js:252)
at Object. (desk.min.js:132)
at i (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
:6787/socket.io/?EIO=3&transport=polling&t=1494764974423-8 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494764990694-9 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765000527-10 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765017003-11 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765027319-12 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765044591-13 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
desk#Form/Payment Entry/PE-00030:1 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
:6787/socket.io/?EIO=3&transport=polling&t=1494765053346-14 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
form.min.js:252 Uncaught TypeError: Cannot read property ‘docs’ of null
at Object.always (form.min.js:252)
at Object. (desk.min.js:132)
at i (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
:6787/socket.io/?EIO=3&transport=polling&t=1494765070768-15 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765079388-16 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765096805-17 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765105477-18 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765122874-19 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765131518-20 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765148991-21 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765157582-22 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765175046-23 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765183644-24 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765201069-25 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765209685-26 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765227152-27 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765235786-28 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765253187-29 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765262200-30 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765279298-31 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765288294-32 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765305335-33 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765314385-34 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765331384-35 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765340440-36 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765357436-37 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765366523-38 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765383481-39 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765392591-40 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765409538-41 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765418617-42 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765435606-43 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765444815-44 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765461651-45 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
form.min.js:252 Uncaught TypeError: Cannot read property ‘docs’ of null
at Object.always (form.min.js:252)
at Object. (desk.min.js:132)
at i (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
:6787/socket.io/?EIO=3&transport=polling&t=1494765470851-46 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765487691-47 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765496883-48 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765513744-49 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765522938-50 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765539801-51 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765548987-52 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765565844-53 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765575045-54 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765591903-55 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765601072-56 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765617985-57 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765627145-58 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
desk#Form/Payment Entry/PE-00031:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Object.frappe.request.report_error (desk.min.js:144)
at 500 (desk.min.js:127)
at Object. (desk.min.js:132)
at i (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
:6787/socket.io/?EIO=3&transport=polling&t=1494765644130-59 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
desk#Form/Payment Entry/PE-00031:1 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
:6787/socket.io/?EIO=3&transport=polling&t=1494765653235-60 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765670358-61 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765679363-62 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765696445-63 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765705418-64 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765722582-65 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765731509-66 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765748634-67 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765757604-68 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765774637-69 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765783690-70 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765800655-71 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765809696-72 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765826655-73 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765835699-74 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765852719-75 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765861699-76 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765878717-77 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765887705-78 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765904725-79 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765913709-80 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765930785-81 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765939787-82 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765956799-83 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765965859-84 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765982808-85 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494765991864-86 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494766009003-87 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
:6787/socket.io/?EIO=3&transport=polling&t=1494766017968-

@Hanigameel888,

can you help us with the steps to recreate the issue ?

Hi @Hanigameel888,
We are testing the new build system in the framework. This new build system will be soon merged into the framework. Till then you can use --beta version.
To use the new build system, edit your Procfile and modify the watch command:
watch: bench watch --beta
Then stop and start bench