Hello,
I am trying to follow this tutorial Creating an Express JavaScript application with Contentful .
In package.json I changed the Content Delivery API access token and Space ID to reflect the ones from my dashboard.
When I run npm run dev
and attempt to visit localhost:3000 I get the error:
[nodemon] starting `node ./bin/www`
(node:11274) UnhandledPromiseRejectionWarning: #<Object>
(node:11274) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
I have currently got:
Contentful 0.26.4
Node v12.1.0
And I have tried Node 6.17.1 and that threw the same issue.
Can anyone help?