DenzelCode / nest-auth

NestJS authentication with MongoDB, WebSocket and JWT (Login, Register, Google Login, Facebook Login, Apple Login, Messages, Rooms, Private DMs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing directory

gitxav opened this issue · comments

Hi:
It seems a directory is missing. Running npm run start:dev I get:

Error: ENOENT: no such file or directory, open '~/Documents/Nestjs/nest-auth/secrets/apple-key.p8'
    at Object.openSync (fs.js:476:3)
    at Object.readFileSync (fs.js:377:35)
    at Object.<anonymous> (~/Documents/Nestjs/SELECCION-ULTIMA/nest-auth/src/features/auth/service/apple-auth.service.ts:16:20)

Best regards.

You have to put the Key of your apple app in there, just create an empty file named like that in that directory

Fixed on commit 9700b80