Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amplify Application failed to build #12

Open
CiprianSavoiu opened this issue Feb 19, 2024 · 0 comments
Open

Amplify Application failed to build #12

CiprianSavoiu opened this issue Feb 19, 2024 · 0 comments

Comments

@CiprianSavoiu
Copy link

I followed the instructions on from the readme and when AWS Amplify tries to build the app I get the following error:

2024-02-19T15:51:00.365Z [WARNING]: 2024-02-19 15:51:00 Command 'build' is not configured correctly. Unable to import 'samcli.commands.build'
Traceback (most recent call last):
File "/root/.local/lib/python3.7/site-packages/samcli/cli/command.py", line 263, in get_command
mod = importlib.import_module(pkg_name)
File "/usr/lib64/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/.local/lib/python3.7/site-packages/samcli/commands/build/init.py", line 6, in
from .command import cli # noqa
File "/root/.local/lib/python3.7/site-packages/samcli/commands/build/command.py", line 11, in
from samcli.commands._utils.options import (
File "/root/.local/lib/python3.7/site-packages/samcli/commands/_utils/options.py", line 28, in
from samcli.commands._utils.custom_options.hook_name_option import HookNameOption
File "/root/.local/lib/python3.7/site-packages/samcli/commands/_utils/custom_options/hook_name_option.py", line 15, in
from samcli.lib.telemetry.event import EventName, EventTracker
File "/root/.local/lib/python3.7/site-packages/samcli/lib/telemetry/event.py", line 16, in
from samcli.lib.telemetry.telemetry import Telemetry
File "/root/.local/lib/python3.7/site-packages/samcli/lib/telemetry/telemetry.py", line 7, in
import requests
File "/root/.local/lib/python3.7/site-packages/requests/init.py", line 43, in
import urllib3
File "/root/.local/lib/python3.7/site-packages/urllib3/init.py", line 42, in
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips 26 Jan 2017'. See: urllib3/urllib3#2168
2024-02-19T15:51:00.365Z [WARNING]: Usage: sam [OPTIONS] COMMAND [ARGS]...
Try 'sam -h' for help.
2024-02-19T15:51:00.366Z [WARNING]: Error: No such command 'build'.
2024-02-19T15:51:00.393Z [WARNING]: make[1]: *** [deploy.processing] Error 2
2024-02-19T15:51:00.393Z [WARNING]: make: *** [deploy] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant