Index not found : repo stored in sub-folder

My new config setting :

I seem to receive the same error message on Building phase on my end :
11:30:32 PM: > vite build
11:30:32 PM: /opt/build/repo/node_modules/rollup/dist/native.js:87
11:30:32 PM: throw new Error(
11:30:32 PM: ^
11:30:32 PM: Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try npm i again after removing both package-lock.json and node_modules directory.

=========

I should try deleting the whole package-lock.json file and node_modules directory and install npm again ? as suggested