Graphic Card not upgrading through Pacman

I am new in Manjaro Gnome.
Today there is an update of my Graphic card
nvidia -340xx-dkms but when I am not able to update the drivers
The error message is
Preparing…
Ensure prerequisites for “plexmediaserver” are available
Installing plexmediaserver
Download of core started
Download of core finished
Fetch and check assertions for snap “core” (10583)
Installing plexmediaserver
Mount snap “core” (10583)
Setup snap “core” (10583) security profiles
Automatically connect eligible plugs and slots of snap “core”
Run configure hook of “core” snap if present
Download of plexmediaserver started
Download of plexmediaserver finished
Fetch and check assertions for snap “plexmediaserver” (160)
Installing plexmediaserver
Mount snap “plexmediaserver” (160)
Setup snap “plexmediaserver” (160) security profiles
Connect plexmediaserver:removable-media to core:removable-media
Connect plexmediaserver:home-all to core:home
Setup snap “plexmediaserver” (160) security profiles for auto-connections
Start snap “plexmediaserver” (160) services
Run configure hook of “plexmediaserver” snap if present
Run health check of “plexmediaserver” snap
Transaction successfully finished.

Removing app/com.spotify.Client/x86_64/stable
Transaction successfully finished.

Installing app/com.spotify.Client/x86_64/stable
Downloading: 188.6 MB/188.6 MB (3.2 MB/s)
Transaction successfully finished.

Preparing…
Checking dependencies…
Removing gst-python (1.18.2-1)…
Removing cmake (3.19.2-1)…
Removing rpmextract (1.0-9)…
Running post-transaction hooks…
Arming ConditionNeedsUpdate…
Updating icon theme caches…
Updating the desktop file MIME type cache…
Updating the MIME type database…
Transaction successfully finished.

Preparing…
Cloning nvidia-340xx build files…
Checking nvidia-340xx-dkms dependencies…
Synchronizing package databases…
Resolving dependencies…
Checking inter-conflicts…

Building nvidia-340xx…
/var/tmp/pamac-build-himanshusharma/nvidia-340xx/PKGBUILD: line 32: /usr/src/linux/version: No such file or directory
==> Making package: nvidia-340xx 340.108-13 (Sat 09 Jan 2021 11:53:45 PM IST)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
-> Found NVIDIA-Linux-x86_64-340.108-no-compat32.run
-> Found 0001-kernel-5.7.patch
-> Found 0002-kernel-5.8.patch
-> Found 0003-kernel-5.9.patch
-> Found 0004-kernel-5.10.patch
==> Validating source files with b2sums…
NVIDIA-Linux-x86_64-340.108-no-compat32.run … Passed
0001-kernel-5.7.patch … Passed
0002-kernel-5.8.patch … Passed
0003-kernel-5.9.patch … Passed
0004-kernel-5.10.patch … Passed
==> Removing existing $srcdir/ directory…
==> Extracting sources…
==> Starting prepare()…
Creating directory NVIDIA-Linux-x86_64-340.108-no-compat32
Verifying archive integrity… OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.108…
patching file kernel/Makefile
patching file kernel/conftest.sh
patching file kernel/dkms.conf
patching file kernel/nv-drm.c
patching file kernel/nv-linux.h
patching file kernel/nv-procfs.c
patching file kernel/nv-time.h
patching file kernel/nv.c
patching file kernel/os-interface.c
patching file kernel/uvm/Makefile
patching file kernel/uvm/conftest.sh
patching file kernel/uvm/nvidia_uvm_lite.c
patching file kernel/nv-linux.h
patching file kernel/nvidia-modules-common.mk
patching file kernel/os-mlock.c
patching file kernel/uvm/nvidia_uvm_lite_api.c
patching file kernel/nv-drm.c
patching file kernel/nv-linux.h
patching file kernel/nv.c
patching file kernel/uvm/nvidia_uvm_linux.h
patching file kernel/nv-drm.c
Hunk #1 succeeded at 364 (offset 42 lines).
==> Removing existing $pkgdir/ directory…
==> Starting build()…
NVIDIA: calling KBUILD…
make[1]: *** /usr/src/linux: No such file or directory. Stop.
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [Makefile:202: nvidia.ko] Error 1
==> ERROR: A failure occurred in build().
Aborting…

Is any way to upgrade it. I am new having low knowledge of linux. so please guide me in step by step if possible.