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'
yarn create next-app --example api-routes-apollo-server-and-client-auth api-routes-apollo-server-and-client-auth-appyarn devIt should work normally.
I think that @lfades was the one that made the changes to work with SSG.
@zefexdeveloper Do you have uuid inside dependencies? 馃 Looks like Windows may be blocking access to the module
@zefexdeveloper Thank you for the report, it has been fixed 馃槍
@lfades Thank you for the fast update and the example. Keep up the good work :heart:
Most helpful comment
@zefexdeveloper Thank you for the report, it has been fixed 馃槍