Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module './settings' #122

Open
chaitanya642000 opened this issue Feb 21, 2021 · 0 comments
Open

Cannot find module './settings' #122

chaitanya642000 opened this issue Feb 21, 2021 · 0 comments

Comments

@chaitanya642000
Copy link

client@0.1.0 start C:\Users\hp\Desktop\SocialNetwork\client

react-scripts start

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

Error: Cannot find module './settings'
Require stack:

  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules@nodelib\fs.walk\out\index.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\fast-glob\out\readers\stream.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\fast-glob\out\providers\async.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\fast-glob\out\index.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\globby\index.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\react-dev-utils\globby.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\react-scripts\scripts\utils\verifyTypeScriptSetup.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\react-scripts\scripts\start.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object. (C:\Users\hp\Desktop\SocialNetwork\client\node_modules@nodelib\fs.walk\out\index.js:7:20)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\Users\hp\Desktop\SocialNetwork\client\node_modules\@nodelib\fs.walk\out\index.js',
    'C:\Users\hp\Desktop\SocialNetwork\client\node_modules\fast-glob\out\readers\stream.js',
    'C:\Users\hp\Desktop\SocialNetwork\client\node_modules\fast-glob\out\providers\async.js',
    'C:\Users\hp\Desktop\SocialNetwork\client\node_modules\fast-glob\out\index.js',
    'C:\Users\hp\Desktop\SocialNetwork\client\node_modules\globby\index.js',
    'C:\Users\hp\Desktop\SocialNetwork\client\node_modules\react-dev-utils\globby.js',
    'C:\Users\hp\Desktop\SocialNetwork\client\node_modules\react-scripts\scripts\utils\verifyTypeScriptSetup.js',
    'C:\Users\hp\Desktop\SocialNetwork\client\node_modules\react-scripts\scripts\start.js'
    ]
    }
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! client@0.1.0 start: react-scripts start
    npm ERR! Exit status 1
    npm ERR!

C:\Users\hp\Desktop\SocialNetwork>npm start --prefix client

client@0.1.0 start C:\Users\hp\Desktop\SocialNetwork\client
react-scripts start

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

Error: Cannot find module './settings'
Require stack:

  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules@nodelib\fs.walk\out\index.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\fast-glob\out\readers\stream.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\fast-glob\out\providers\async.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\fast-glob\out\index.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\globby\index.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\react-dev-utils\globby.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\react-scripts\scripts\utils\verifyTypeScriptSetup.js
  • C:\Users\hp\Desktop\SocialNetwork\client\node_modules\react-scripts\scripts\start.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)

node version:v14.15.3
npm version:6.14.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant