Issue in manual installation

Hi All,
While forming this command: bench init frappe-bench --frappe-branch master && cd frappe-bench, i am getting this error…
bench init frappe-bench --frappe-branch master && cd frappe-bench
INFO:bench.utils:virtualenv -q env -p /usr/bin/python
Already using interpreter /usr/bin/python
INFO:bench.utils:./env/bin/pip -q install --upgrade pip
INFO:bench.utils:./env/bin/pip -q install wheel
INFO:bench.utils:./env/bin/pip -q install six
INFO:bench.utils:./env/bin/pip -q install -e git+ app frappe
INFO:bench.utils:git clone --branch master --origin upstream
Cloning into ‘frappe’…
remote: Counting objects: 137964, done.
remote: Total 137964 (delta 0), reused 1 (delta 0), pack-reused 137963
Receiving objects: 100% (137964/137964), 110.65 MiB | 238.00 KiB/s, done.
Resolving deltas: 100% (104730/104730), done.
Checking connectivity… done.
(‘installing’, u’frappe’) frappe
INFO:bench.utils:frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe --no-cache-dir

Updating node libraries…
INFO:bench.utils:npm install
npm WARN deprecated babel-preset-babili@0.0.12: babili has been renamed to babel-minify. Please update to babel-preset-minify
npm WARN deprecated babel-preset-es2017@6.24.1: We’re really excited that you’re trying to use ES2017 syntax, but instead of making more yearly presets, Babel has a better preset that we recommend you use instead: npm install babel-preset-env --save-dev. Give us a follow @babeljs to get more updates
npm WARN deprecated babel-preset-es2016@6.24.1: We’re really excited that you’re trying to use ES2016 syntax, but instead of making more yearly presets, Babel has a better preset that we recommend you use instead: npm install babel-preset-env --save-dev. Give us a follow @babeljs to get more updates

uws@0.14.5 install /home/serpentcs/workspace/projects/erp_next/frappe-bench/node_modules/uws
node-gyp rebuild > build_log.txt 2>&1 || exit 0

chromedriver@2.31.0 install /home/serpentcs/workspace/projects/erp_next/frappe-bench/node_modules/chromedriver
node install.js

Saving to /tmp/chromedriver/
Received 781K…
Received 1568K…
Received 2352K…
Received 3136K…
Received 3887K total.
Extracting zip contents
Copying to target path /home/serpentcs/workspace/projects/erp_next/frappe-bench/node_modules/chromedriver/lib/chromedriver
Fixing file permissions
Done. ChromeDriver binary available at /home/serpentcs/workspace/projects/erp_next/frappe-bench/node_modules/chromedriver/lib/chromedriver/chromedriver
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN frappe@ No description
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

added 546 packages in 114.502s

│ npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /home/serpentcs/.config │
Wrote css/frappe-web.css - 64.45 KB
Wrote js/frappe-web.min.js - 137.98 KB
Wrote js/dialog.min.js - 104.1 KB
Wrote css/desk.min.css - 290.99 KB
Wrote css/frappe-rtl.css - 32.37 KB
Wrote js/libs.min.js - 815.22 KB
Wrote js/desk.min.js - 505.79 KB
Wrote js/d3.min.js - 380.17 KB
Wrote css/module.min.css - 2.08 KB
Wrote css/form.min.css - 4.47 KB
Wrote js/form.min.js - 192.47 KB
Wrote css/list.min.css - 14.09 KB
Wrote js/list.min.js - 138.34 KB
Wrote css/report.min.css - 7.81 KB
Wrote js/report.min.js - 255.75 KB
Wrote js/web_form.min.js - 247.22 KB
Wrote css/web_form.css - 24.42 KB
Wrote js/print_format_v3.min.js - 23.39 KB
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==4.1.0’, ‘console_scripts’, ‘bench’)()
File “/usr/local/lib/python2.7/dist-packages/bench-4.1.0-py2.7.egg/bench/”, line 40, in cli
File “/usr/local/lib/python2.7/dist-packages/click/”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 535, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/bench-4.1.0-py2.7.egg/bench/commands/”, line 21, in init
verbose=verbose, clone_from=clone_from, skip_bench_mkdir=skip_bench_mkdir, skip_redis_config_generation=skip_redis_config_generation)
File “/usr/local/lib/python2.7/dist-packages/bench-4.1.0-py2.7.egg/bench/”, line 81, in init
File “/usr/local/lib/python2.7/dist-packages/bench-4.1.0-py2.7.egg/bench/config/”, line 13, in setup_procfile
procfile = bench.env.get_template(‘Procfile’).render(
File “/usr/lib/python2.7/dist-packages/jinja2/”, line 812, in get_template
return self._load_template(name, self.make_globals(globals))
File “/usr/lib/python2.7/dist-packages/jinja2/”, line 774, in _load_template
cache_key = self.loader.get_source(self, name)[1]
File “/usr/lib/python2.7/dist-packages/jinja2/”, line 235, in get_source
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: Procfile

I firmly believe that it is firmware issue as in other system sometimes it runs… as i am working installation with 2-3 laptops. Pls tell me the resolution

I think it might be related to the permissions of your frappe-bench folder. Not related to firmware IMO

No, Actually I have not given any permission to folder and also check that all files and folders are not restricted.

in Frappe-bench Directory
bench setup procfile


In my case solution by command

$ bench init --no-auto-update --no-procfile --verbose name-off-bench