Netlify and dist folder

Im trying to deploy my first site to netlify through gethub , as i understand that i need to parcel all my code to the dist folder , but everytime i try to run the command which suppose to do suh an operation it give me this error message , what could be the problem

Error: The specified module could not be found.
\\?\C:\Users\toshiba\Desktop\Web design\Guess-Number\node_modules\@parcel\fs-search\fs-search.win32-x64-msvc.node
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1127:18)
    at Module.load (internal/modules/cjs/loader.js:941:32)
    at Function.Module._load (internal/modules/cjs/loader.js:782:14)
    at Module.require (internal/modules/cjs/loader.js:965:19)
    at require (C:\Users\toshiba\Desktop\Web design\Guess-Number\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
    at Object.<anonymous> (C:\Users\toshiba\Desktop\Web design\Guess-Number\node_modules\@parcel\fs-search\index.js:15:18)
    at Module._compile (C:\Users\toshiba\Desktop\Web design\Guess-Number\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:941:32)
    at Function.Module._load (internal/modules/cjs/loader.js:782:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! guess-number@1.0.0 build: `parcel build index.html`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the guess-number@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\toshiba\AppData\Roaming\npm-cache\_logs\2021-05-11T09_47_06_945Z-debug.log
"dev": "parcel index.html",
    "build": "parcel build index.html",
    "test": "jest",
    "test:watch": "jest --watch"

https://github.com/freesudani/Guess-Number

It says it can’t find a module. Is the module installed? In the right location? Did Googling the error give any insights?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.