We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I keep getting this error when I try running npm run build
This has happened in CentOS and in Ubuntu.
Linting and checking validity of types ..Failed to compile. ./app/Guestbook.tsx:58:21 Type error: Cannot find name 'DateTime'. 56 | const record = await pb.collection('users').update(user.id, { 57 | message: message, > 58 | signed: new DateTime() | ^ 59 | }); 60 | console.log('Guestbook signed:', record); 61 | // setLastMessage(message);
The text was updated successfully, but these errors were encountered:
@endvine I was facing the same issue but that line is just for creating a timestamp. I changed new DateTime() to new Date() and it worked.
new DateTime()
new Date()
Sorry, something went wrong.
No branches or pull requests
I keep getting this error when I try running npm run build
This has happened in CentOS and in Ubuntu.
The text was updated successfully, but these errors were encountered: