X-Press Publishing

Hello! I’m at the “X-Press Publishing” project and I’m trying to install npm. This is the result:

I read and try every suggestion on the forum but nothing seems to work. Do you have any suggestions on how I can solve this problem, in order to move on with the project?

Thank you!

Hello,

Newer versions of node don’t work with older versions of sqlite3. The solutions are to either downgrade to an older version of node, install a node version manager and switch to an older version, or to use a newer version of sqlite3 for the project.

I used the last option because of this post: Problem installing sqlite3

This worked for me after making the change in package.json and running npm install again . Nothing else in the project needed to be adjusted to complete it.

1 Like

Thank you very much for your response. I made the change in package.json as you told me, and it works. :slight_smile:

Just a reminder for those of you who, like me, are struggling with this problem: after you make the changes in package.json don’t forget to save the changes!!! :slight_smile:

This project does not work with newer versions of Node.js. I was able to get it to work with node LTS version 10 “Dubnium”

If you are using nvm (Node Version Manager), install version 10 with nvm install --lts=dubnium and switch to using it with nvm use 10.

In the package.json file, change the Sqlite version to 4.1.1 as described above.

Run npm i and the packages should install and load without issues