Hey,
I was Update ERPNext v12 to v13. Update complete but when I Select “Switch to Desk” then put me on home page.
bench build
Try this
✔ Built js/moment-bundle.min.js
fs.js:646
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '/home/frappe/frappe-bench/apps/frappe/node_modules/localforage/dist/localforage.min.js'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at input_files.map.file_name (/home/frappe/frappe-bench/apps/frappe/rollup/build.js:129:39)
at Array.map (<anonymous>)
at files_to_concat.forEach.output_file (/home/frappe/frappe-bench/apps/frappe/rollup/build.js:123:36)
at Array.forEach (<anonymous>)
at concatenate_files (/home/frappe/frappe-bench/apps/frappe/rollup/build.js:120:18)
at Object.<anonymous> (/home/frappe/frappe-bench/apps/frappe/rollup/build.js:40:13)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Got this error
yarn update
i was tried this but error Couldn't find a package.json file in "/home/ubuntu"
related npm package issue google it
sure…i trying
Problem Solved…Thanks…NodeJs Version Not updated.