Getting error on BENCH BUILD:
Built js/moment-bundle.min.js
internal/fs/utils.js:312
throw err;
^
Error: ENOENT: no such file or directory, open ‘/home/frappe/frappe-bench/apps/frappe/node_modules/localforage/dist/localforage.min.js’
at Object.openSync (fs.js:498:3)
at Object.readFileSync (fs.js:394:35)
at /home/frappe/frappe-bench/apps/frappe/rollup/build.js:129:39
at Array.map ()
at /home/frappe/frappe-bench/apps/frappe/rollup/build.js:123:36
at Array.forEach ()
at concatenate_files (/home/frappe/frappe-bench/apps/frappe/rollup/build.js:120:18)
at Object. (/home/frappe/frappe-bench/apps/frappe/rollup/build.js:40:13)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,
syscall: ‘open’,
code: ‘ENOENT’,
path: ‘/home/frappe/frappe-bench/apps/frappe/node_modules/localforage/dist/localforage.min.js’
}
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.
frappe@VINOPROD01:~/frappe-bench$ bench --help
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 6, in
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named ‘pkg_resources’
frappe@VINOPROD01:~/frappe-bench$ bench update --patch
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 6, in
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named ‘pkg_resources’
frappe@VINOPROD01:~/frappe-bench$ bench build
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 6, in
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named ‘pkg_resources’
I have error with auto create asset function(Home > Assets > Assets > Asset). When I choose default Naming Series and click save I receive following error:
“erpnext Asset Naming Series cannot be ACC-ASS-.YYYY.- It should be one of , dfs”
/frappe/website/context.py:55: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
I was going to link to an article that showed how to properly and cleanly upgrade from v12 to v13 but lost the freaking link. I had copied the script he did and I really wanted to give him all the credit so for anyone that is familiar with the following please show the original link.