Tag Archives: Computer application

Error: enoent: no such file or directory, stat ‘/ usr / local / var / www / /_ book/gitbook/git

Every time a gitbook is edited, there will be an error that causes the service that has been started through gitbook serve to stop. The error message is: error: enoent: no such file or directory, stat ‘/ usr/local/var/www//_ book/gitbook/gitbook-plugin-livereload/ plugin.js ‘

The background is that a new gitbook has been installed. Every time I edit the MD file in the project, I will hold the above error. As a result, the service I started through gitbook serve will stop and I can’t browse the edited gitbook normally

At the beginning, I didn’t care when I reported the error. The back office revised and edited the file several times, and found that the gitbook service would stop and report the above error after each modification. I found that this was not a mistake in my operation, but a problem with gitbok. After looking for the problem for a while, I didn’t have any idea, so I Baidu found out the bug in gitbook itself, The original configuration of gitbook is wrong. The specific modification method is as follows:

1. Find the configuration file address of gitbook (MAC system) in the user directory: Cd ~ to jump to the user directory of the current user

2. Find ~ /. Gitbook/versions/3.2.3/lib/output/website/ copyPluginAssets.js File, and then find all the confirm configuration items in this file (a total of 2 places), and change the original value of true to false

confirm: false

There are two places in total. Just change them

There was a problem sending the command to the program in Excel 2010

Environment: MicroSoft Excel 2010
Sending the Command to the program was a problem.

As shown in figure:


Solution: open Excel– & GT; File — — — — — — — — & gt; Options — — — — — — — — & gt; Senior — — — — — — — — & gt; Drop this check (ignoring other applications that use dynamic database exchange (DDE)) -& GT; To solve.
 
As shown in figure:


Resources:
http://support.microsoft.com/kb/211494
http://blog.sina.com.cn/s/blog_4988d99a0100u86i.html

Error: enoent: no such file or directory, stat ‘/ usr / local / var / www / / book/gitbook/git

After gitbook every edit, there will be an Error, which will cause the service started by gitbook Serve to stop. The Error message is :gitbook edit Error: Error: ENOENT: no such file or directory, stat ‘/usr/local/var/www/… /_book/gitbook/gitbook-plugin-livereload/plugin.js’
In the background, a gitbook was newly installed. Every time I edited the MD file in the project, I would catch the above error, which caused me to stop the service started by Gitbook Serve and could not properly browse the newly edited Gitbook.
At the beginning, I didn’t pay attention to the error report. Later, I modified and edited the file several times, and found that after each modification, gitbook service would stop and the error in the paper would be reported. Only to find that this is not a mistake of my operation, but the GITbok has a problem, find a problem for a while, no idea, baidu once, the original gitbook itself bug, the original gitbook is a configuration to the wrong configuration. The specific modification methods are as follows:
1. Find gitbook’s configuration file address (Mac system) in the user directory: CD ~ can jump to the current user’s user directory
2. Find ~ /. Gitbook/versions/3.2.3/lib/output/website/copyPluginAssets js file, and then find this file inside all confirm configuration items (2) total, will change the original values true or false.

confirm: false

There are 2 places in total, just change them.