DEV Community

Discussion on: How to deploy React App to GitHub Pages

Collapse
 
learndeepak profile image
Learn-Deepak

I have deployed my react app on GitHub pages thanks to you Ibrahim. And now I have added some changes in the app, and I have committed the changes, but now when I am deploying it (using npm run build ) it is giving me the error, PLease help.

internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module 'D:\APR16\portfolio\run'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)