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

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

Closed
theprobugmaker opened this issue Jun 11, 2020 · 6 comments · Fixed by #14111
Closed

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

theprobugmaker opened this issue Jun 11, 2020 · 6 comments · Fixed by #14111

Comments

@theprobugmaker
Copy link

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
@theprobugmaker
Copy link
Author

I think that @lfades was the one that made the changes to work with SSG.

@theprobugmaker theprobugmaker changed the title api-routes-apollo-server-and-client-auth bug api-routes-apollo-server-and-client-auth errors Jun 11, 2020
@lfades
Copy link
Member

lfades commented Jun 11, 2020

@zefexdeveloper Do you have uuid inside dependencies? 🤔 Looks like Windows may be blocking access to the module

@theprobugmaker
Copy link
Author

@lfades Yes, I do.

@lfades
Copy link
Member

lfades commented Jun 12, 2020

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

@theprobugmaker
Copy link
Author

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

@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants