Update problem - yarn install in VM virtual image

I installed YARN:

sudo npm install --global yarn

frappe@erpnext:~/frappe-bench$ yarn --version
1.3.2
frappe@erpnext:~/frappe-bench$

but

the above problem existing

may be in the update script the operation should be changed?

INFO:bench.utils:npm install yarn
to
sudo npm install --global yarn

Hi @krnkris,

this might sound silly, but the above error -13 indicates an access permission issue on ‘/home/frappe/frappe-bench/apps/frappe/node_modules/.bin/yarn’. Can you make sure that all files below frappe-bench are owned by frappe (or you run the command with elevated rights)?

$ cd /home/frappe/frappe-bench
$ sudo chown -R frappe:frappe *

@lasalesi

The right are all right!

Only able to run the
bench update --reset

frappe@erpnext:~/frappe-bench$ bench update --reset
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)
INFO:bench.app:pulling frappe
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 7b9c874 Merge branch 'hotfix'
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext
INFO:bench.utils:git fetch --all
Fetching upstream
remote: Counting objects: 15, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 15 (delta 10), reused 10 (delta 10), pack-reused 1
Unpacking objects: 100% (15/15), done.
From https://github.com/frappe/erpnext
   e255830..7c744ac  develop    -> upstream/develop
INFO:bench.utils:git reset --hard upstream/master
Checking out files: 100% (6297/6297), done.
HEAD is now at db6f084 Merge branch 'hotfix'
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext_demo
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 5567d19 Merge pull request #25 from neilLasrado/master
INFO:bench.utils:find . -name "*.pyc" -delete
Updating Python libraries...
INFO:bench.utils:./env/bin/pip install --upgrade pip
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
INFO:bench.utils:./env/bin/pip install -q -r /home/frappe/bench-repo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext_demo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe/requirements.txt
Updating node libraries...
INFO:bench.utils:npm install yarn
npm WARN deprecated yarn@1.3.2: It is recommended to install Yarn using the native installation method for your environment. See https://yarnpkg.com/en/docs/install
npm WARN prefer global yarn@1.3.2 should be installed with -g
frappe@ /home/frappe/frappe-bench/apps/frappe
└── yarn@1.3.2  extraneous

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.1.3
INFO:bench.utils:./node_modules/.bin/yarn install
yarn install v1.3.2
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/2] ⠂ uws
[2/2] ⠂ chromedriver
[-/2] ⠂ waiting...
[-/2] ⠂ waiting...
error /home/frappe/frappe-bench/apps/frappe/node_modules/chromedriver: Command failed.
Exit code: 1
Command: node install.js
Arguments: 
Directory: /home/frappe/frappe-bench/apps/frappe/node_modules/chromedriver




Traceback (most recent call last):
  File "/usr/local/bin/bench", line 11, in <module>
    load_entry_point('bench', 'console_scripts', 'bench')()
  File "/home/frappe/bench-repo/bench/cli.py", line 40, in cli
    bench_command()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/bench-repo/bench/commands/update.py", line 58, in update
    _update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, force=force, reset=reset)
  File "/home/frappe/bench-repo/bench/commands/update.py", line 75, in _update
    update_npm_packages(bench_path=bench_path)
  File "/home/frappe/bench-repo/bench/utils.py", line 440, in update_npm_packages
    exec_cmd('{yarn} install'.format(yarn=yarn_executable), cwd=app_path)
  File "/home/frappe/bench-repo/bench/utils.py", line 142, in exec_cmd
    raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./node_modules/.bin/yarn install
frappe@erpnext:~/frappe-bench$

may be in the update script the operation should be changed?

INFO:bench.utils:npm install yarn
to
sudo npm install --global yarn

Faced same issue, which was solved with “sudo npm install --global yarn” now bench update runs without errors, but after the update I’m not able to see query reports, make buttons and workflow transitions doesn’t work, I don’t know if it is related, but it happened just after updating yarn and completing the update.

switched to master, and I got the same error as @krnkris

1 Like

@applepipe

It was released an update for develop branch,
Hopefully will be released to master soon.
It will fix both.

Sadly this dind’t fix, I’m able to login, but query reports and saving documents are not working

  • something else is not works:

https://github.com/frappe/frappe/issues/5046#issuecomment-367414867

Finally something moves forward.

What I done:

as @tundebabzy suggested (Thank you!)

sudo npm install -g yarn
cd to frappe folder (something like ./apps/frappe. It should contain a yarn.lock file
sudo yarn

after I get lots of new files I do
as @lasalesi suggested (Thank you!)
cd /home/frappe/frappe-bench
$ sudo chown -R frappe:frappe *

then
sudo npm install -g yarn
bench update --requirements
bench setup socketio
bench build

Went trough!

bench update --reset

No success!

frappe@erpnext:~/frappe-bench$ bench update --reset
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)
INFO:bench.app:pulling frappe
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at c06dfaf Merge branch 'hotfix'
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
Checking out files: 100% (6313/6313), done.
HEAD is now at 93f138e Merge branch 'hotfix'
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext_demo
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 5567d19 Merge pull request #25 from neilLasrado/master
INFO:bench.utils:find . -name "*.pyc" -delete
Updating Python libraries...
INFO:bench.utils:./env/bin/pip install --upgrade pip
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
INFO:bench.utils:./env/bin/pip install -q -r /home/frappe/bench-repo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext_demo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe/requirements.txt
Updating node packages...
INFO:bench.utils:yarn install
yarn install v1.3.2
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
error An unexpected error occurred: "EACCES: permission denied, unlink '/home/frappe/frappe-bench/apps/frappe/node_modules/.bin/_mocha-nightwatch'".
info If you think this is a bug, please open a bug report with the information provided in "/home/frappe/frappe-bench/apps/frappe/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 11, in <module>
    load_entry_point('bench', 'console_scripts', 'bench')()
  File "/home/frappe/bench-repo/bench/cli.py", line 40, in cli
    bench_command()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/bench-repo/bench/commands/update.py", line 58, in update
    _update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, force=force, reset=reset)
  File "/home/frappe/bench-repo/bench/commands/update.py", line 75, in _update
    update_node_packages(bench_path=bench_path)
  File "/home/frappe/bench-repo/bench/utils.py", line 441, in update_node_packages
    update_yarn_packages(bench_path)
  File "/home/frappe/bench-repo/bench/utils.py", line 454, in update_yarn_packages
    exec_cmd('yarn install', cwd=app_path)
  File "/home/frappe/bench-repo/bench/utils.py", line 143, in exec_cmd
    raise CommandFailedError(cmd)
bench.utils.CommandFailedError: yarn install

Then if I install yarn as before @tundebabzy suggested again then
I have the same problem as this:

Some update.

When I switch-to-develope
I got some green lights, BUT some red in the end.

Any help would be helpful.

When all this changes will be pulled to master?

