ERPNEXT installation ERROR "Procfile Does not Exist" - digital-ocean

I am trying to install ERPNEXT on my machine. When I give this command in shell:
bench start
It shows me this error:
[14985][ERROR] Procfile does not exist or is not a file

Try this.
cd ~/frappe-bench
bench start

Related

How to add trix.css when it is removed after pruning?

After pruning with the command "docker system prune -a" nodejs wont build anymore beacuse trix.css is missing. I am assuming this was probably deleted while pruning. How can I resolve this error (see the error below)? Why is it not created again while building the container again since the file is in the docker file.
Required path doesn't exist: /code/bower_components/trix/dist/trix.css trix
[13:57:39] 'vendorcss' errored after 1.63 ms
[13:57:39] Error: Promise rejected without Error
at Domain.onError (/usr/local/lib/node_modules/gulp/node_modules/async-done/index.js:49:15)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at Domain.emit (events.js:211:7)
at Domain._errorHandler (domain.js:134:21)
at process._fatalException (bootstrap_node.js:375:33)
[13:57:39] 'staging' errored after 41 ms
ERROR: Service 'nodejs' failed to build: The command '/bin/sh -c gulp staging' returned a non-
zero code: 1
Usually I use this command : "sudo docker-compose -f docker-compose-staging.yml build nodejs" when I want to build the container again. I am very new to this and would be greatfull for some help.
For me, this was the case:
The issue exists because trix.css was removed in the latest version. It has nothing to do with docker system prune as far as I understand.
You can compare the two versions here: https://github.com/basecamp/trix/compare/1.3.1...v2.0.0
Basically, in order to fix this issue, you need to do
yarn install
yarn build
inside bower_components. This is suggested in the official updated README of the trix repository: https://github.com/basecamp/trix.
Once done with that, you will have trix.css and trix.umd.min.js files for your perusal.

I am getting this error while making a project in expo using this command-> expo init project-name

? Choose a template: blank
[16:22:15] Extracting project files...
Process exited with non-zero code: 2
ERROR: Unexpected end of data : blank-30.1.0.tar
Process exited with non-zero code: 2
[16:22:17] zlib: unexpected end of file
[16:22:17] Set EXPO_DEBUG=true in your env to view the stack trace.
I had the same issue today but I found the answer.
The file blank-30.1.0.tar was not downloaded correctly. Trying to clear the npm cache won't help, because expo has its own cache.
Use this command to clear the expo cache on Windows or on Linux:
rm -fr ~/.expo/starter-app-cache
or try to find it on macOS under ~\.exponent\starter-app-cache\
Delete .expo folder
Run
npm -g uninstall expo-cli --save
npm install -g expo-cli#latest
expo init <project-name>
Bingo!
I have manually deleted my file from .expo folder. As my system not recognize rm -fr command.
You can find cache file in c:/users/$userName/.expo in windows.

Installing GeoIP - maxminddb_module and libmaxminddb Errors

After installing maxminddb_module and libmaxminddb from
http://maxmind.github.io/mod_maxminddb/ and
https://github.com/maxmind/libmaxminddb
On restarting apache, I get the following error:
Syntax error on line 243 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib64/httpd/modules/mod_maxminddb.so into server: libmaxminddb.so.0: cannot open shared object file: No such file or directory
httpd.conf line 243 is:
LoadModule maxminddb_module /usr/lib64/httpd/modules/mod_maxminddb.so
It seems everything is in its right place, but I can't get them all to play nice and talk to each other. Would appreciate some assistance. Thanks!
From https://github.com/maxmind/libmaxminddb :
If after installing, you receive an error that libmaxminddb.so.0 is missing you may need to add the lib directory in your prefix to your library path. On most Linux distributions when using the default prefix (/usr/local), you can do this by running the following commands:
$ sudo sh -c "echo /usr/local/lib >> /etc/ld.so.conf.d/local.conf"
$ ldconfig
Try running sudo ldconfig and see if that fixes the problem.

Installing the Qt SDK shows the message: cannot execute binary file

My environment is Linux 11.04
When I want to install Qt SDK
I download the SDK:qt-creator-linux-x86_64-opensource-2.5.2.bin
I move this file to /opt
and then
chmod u+x qt-creator-linux-x86_64-opensource-2.5.2.bin
./qt-creator-linux-x86_64-opensource-2.5.2.bin
but it shows that: cannot execute binary file
I think whether if it is because my Ubuntu is belong to 32-bit architecture
so I download qt-creator-linux-x86-opensource-2.5.2.bin
also move it to /opt file
and give the command:
chmod u+x qt-creator-linux-x86-opensource-2.5.2.bin
./qt-creator-linux-x86-opensource-2.5.2.bin
The same message still shows.
I give another command:
sudo ./qt-creator-linux-x86-opensource-2.5.2.bin
but it shows that Syntax error: ")" unexpected
how can I resolve this problem?

Installing Django using pip and virtualenv

I am trying to install Django using virtualenv together with pip on mac and I am facing some problem in installing it. I am basically following this video: http://www.youtube.com/watch?v=71Ja7L89EOA to install Django.
I got stuck when I type .env/bin/activate like in the video
Error msg:
APPLEs-iMac-2:~ IMAC$ .env/bin/activate
-bash: .env/bin/activate: No such file or directory
What might be doing wrong? Shld i do inside the project file and i can't do in the main folder is it?
Need some help on it..
There is a space. command source is equal to .
The correct is . env/bin/activate