From: | Yifan Wang <yifwang97(at)gmail(dot)com> |
---|---|
To: | "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org> |
Subject: | Failed to configure the Python Environment |
Date: | 2020-11-19 10:46:24 |
Message-ID: | 05890A26-2458-448E-9927-642C8FA0DC14@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers pgadmin-support |
Hi!
I want to install the pgadmin from the source code on my macOS system for further development. However, when i execute the command “ (pgadmin4) $ python $PGADMIN4_SRC/web/pgAdmin4.py”, it pops up with
2020-11-19 18:21:55,330: DEBUG flask.app: Authentication Source: internal
2020-11-19 18:21:55,330: DEBUG flask.app: Not running under the desktop runtime, port: 5050
yarn run v1.22.10
$ yarn run linter && yarn run webpacker
$ yarn eslint --no-eslintrc -c .eslintrc.js --ext .js .
error Command "eslint" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-11-19 18:21:56,065: ERROR flask.app: Unable to generate javascript.
To run the app ensure that yarn install command runs successfully
Traceback (most recent call last):
File "/Users/wangyifan/.Trash/pgadmin4/web/pgAdmin4.py", line 217, in <module>
main()
File "/Users/wangyifan/.Trash/pgadmin4/web/pgAdmin4.py", line 167, in main
raise RuntimeError("No generated javascript, aborting")
RuntimeError: No generated javascript, aborting
Im surely install eslint with two versions: yarn and npm and the dir of eslint is /Users/XXX/.config/yarn/global/node_modules/.bin/eslint. I have tried almost all methods but still can’t solve this problem. Could someone have the idea?
PGADMIN: 4.28
PYTHON: 3.9
Best regards,
Yifan
From | Date | Subject | |
---|---|---|---|
Next Message | Ashesh Vashi | 2020-11-19 11:00:34 | Re: Failed to configure the Python Environment |
Previous Message | Khushboo Vashi | 2020-11-19 08:40:39 | [pgAdmin4][Patch] - Fix Jenkins Failure |
From | Date | Subject | |
---|---|---|---|
Next Message | Ashesh Vashi | 2020-11-19 11:00:34 | Re: Failed to configure the Python Environment |
Previous Message | Сергей Краснов | 2020-11-19 06:19:18 | RE: One storage for all pgAdmin users |