nextjs-notion-starter-kit icon indicating copy to clipboard operation
nextjs-notion-starter-kit copied to clipboard

Unexpected Token "?"

Open DimitriMichel opened this issue 3 years ago • 1 comments

Description

Getting Syntax Error: Unexpected Token "?" After npm install and changing rootNotionPageId , then npm run dev

Screen Shot 2022-04-28 at 5 42 42 PM

Notion Test Page ID

63ed685f17ad4325bda207860dc32723

DimitriMichel avatar Apr 28 '22 21:04 DimitriMichel

I got the same error, updating Node to the last version fixed it. In my case, I was in node 12, I upgraded to node 16.

https://github.com/nuxt/nuxt.js/issues/11865

Cod3lta avatar May 15 '22 21:05 Cod3lta