You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: