How to troubleshoot Mac Local Install Ghost prompt error

Source: Internet
Author: User

because the original complete installation of Windows system is very time-consuming, and after reloading the system also need to reinstall the driver application, so there is a good clean system with ghost to back up, you can easily reload and restore. Because its operating environment is a Windows system, if installed in the MAC Local installation may be a failure of the situation, the following small set to tell you if you encounter Mac Local installation ghost hint "Error:cannot find module ' xxxxxxxx./ Bindingreleasenode-v11-darwin-x64node_sqlite3.node ' How to solve?

Installing node and NPM

Installing node and NPM is not a problem, although the problem of $PATH environment variable is not valid, but it is solved quickly.

Install Ghost Error

After downloading the ghost in the terminal and compiled via NPM Install–production, but the whole process was tried two or three times, it seems to be OK, but NPM start is invalid, the terminal window has the following error:

Message is similar to ' error:cannot find module ' Xxxxxxxx./bindingreleasenode-v11-darwin-x64node_sqlite3.node '

Reason

The installation of the Sqlite3 database failed, possibly because the installation source Amazon S3 was wall (although I was installed in Global agent mode);

Solution

Download the Sqlite3 file and unzip it into the Ghost installation path Node_modulessqlite3libbindingrelease folder, re-npm start.

Above is the Mac Local install Ghost prompt error:cannot find module ' xxxxxxxx./bindingreleasenode-v11-darwin-x64node_sqlite3.node ' solution.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.