[ERR_INVALID_ARG_TYPE] Problem With Yarn build

C:\laragon\www\david\wp-content\themes\david-azran>yarn build
yarn run v1.22.17
$ bud build
node:internal/errors:464
    ErrorCaptureStackTrace(err);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
    at readFile (node:fs:393:10)
    at go$readFile (C:\laragon\www\david\wp-content\themes\david-azran\node_modules\@roots\bud-support\lib\cjs\index.js:28298:14)
    at readFile (C:\laragon\www\david\wp-content\themes\david-azran\node_modules\@roots\bud-support\lib\cjs\index.js:28295:12)
    at C:\laragon\www\david\wp-content\themes\david-azran\node_modules\@roots\bud-support\lib\cjs\index.js:116224:12
    at new Promise (<anonymous>)
    at readFile (C:\laragon\www\david\wp-content\themes\david-azran\node_modules\@roots\bud-support\lib\cjs\index.js:116223:14)
    at Object._readFile (C:\laragon\www\david\wp-content\themes\david-azran\node_modules\@roots\bud-support\lib\cjs\index.js:83424:58)
    at Object._readFile (C:\laragon\www\david\wp-content\themes\david-azran\node_modules\@roots\bud-support\lib\cjs\index.js:116237:45)
    at Manifest.read (C:\laragon\www\david\wp-content\themes\david-azran\node_modules\@roots\bud\lib\cjs\context\manifest.js:10:33)
    at makeContext (C:\laragon\www\david\wp-content\themes\david-azran\node_modules\@roots\bud\lib\cjs\context\index.js:31:58) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Config File:

/**

 * @typedef {import('@roots/bud').Bud} bud

 *

 * @param {bud} app

 */

module.exports = async (app) => {

  app

    /**

     * Application entrypoints

     *

     * Paths are relative to your resources directory

     */

    .entry({

      app: ['@scripts/app', '@styles/app'],

      editor: ['@scripts/editor', '@styles/editor'],

    })

    /**

     * These files should be processed as part of the build

     * even if they are not explicitly imported in application assets.

     */

    .assets('images')

    /**

     * These files will trigger a full page reload

     * when modified.

     */

    .watch('resources/views/**/*', 'app/**/*')

    /**

     * Target URL to be proxied by the dev server.

     *

     * This is your local dev server.

     */

    .proxy('http://david.loc')

    /**

     * Development URL

     */

    .serve('http://david.loc');

};

What’s the problem I have ?

You used a screenshot instead of pasting your code, error, etc. Screenshots prevent folks from being able to copy and run/test your code, make posts less searchable for other people with the same problem, and prevent assistive technologies like screen readers from working.

Please replace the screenshot used here with copied text, and avoid using screenshots in the future unless you are trying to debug something visual.

Fixed ! Sorry For this… Will not be repeated

You’ll need to run build commands from a WSL environment

What that mean I don’t understand

“Build commands” are commands that build your assets, like bud build. On a Windows machine they need to be run from the Windows Subsystem for Linux, or WSL.