strapi / nextjs-corporate-starter

Strapi Demo application for Corporate Websites using Next.js
MIT License
966 stars 287 forks source link

Error during install dependencies. #15

Closed jason-liu22 closed 1 year ago

jason-liu22 commented 1 year ago

Screenshot from 2023-04-27 10-41-25

As you can see in the image above, the error comes from better-sqlite package. This repo uses better-sqlite@7.4.6. and it seems that it is not working with v18.x.x of the node.js.

I upgraded the version of better-sqlite as a latest one. and then it works.

My node.js version is 18.12.1.

PaulBratslavsky commented 1 year ago

I am using node version v18.14.2 and have no issues. I am using "better-sqlite3": "7.4.6".

But I will upgrade it to the latest to avoid issues just in case.

Will be closing this issue. Thanks for the help.