frappe@erpnext:~/frappe-bench$ bench update --reset
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)
INFO:bench.app:pulling frappe
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/develop
HEAD is now at 7e6153c conditional check for single docs (#5060)
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/develop
Checking out files: 100% (6556/6556), done.
HEAD is now at 5b9f3b0 Merge branch 'master' into develop
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext_demo
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 5567d19 Merge pull request #25 from neilLasrado/master
INFO:bench.utils:find . -name "*.pyc" -delete
Updating Python libraries...
INFO:bench.utils:./env/bin/pip install --upgrade pip
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
INFO:bench.utils:./env/bin/pip install -q -r /home/frappe/bench-repo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext_demo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe/requirements.txt
Updating node packages...
INFO:bench.utils:yarn install
yarn install v1.3.2
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.33s.
Backing up sites...
Patching sites...
Migrating erpnext.vm
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Syncing help database...
/home/frappe/frappe-bench/apps/frappe/frappe/build.py:108: UserWarning: Source /home/frappe/frappe-bench/apps/erpnext_demo/erpnext_demo/docs does not exist.
  warnings.warn('Source {source} does not exist.'.format(source = source))

> frappe@ production /home/frappe/frappe-bench/apps/frappe
> FRAPPE_ENV=production rollup -c

[!] SyntaxError: Unexpected token {
SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.require.extensions..js (/home/frappe/frappe-bench/apps/frappe/node_modules/rollup/bin/rollup:2757:19)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:20:19)
    at /home/frappe/frappe-bench/apps/frappe/node_modules/rollup/bin/rollup:2764:32
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Function.Module.runMain (module.js:449:11)


npm ERR! Linux 3.13.0-79-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "production"
npm ERR! node v5.12.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! frappe@ production: `FRAPPE_ENV=production rollup -c`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the frappe@ production script 'FRAPPE_ENV=production rollup -c'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the frappe package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     FRAPPE_ENV=production rollup -c
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs frappe
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls frappe
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/frappe/frappe-bench/apps/frappe/npm-debug.log
INFO:bench.utils:sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
frappe-bench-frappe-schedule: stopped
frappe-bench-frappe-default-worker-0: stopped
frappe-bench-frappe-long-worker-0: stopped
frappe-bench-frappe-short-worker-0: stopped
frappe-bench-frappe-web: stopped
frappe-bench-node-socketio: stopped
frappe-bench-frappe-schedule: started
frappe-bench-frappe-default-worker-0: started
frappe-bench-frappe-long-worker-0: started
frappe-bench-frappe-short-worker-0: started
frappe-bench-node-socketio: started
frappe-bench-frappe-web: started
________________________________________________________________________________
Bench: Deployment tool for Frappe and ERPNext (https://erpnext.org).
Open source depends on your contributions, so please contribute bug reports, patches, fixes or cash and be a part of the community
()
frappe@erpnext:~/frappe-bench$

Main problem is with the
bench build

frappe@erpnext:~/frappe-bench$  bench build
/home/frappe/frappe-bench/apps/frappe/frappe/build.py:108: UserWarning: Source /home/frappe/frappe-bench/apps/erpnext_demo/erpnext_demo/docs does not exist.
  warnings.warn('Source {source} does not exist.'.format(source = source))

> frappe@ production /home/frappe/frappe-bench/apps/frappe
> FRAPPE_ENV=production rollup -c

[!] SyntaxError: Unexpected token {
SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.require.extensions..js (/home/frappe/frappe-bench/apps/frappe/node_modules/rollup/bin/rollup:2757:19)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:20:19)
    at /home/frappe/frappe-bench/apps/frappe/node_modules/rollup/bin/rollup:2764:32
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Function.Module.runMain (module.js:449:11)


npm ERR! Linux 3.13.0-79-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "production"
npm ERR! node v5.12.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! frappe@ production: `FRAPPE_ENV=production rollup -c`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the frappe@ production script 'FRAPPE_ENV=production rollup -c'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the frappe package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     FRAPPE_ENV=production rollup -c
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs frappe
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls frappe
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/frappe/frappe-bench/apps/frappe/npm-debug.log
frappe@erpnext:~/frappe-bench$ 

Update:

In develop
the
sudo yarn
executable

in master
it cause problems:

frappe@erpnext:~/frappe-bench/apps/frappe$ sudo yarn
yarn install v1.3.2
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/2] ⠂ uws
[2/2] ⠂ chromedriver
[-/2] ⠂ waiting...
[-/2] ⠂ waiting...
error /home/frappe/frappe-bench/apps/frappe/node_modules/chromedriver: Command failed.
Exit code: 1
Command: node install.js
Arguments: 
Directory: /home/frappe/frappe-bench/apps/frappe/node_modules/chromedriver




frappe@erpnext:~/frappe-bench/apps/frappe$

update

getting closer
i updated the npm

npm -v
was before npm v3.8.6

sudo npm install npm -g
now I have
npm v5.6.0

after this I updated
node.js
sudo npm cache clean -f
sudo npm install -g n
sudo n stable

then run :

 frappe@erpnext:~/frappe-bench$ bench update --reset
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)
INFO:bench.app:pulling frappe
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/develop
HEAD is now at 8de4ebe Merge pull request #5072 from achillesrasquinha/py3
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/develop
HEAD is now at 4a0d270 optimize patch for faster execution (#13068)
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext_demo
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 5567d19 Merge pull request #25 from neilLasrado/master
INFO:bench.utils:find . -name "*.pyc" -delete
Updating Python libraries...
INFO:bench.utils:./env/bin/pip install --upgrade pip
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
INFO:bench.utils:./env/bin/pip install -q -r /home/frappe/bench-repo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext_demo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe/requirements.txt
Updating node packages...
INFO:bench.utils:yarn install
yarn install v1.3.2
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 13.88s.
Backing up sites...
Patching sites...
1 Like
Migrating erpnext.vm
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Syncing help database...
/home/frappe/frappe-bench/apps/frappe/frappe/build.py:108: UserWarning: Source /home/frappe/frappe-bench/apps/erpnext_demo/erpnext_demo/docs does not exist.
  warnings.warn('Source {source} does not exist.'.format(source = source))

> frappe@ production /home/frappe/frappe-bench/apps/frappe
> FRAPPE_ENV=production rollup -c

✨  Built libs.min.js

/home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/class.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/bootstrap.min.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/md5.min.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/provide.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/format.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/number_format.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/common.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/translate.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/pretty_date.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/moment/moment.min.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/highlight.pack.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/microtemplate.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/query_string.js, /home/frappe/frappe-bench/apps/frappe/frappe/website/js/website.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/rating_icons.html → ../../sites/assets/js/frappe-web.min.js...
(!) Conflicting re-exports
rollup-plugin-multi-entry:entry-point re-exports '__moduleExports' from both frappe/public/js/frappe/class.js and frappe/public/js/lib/moment/moment.min.js (will be ignored)
(!) Broken sourcemap
https://github.com/rollup/rollup/wiki/Troubleshooting#sourcemap-is-likely-to-be-incorrect
Plugins that transform code (such as 'frappe-html') should generate accompanying sourcemaps
created ../../sites/assets/js/frappe-web.min.js in 5.5s

/home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/capture.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/base_control.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/base_input.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/data.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/int.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/float.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/currency.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/date.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/time.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/datetime.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/date_range.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/select.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/link.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/dynamic_link.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/text.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/code.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/text_editor.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/check.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/image.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/attach.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/attach_image.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/table.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/color.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/signature.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/password.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/read_only.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/button.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/html.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/heading.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/autocomplete.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/barcode.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/geolocation.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/multiselect.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/multicheck.js → ../../sites/assets/js/control.min.js...
created ../../sites/assets/js/control.min.js in 982ms

/home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/dom.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/modal.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/formatters.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/layout.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/field_group.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/link_selector.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/multi_select_dialog.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/dialog.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/capture.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/base_control.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/base_input.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/data.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/int.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/float.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/currency.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/date.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/time.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/datetime.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/date_range.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/select.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/link.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/dynamic_link.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/text.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/code.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/text_editor.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/check.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/image.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/attach.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/attach_image.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/table.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/color.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/signature.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/password.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/read_only.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/button.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/html.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/heading.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/controls/geolocation.js → ../../sites/assets/js/dialog.min.js...
(!) Use of eval is strongly discouraged
https://github.com/rollup/rollup/wiki/Troubleshooting#avoiding-eval
frappe/public/js/frappe/form/layout.js
497:     if(expression.substr(0,5)=='eval:') {
498:       try {
499:         out = eval(expression.substr(5));
                   ^
500:       } catch(e) {
501:         frappe.throw(__('Invalid "depends_on" expression'));
(!) Broken sourcemap
https://github.com/rollup/rollup/wiki/Troubleshooting#sourcemap-is-likely-to-be-incorrect
Plugins that transform code (such as 'frappe-html') should generate accompanying sourcemaps
created ../../sites/assets/js/dialog.min.js in 1.4s

/home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/class.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/provide.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/assets.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/format.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/formatters.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/modal.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/dom.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/messages.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/keyboard.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/colors.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/sidebar.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/request.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/socketio_client.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/router.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/defaults.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/roles_editor.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/microtemplate.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/legacy/globals.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/legacy/datatype.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/legacy/dom.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/legacy/handler.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/page.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/page.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/slides.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/find.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/iconbar.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/layout.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/field_group.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/link_selector.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/multi_select_dialog.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/dialog.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/capture.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/app_icon.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/dropzone.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/model/model.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/db.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/model/meta.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/model/sync.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/model/create_new.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/model/perm.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/model/workflow.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/model/user_settings.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/md5.min.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/user.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/common.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/pretty_date.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/utils.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/test_utils.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/tools.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/datetime.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/number_format.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/help.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/help_links.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/address_and_contact.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/preview_email.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/file_manager.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/upload.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/upload.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/integrations/gsuite.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/tree.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/container.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/breadcrumbs.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/factory.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/pageview.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/awesome_bar.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/search.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/search.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/search_header.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/search_utils.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/about.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/navbar.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/toolbar.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/modules_select.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/notifications.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/communication.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/translation_manager.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/sort_selector.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/sort_selector.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/change_log.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/desk.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/query_string.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/comment.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/misc/rating_icons.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/feedback.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/chat.js → ../../sites/assets/js/desk.min.js...
(!) Use of eval is strongly discouraged
https://github.com/rollup/rollup/wiki/Troubleshooting#avoiding-eval
frappe/public/js/frappe/socketio_client.js
33: 
34:     frappe.socketio.socket.on('eval_js', function(message) {
35:       eval(message);
          ^
36:     });
frappe/public/js/frappe/form/layout.js
497:     if(expression.substr(0,5)=='eval:') {
498:       try {
499:         out = eval(expression.substr(5));
                   ^
500:       } catch(e) {
501:         frappe.throw(__('Invalid "depends_on" expression'));
frappe/public/js/frappe/model/model.js
136:     var meta = locals.DocType[doctype];
137:     if(meta.__list_js) {
138:       eval(meta.__list_js);
           ^
139:     }
140:     if(meta.__calendar_js) {
...and 3 other occurrences
frappe/public/js/frappe/ui/toolbar/awesome_bar.js
250:       }
251:       try {
252:         var val = eval(txt);
                       ^
253:         var formatted_value = __('{0} = {1}', [txt, (val + '').bold()]);
254:         this.options.push({
(!) Broken sourcemap
https://github.com/rollup/rollup/wiki/Troubleshooting#sourcemap-is-likely-to-be-incorrect
Plugins that transform code (such as 'frappe-html') should generate accompanying sourcemaps
created ../../sites/assets/js/desk.min.js in 6.9s

/home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/templates/grid_form.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/templates/grid_body.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/templates/print_layout.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/templates/users_in_sidebar.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/templates/set_sharing.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/templates/form_sidebar.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/templates/form_dashboard.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/templates/form_document_flow.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/templates/form_links.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/formview.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/legacy/form.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/legacy/client_script_helpers.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/toolbar.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/dashboard.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/document_flow.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/save.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/script_manager.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/grid.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/grid_row.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/grid_row_form.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/linked_with.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/workflow.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/print.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/form_sidebar.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/user_image.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/share.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/form_viewers.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/footer/form_footer.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/footer/timeline.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/footer/timeline_item.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/footer/footer.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/footer/attachments.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/footer/timeline.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/footer/assign_to.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/form/quick_entry.js → ../../sites/assets/js/form.min.js...
(!) Use of eval is strongly discouraged
https://github.com/rollup/rollup/wiki/Troubleshooting#avoiding-eval
frappe/public/js/frappe/form/script_manager.js
153:     var cs = doctype.__js;
154:     if(cs) {
155:       var tmp = eval(cs);
                     ^
156:     }
...and 1 other occurrence
(!) Broken sourcemap
https://github.com/rollup/rollup/wiki/Troubleshooting#sourcemap-is-likely-to-be-incorrect
Plugins that transform code (such as 'frappe-html') should generate accompanying sourcemaps
created ../../sites/assets/js/form.min.js in 1.8s

/home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/listing.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/model/indicator.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/filters/filter.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/filters/filter_list.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/filters/field_select.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/filters/edit_filter.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/tags.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/tag_editor.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/like.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/ui/liked_by.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/html/print_template.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/base_list.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_view.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_factory.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_sidebar.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_sidebar.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_sidebar_stat.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_item_main.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_item_row.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_item_main_head.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_item_row_head.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_item_subject.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/list_permission_footer.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/gantt/gantt_view.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/calendar/calendar.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/image/image_view.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/kanban/kanban_view.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/inbox/inbox_view.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/file/file_view.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/header_select_all_like_filter.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/list/item_assigned_to_comment_count.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/treeview.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/image/image_view_item_row.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/image/photoswipe_dom.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/kanban/kanban_board.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/kanban/kanban_column.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/kanban/kanban_card.html → ../../sites/assets/js/list.min.js...
(!) Use of eval is strongly discouraged
https://github.com/rollup/rollup/wiki/Troubleshooting#avoiding-eval
frappe/public/js/frappe/views/treeview.js
362:       var has_perm = true;
363:       if(menu_item["condition"]) {
364:         has_perm = eval(menu_item["condition"]);
                        ^
365:       }
(!) Broken sourcemap
https://github.com/rollup/rollup/wiki/Troubleshooting#sourcemap-is-likely-to-be-incorrect
Plugins that transform code (such as 'frappe-html') should generate accompanying sourcemaps
created ../../sites/assets/js/list.min.js in 1.9s

/home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/clusterize.min.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/frappe-datatable.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/reports/report_factory.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/reports/report_view.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/reports/reportview_footer.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/reports/query_report.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/reports/grid_report.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/reports/print_grid.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/frappe/views/reports/print_tree.html, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/slickgrid/jquery.event.drag.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/slickgrid/plugins/slick.cellrangedecorator.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/slickgrid/plugins/slick.cellrangeselector.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/slickgrid/plugins/slick.cellselectionmodel.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/slickgrid/plugins/slick.cellexternalcopymanager.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/slickgrid/slick.core.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/slickgrid/slick.grid.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/slickgrid/slick.dataview.js → ../../sites/assets/js/report.min.js...
(!) Conflicting re-exports
rollup-plugin-multi-entry:entry-point re-exports '__moduleExports' from both frappe/public/js/lib/clusterize.min.js and frappe/public/js/lib/frappe-datatable.js (will be ignored)
(!) Use of eval is strongly discouraged
https://github.com/rollup/rollup/wiki/Troubleshooting#avoiding-eval
frappe/public/js/frappe/views/reports/query_report.js
792:         }
793: 
794:         out = eval("value" + cond + "filter");
                   ^
795:       } else {
796:         // range
frappe/public/js/frappe/views/reports/grid_report.js
568:           if(link_formatter.open_btn) {
569:             var doctype = link_formatter.doctype
570:               ? eval(link_formatter.doctype)
                     ^
571:               : dataContext.doctype;
572:             html += me.get_link_open_icon(doctype, value);
frappe/public/js/lib/slickgrid/slick.grid.js
3292:     // a debug helper to be able to access private members
3293:     this.eval = function (expr) {
3294:       return eval(expr);
                   ^
3295:     };
(!) Broken sourcemap
https://github.com/rollup/rollup/wiki/Troubleshooting#sourcemap-is-likely-to-be-incorrect
Plugins that transform code (such as 'frappe-html') should generate accompanying sourcemaps
created ../../sites/assets/js/report.min.js in 6.5s

/home/frappe/frappe-bench/apps/frappe/frappe/website/js/web_form.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/summernote/summernote.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/datepicker/datepicker.min.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/datepicker/datepicker.en.js → ../../sites/assets/js/web_form.min.js...
(!) Use of eval is strongly discouraged
https://github.com/rollup/rollup/wiki/Troubleshooting#avoiding-eval
frappe/public/js/lib/summernote/summernote.js
440:         // Do nothing.
441:       }
442:     } else if (typeof eval('require').specified !== 'undefined') {
                           ^
443:       hasCodeMirror = eval('require').specified('codemirror');
444:     }
...and 1 other occurrence
(!) Missing global variable name
Use output.globals to specify browser global variable names corresponding to external modules
jquery (guessing 'jquery')
created ../../sites/assets/js/web_form.min.js in 2.9s

/home/frappe/frappe-bench/apps/frappe/frappe/public/js/legacy/layout.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/legacy/print_table.js, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/legacy/print_format.js → ../../sites/assets/js/print_format_v3.min.js...
(!) Use of eval is strongly discouraged
https://github.com/rollup/rollup/wiki/Troubleshooting#avoiding-eval
frappe/public/js/legacy/print_format.js
299:       var code = element.innerHTML;
300:       try {
301:         var new_html = code ? (eval(code) || "") : "";
                                    ^
302:       } catch(e) {
303:         console.log("Error in Custom Script:" + e + "\n" + code);
created ../../sites/assets/js/print_format_v3.min.js in 218ms

/home/frappe/frappe-bench/apps/frappe/frappe/public/css/font-awesome.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/css/octicons/octicons.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/website.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/avatar.less → ../../sites/assets/css/rollup.manifest.css...
(!) Generated an empty bundle
created ../../sites/assets/css/rollup.manifest.css in 223ms

/home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/datepicker/datepicker.min.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/awesomplete/awesomplete.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/summernote/summernote.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/leaflet/leaflet.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/leaflet/leaflet.draw.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/leaflet/L.Control.Locate.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/leaflet/easy-button.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/css/bootstrap.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/css/font-awesome.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/css/octicons/octicons.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/desk.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/flex.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/indicator.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/avatar.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/navbar.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/sidebar.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/page.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/tree.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/desktop.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/form.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/mobile.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/kanban.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/controls.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/chat.less → ../../sites/assets/css/rollup.manifest.css...
(!) Generated an empty bundle
created ../../sites/assets/css/rollup.manifest.css in 622ms

/home/frappe/frappe-bench/apps/frappe/frappe/public/css/bootstrap-rtl.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/css/desk-rtl.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/css/report-rtl.css → ../../sites/assets/css/rollup.manifest.css...
(!) Generated an empty bundle
created ../../sites/assets/css/rollup.manifest.css in 71ms

/home/frappe/frappe-bench/apps/frappe/frappe/public/less/module.less → ../../sites/assets/css/rollup.manifest.css...
(!) Generated an empty bundle
created ../../sites/assets/css/rollup.manifest.css in 6ms

/home/frappe/frappe-bench/apps/frappe/frappe/public/less/form_grid.less → ../../sites/assets/css/rollup.manifest.css...
(!) Generated an empty bundle
created ../../sites/assets/css/rollup.manifest.css in 18ms

/home/frappe/frappe-bench/apps/frappe/frappe/public/less/list.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/calendar.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/role_editor.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/less/gantt.less → ../../sites/assets/css/rollup.manifest.css...
(!) Generated an empty bundle
created ../../sites/assets/css/rollup.manifest.css in 37ms

/home/frappe/frappe-bench/apps/frappe/frappe/public/less/report.less, /home/frappe/frappe-bench/apps/frappe/frappe/public/css/tree_grid.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/slickgrid/slick.grid.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/slickgrid/slick-default-theme.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/css/slickgrid.css → ../../sites/assets/css/rollup.manifest.css...
(!) Generated an empty bundle
created ../../sites/assets/css/rollup.manifest.css in 20ms

/home/frappe/frappe-bench/apps/frappe/frappe/website/css/web_form.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/summernote/summernote.css, /home/frappe/frappe-bench/apps/frappe/frappe/public/js/lib/datepicker/datepicker.min.css → ../../sites/assets/css/rollup.manifest.css...
(!) Generated an empty bundle
created ../../sites/assets/css/rollup.manifest.css in 66ms

/home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/website_utils.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/shopping_cart.js → ../../sites/assets/js/erpnext-web.min.js...
created ../../sites/assets/js/erpnext-web.min.js in 65ms

/home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/conf.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/utils.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/queries.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/sms_manager.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/utils/party.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/templates/address_list.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/templates/contact_list.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/controllers/stock_controller.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/payment/payments.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/controllers/taxes_and_totals.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/controllers/transaction.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/pos/pos.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/pos/pos_bill_item.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/pos/pos_bill_item_new.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/pos/pos_selected_item.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/pos/pos_item.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/pos/pos_tax_row.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/pos/customer_toolbar.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/pos/pos_invoice_list.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/payment/pos_payment.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/payment/payment_details.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/templates/item_selector.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/utils/item_selector.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/help_links.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/agriculture/ternary_plot.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/templates/item_quick_entry.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/utils/item_quick_entry.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/utils/customer_quick_entry.js, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/education/student_button.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/education/assessment_result_tool.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/public/js/hub/hub_factory.js → ../../sites/assets/js/erpnext.min.js...
(!) Broken sourcemap
https://github.com/rollup/rollup/wiki/Troubleshooting#sourcemap-is-likely-to-be-incorrect
Plugins that transform code (such as 'frappe-html') should generate accompanying sourcemaps
created ../../sites/assets/js/erpnext.min.js in 1.1s

/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/dashboard/item_dashboard.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/stock/dashboard/item_dashboard_list.html, /home/frappe/frappe-bench/apps/erpnext/erpnext/stock/dashboard/item_dashboard.js → ../../sites/assets/js/item-dashboard.min.js...
(!) Broken sourcemap
https://github.com/rollup/rollup/wiki/Troubleshooting#sourcemap-is-likely-to-be-incorrect
Plugins that transform code (such as 'frappe-html') should generate accompanying sourcemaps
created ../../sites/assets/js/item-dashboard.min.js in 55ms

/home/frappe/frappe-bench/apps/erpnext/erpnext/public/less/erpnext.less → ../../sites/assets/css/rollup.manifest.css...
(!) Generated an empty bundle
created ../../sites/assets/css/rollup.manifest.css in 11ms
INFO:bench.utils:sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
frappe-bench-frappe-schedule: stopped
frappe-bench-frappe-default-worker-0: stopped
frappe-bench-frappe-long-worker-0: stopped
frappe-bench-frappe-short-worker-0: stopped
frappe-bench-frappe-web: stopped
frappe-bench-node-socketio: stopped
frappe-bench-frappe-schedule: started
frappe-bench-frappe-default-worker-0: started
frappe-bench-frappe-long-worker-0: started
frappe-bench-frappe-short-worker-0: started
frappe-bench-node-socketio: started
frappe-bench-frappe-web: started
________________________________________________________________________________
Bench: Deployment tool for Frappe and ERPNext (https://erpnext.org).
Open source depends on your contributions, so please contribute bug reports, patches, fixes or cash and be a part of the community
()
frappe@erpnext:~/frappe-bench$ 

In develop
the
bench update --reset
works with the long log as above.

the
bench update
comes with this log:

frappe@erpnext:~/frappe-bench$ bench update
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
Requirement already satisfied: olefile in ./env/lib/python2.7/site-packages (from Pillow)


Cannot proceed with update: You have local changes in app "frappe" that are not committed.

Here are your choices:

1. Merge the frappe app manually with "git pull" / "git pull --rebase" and fix conflicts.
1. Temporarily remove your changes with "git stash" or discard them completely
	with "bench update --reset" or for individual repositries "git reset --hard"
2. If your changes are helpful for others, send in a pull request via GitHub and
	wait for them to be merged in the core.
frappe@erpnext:~/frappe-bench$ 

Is this normal?

in master
Installed Apps

ERPNext: v10.1.4 (master)

Frappe Framework: v10.1.1 (master)
the
bench update problem - yarn install in VM virtual image exist

frappe@erpnext:~/frappe-bench/apps/frappe$ sudo yarn
yarn install v1.3.2
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/2] ⠁ uws
[2/2] ⠁ chromedriver
[-/2] ⠁ waiting...
[-/2] ⠁ waiting...
error /home/frappe/frappe-bench/apps/frappe/node_modules/chromedriver: Command failed.
Exit code: 1
Command: node install.js
Arguments: 
Directory: /home/frappe/frappe-bench/apps/frappe/node_modules/chromedriver

only way is to update in VM virtual image (.ova):

bench switch-to-develop
bench update --patch
bench update
cd apps/frappe
sudo yarn
bench update --reset -long log as above

then
bench switch-to-master

You have latest version.

In master:

Be careful!:
In master you get this error if you do
bench update --reset

If you try to install yarn the same way as in develop
cd apps/frappe
sudo yarn
then you get this error:

Hope this helps, and get resolved soon.

1 Like

UPDATE:

If you not want to harvest yourself with this error:
https://github.com/frappe/erpnext/issues/13011

then do:
drop translatable column from tabDocField
in this case you able to login in master

UPDATE:

You can’t login in to master!!!

Installed Apps

ERPNext: v10.1.4 (master)

Frappe Framework: v10.1.1 (master)

LOG:

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “…/apps/frappe/frappe/chat/doctype/chat_profile/chat_profile.py”, line 87, in create
File “…/apps/frappe/frappe/chat/doctype/chat_profile/chat_profile.py”, line 49, in get
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 638, in get_doc
return frappe.model.document.get_doc(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 66, in get_doc
controller = get_controller(doctype)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/base_document.py”, line 36, in get_controller
module = load_doctype_module(doctype, module_name)
File “/home/frappe/frappe-bench/apps/frappe/frappe/modules/utils.py”, line 177, in load_doctype_module
app = get_module_app(module)
File “/home/frappe/frappe-bench/apps/frappe/frappe/modules/utils.py”, line 200, in get_module_app
return frappe.local.module_app[scrub(module)]
KeyError: u’chat’

UPDATE VM virtual image:

Only develop can be update:

The master has same error as before with NPM chromedriver + yarn: