neo4j-labs / neoconverse

A GenAI Copilot for conversing with Neo4j Graph Databases
25 stars 7 forks source link

sudo npm run build fails #1

Closed tonypius closed 2 months ago

tonypius commented 3 months ago

sudo npm run build fails when I run it.

Screenshot 2024-05-14 at 5 34 55 PM

It fails on an syntax issue.

Ayo-faks commented 3 months ago

Run without sudo

tonypius commented 3 months ago

Same error with and without sudo

kumarss20 commented 2 months ago

@tonypius This seems to be an issue with the node version, you might want to upgrade to node 15 + and try again

References

https://stackoverflow.com/questions/74707066/nextjs-unexpected-token

https://github.com/vercel/next.js/discussions/49923

tonypius commented 2 months ago

That seemed to have fixed the issue. Thanks.