Error when building nRF Connect for VS Code tutorial project: fatal error: core_cm4.h: No such file or directory

hello everyone , Im a beginner and currently following tutorials from nrf52sdk fundamentals . This error occurred when i first built the sdk using visual studios code  .

please give me guidance as to how to correct this error 

Adding to this the welcome  terminal on vs code for nrf connect extension cannot be seen.

. Following are the comments from the terminal 

-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/rosario/ab1/build
-- west build: building application
[1/169] Generating include/generated/version.h
-- Zephyr version: 3.3.99 (C:/NORDICSEMI/v2.4.2/zephyr), build: v3.3.99-ncs1-1
[2/169] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[3/169] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[4/169] Generating include/generated/driver-validation.h
[5/169] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[6/169] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
FAILED: zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
C:\NORDICSEMI\toolchains\31f4403e35\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=0 -D__ZEPHYR__=1 -IC:/NORDICSEMI/v2.4.2/zephyr/kernel/include -IC:/NORDICSEMI/v2.4.2/zephyr/arch/arm/include -IC:/NORDICSEMI/v2.4.2/zephyr/include -Izephyr/include/generated -IC:/NORDICSEMI/v2.4.2/zephyr/soc/arm/nordic_nrf/nrf52 -IC:/NORDICSEMI/v2.4.2/zephyr/soc/arm/nordic_nrf/common/. -IC:/NORDICSEMI/v2.4.2/nrf/include -IC:/NORDICSEMI/v2.4.2/nrf/tests/include -IC:/NORDICSEMI/v2.4.2/modules/hal/nordic/nrfx -IC:/NORDICSEMI/v2.4.2/modules/hal/nordic/nrfx/drivers/include -IC:/NORDICSEMI/v2.4.2/modules/hal/nordic/nrfx/mdk -IC:/NORDICSEMI/v2.4.2/zephyr/modules/hal_nordic/nrfx/. -IC:/NORDICSEMI/v2.4.2/modules/debug/segger/SEGGER -IC:/NORDICSEMI/v2.4.2/modules/debug/segger/Config -IC:/NORDICSEMI/v2.4.2/zephyr/modules/segger/. -isystem C:/NORDICSEMI/v2.4.2/zephyr/lib/libc/minimal/include -isystem c:/nordicsemi/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/nordicsemi/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem C:/NORDICSEMI/v2.4.2/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Og -imacros C:/Users/rosario/ab1/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs --sysroot=C:/NORDICSEMI/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/NORDICSEMI/v2.4.2/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/rosario/ab1=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/NORDICSEMI/v2.4.2/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/NORDICSEMI/v2.4.2=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -MF zephyr\CMakeFiles\offsets.dir\arch\arm\core\offsets\offsets.c.obj.d -o zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -c C:/NORDICSEMI/v2.4.2/zephyr/arch/arm/core/offsets/offsets.c
In file included from C:\NORDICSEMI\v2.4.2\modules\hal\nordic\nrfx\mdk\nrf.h:163,
from C:\NORDICSEMI\v2.4.2\modules\hal\nordic\nrfx\drivers\nrfx_common.h:41,
from C:\NORDICSEMI\v2.4.2\modules\hal\nordic\nrfx\nrfx.h:38,
from c:\nordicsemi\v2.4.2\zephyr\soc\arm\nordic_nrf\common\soc_nrf_common.h:14,
from C:\NORDICSEMI\v2.4.2\zephyr\soc\arm\nordic_nrf\nrf52\soc.h:14,
from C:\NORDICSEMI\v2.4.2\zephyr\include\zephyr\arch\arm\aarch32\cortex_m\cmsis.h:19,
from C:\NORDICSEMI\v2.4.2\zephyr\include\zephyr\arch\arm\aarch32\mpu\arm_mpu_v7m.h:11,
from C:\NORDICSEMI\v2.4.2\zephyr\include\zephyr\arch\arm\aarch32\mpu\arm_mpu.h:14,
from C:\NORDICSEMI\v2.4.2\zephyr\include\zephyr\arch\arm\aarch32\arch.h:266,
from C:\NORDICSEMI\v2.4.2\zephyr\include\zephyr\arch\cpu.h:19,
from C:\NORDICSEMI\v2.4.2\zephyr\include\zephyr\kernel_includes.h:33,
from C:\NORDICSEMI\v2.4.2\zephyr\include\zephyr\kernel.h:17,
from C:\NORDICSEMI\v2.4.2\zephyr\arch\arm\core\offsets\offsets_aarch32.c:28,
from C:\NORDICSEMI\v2.4.2\zephyr\arch\arm\core\offsets\offsets.c:9:
C:\NORDICSEMI\v2.4.2\modules\hal\nordic\nrfx\mdk\nrf52840.h:150:10: fatal error: core_cm4.h: No such file or directory
150 | #include "core_cm4.h" /*!< ARM Cortex-M4 processor and core peripherals */
| ^~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\NORDICSEMI\toolchains\31f4403e35\opt\bin\cmake.EXE' --build 'c:\Users\rosario\ab1\build'

Related