abdulrahman.id icon indicating copy to clipboard operation
abdulrahman.id copied to clipboard

Installation Issue

Open dev-sheikh-ali opened this issue 2 years ago • 3 comments

Hey Abdulrahman i have tried to run this project and i am not quite familiar with firebase could you please share a screenshot of the view you have created or a bit clearer instructions like the contentful ones. i have also seen some random errors the site never loads e.g

              { sys: { type: 'Error', id: 'AccessTokenInvalid' },
                message:
                 'The access token you sent could not be found or is invalid.',
                requestId: '6adbb8ef-1637-4e3b-8235-64d9a92aaf44' }
              Warning: Invalid DOM property `crossorigin`. Did you mean `crossOrigin`?
                  at link
                  at html
                  at Html (webpack-internal:///./node_modules/next/dist/pages/_document.js:158:29)
                  at MyDocument (webpack-internal:///./pages/_document.js:12:1)
              Warning: Invalid event handler property `onload`. React events use the camelCase naming convention, for example `onClick`.
                  at link
                  at html
                  at Html (webpack-internal:///./node_modules/next/dist/pages/_document.js:158:29)
                  at MyDocument (webpack-internal:///./pages/_document.js:12:1)
              { sys: { type: 'Error', id: 'AccessTokenInvalid' },
                message:

i have put the right values in the .env.local file

dev-sheikh-ali avatar Apr 30 '22 21:04 dev-sheikh-ali

hey @dev-sheikh-ali, thanks for contributing by raising this issue.

That error message is a Contentful related error, it might be related to this commit 4ee3f8f5227c463c5b3404e387aefcc219d09dfe. I have added a new content type and updated the documentation for it on the readme, You can add the new content types in Contentful to resolve it.

As for the Firebase setup instructions, I will gladly accept a new pull request to improve the documentation.

abdulrcs avatar May 01 '22 01:05 abdulrcs

Thank you @abdulrcs , Eid mubarak

dev-sheikh-ali avatar May 01 '22 16:05 dev-sheikh-ali

message: 'The resource could not be found.', requestId: '2652df1f-8903-45de-b2f5-a48bc893728b' } Warning: Invalid DOM property crossorigin. Did you mean crossOrigin? at link at html at Html (C:\Users\hp\Downloads\abdulrahman.id-dev.next\server\pages_document.js:535:29) at MyDocument (C:\Users\hp\Downloads\abdulrahman.id-dev.next\server\pages_document.js:1100:1) Warning: Invalid event handler property onload. React events use the camelCase naming convention, for example onClick. at link at html at Html (C:\Users\hp\Downloads\abdulrahman.id-dev.next\server\pages_document.js:535:29) at MyDocument (C:\Users\hp\Downloads\abdulrahman.id-dev.next\server\pages_document.js:1100:1) (node:14344) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (Use node --trace-deprecation ... to show where the warning was created)

I am getting this message please help

atharva20-coder avatar Aug 20 '22 12:08 atharva20-coder

@dev-sheikh-ali which node version do I need to use for running this code?

berecat avatar Feb 20 '23 21:02 berecat

@dev-sheikh-ali which node version do I need to use for running this code?

heyy sorry for the late response , i used node v14.16.1

dev-sheikh-ali avatar Apr 04 '23 06:04 dev-sheikh-ali