Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

[graphql-countries-part1] Cannot find module 'graphql/validation/rules/PossibleTypeExtensions' #19

Open
remster85 opened this issue Jun 14, 2020 · 0 comments

Comments

@remster85
Copy link

While running sample

npm install
npm start

Result

  run `npm audit fix` to fix them, or `npm audit` for details
PS C:\Users\remid\Dev\graphql-samples\graphql-countries-part1> npm start  

> [email protected] start C:\Users\remid\Dev\graphql-samples\graphql-countries-part1
> nodemon ./server.js --exec babel-node

[nodemon] 1.17.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `babel-node ./server.js`
internal/modules/cjs/loader.js:955
  throw err;
  ^

Error: Cannot find module 'graphql/validation/rules/PossibleTypeExtensions'
Require stack:
- C:\Users\remid\Dev\graphql-samples\graphql-countries-part1\node_modules\apollo-graphql\lib\schema\buildSchemaFromSDL.js
- C:\Users\remid\Dev\graphql-samples\graphql-countries-part1\node_modules\apollo-graphql\lib\schema\index.js
- C:\Users\remid\Dev\graphql-samples\graphql-countries-part1\node_modules\apollo-graphql\lib\index.js
- C:\Users\remid\Dev\graphql-samples\graphql-countries-part1\node_modules\apollo-engine-reporting\dist\agent.js
- C:\Users\remid\Dev\graphql-samples\graphql-countries-part1\node_modules\apollo-server-core\dist\ApolloServer.js
- C:\Users\remid\Dev\graphql-samples\graphql-countries-part1\node_modules\apollo-server-core\dist\index.js
- C:\Users\remid\Dev\graphql-samples\graphql-countries-part1\node_modules\apollo-server-express\dist\index.js
- C:\Users\remid\Dev\graphql-samples\graphql-countries-part1\server.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:952:15)
    at Function.Module._load (internal/modules/cjs/loader.js:835:27)
    at Module.require (internal/modules/cjs/loader.js:1012:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (C:\Users\remid\Dev\graphql-samples\graphql-countries-part1\node_modules\apollo-graphql\src\schema\buildSchemaFromSDL.ts:34:1)
    at Module._compile (internal/modules/cjs/loader.js:1123:30)
    at Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Object.require.extensions.<computed> [as .js] (C:\Users\remid\Dev\graphql-samples\graphql-countries-part1\node_modules\babel-register\lib\node.js:152:7)
    at Module.load (internal/modules/cjs/loader.js:972:32)
    at Function.Module._load (internal/modules/cjs/loader.js:872:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\remid\\Dev\\graphql-samples\\graphql-countries-part1\\node_modules\\apollo-graphql\\lib\\schema\\buildSchemaFromSDL.js',
    'C:\\Users\\remid\\Dev\\graphql-samples\\graphql-countries-part1\\node_modules\\apollo-graphql\\lib\\schema\\index.js',
    'C:\\Users\\remid\\Dev\\graphql-samples\\graphql-countries-part1\\node_modules\\apollo-graphql\\lib\\index.js',
    'C:\\Users\\remid\\Dev\\graphql-samples\\graphql-countries-part1\\node_modules\\apollo-engine-reporting\\dist\\agent.js',
    'C:\\Users\\remid\\Dev\\graphql-samples\\graphql-countries-part1\\node_modules\\apollo-server-core\\dist\\ApolloServer.js',
    'C:\\Users\\remid\\Dev\\graphql-samples\\graphql-countries-part1\\node_modules\\apollo-server-core\\dist\\index.js',
    'C:\\Users\\remid\\Dev\\graphql-samples\\graphql-countries-part1\\node_modules\\apollo-server-express\\dist\\index.js',
    'C:\\Users\\remid\\Dev\\graphql-samples\\graphql-countries-part1\\server.js'
  ]
}
[nodemon] app crashed - waiting for file changes before starting...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant