question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

api-routes-apollo-server-and-client-auth errors

See original GitHub issue

Bug report

I installed the example, installed the dependencies and yarn dev, and the errors appeared:

Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat ‘C:\pagefile.sys’ error - ./lib/user.js Module not found: Can’t resolve ‘uuid/v4’ in ‘C:\Users\zefex\Desktop\api-routes-apollo-server-and-client-auth\lib’ wait - compiling… error - ./lib/user.js Module not found: Can’t resolve ‘uuid/v4’ in ‘C:\Users\zefex\Desktop\api-routes-apollo-server-and-client-auth\lib’

To Reproduce

  1. yarn create next-app --example api-routes-apollo-server-and-client-auth api-routes-apollo-server-and-client-auth-app
  2. yarn dev

Expected behavior

It should work normally.

System information

  • OS: Windows 7
  • Browser: Firefox 77.0.1
  • Version of Next.js: latest
  • Version of Node.js: 12.16.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
lfadescommented, Jun 12, 2020

@zefexdeveloper Thank you for the report, it has been fixed 😌

1reaction
theprobugmakercommented, Jun 12, 2020

@lfades Thank you for the fast update and the example. Keep up the good work ❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authentication and authorization - Apollo GraphQL Docs
Control access to your GraphQL API · Authentication is determining whether a given user is logged in, and subsequently determining which user someone...
Read more >
Error handling - Apollo GraphQL Docs
Whenever Apollo Server encounters errors while processing a GraphQL operation, its response to the client includes an errors array containing each error that ......
Read more >
API Reference: ApolloServer - Apollo GraphQL Docs
This article documents the ApolloServer class from the @apollo/server package. You can use the ApolloServer class to create an instance of Apollo Server...
Read more >
Setting Up Authentication and Authorization with Apollo ...
The client will send that access token back in an Authorization header or in a cookie with subsequent requests to the server; The...
Read more >
Error handling - Apollo GraphQL Docs
Whenever Apollo Server encounters errors while processing a GraphQL operation, its response to the client includes an errors array that contains each error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found