Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatiable issue on windows #7

Open
goclaude opened this issue Jan 2, 2020 · 3 comments
Open

Compatiable issue on windows #7

goclaude opened this issue Jan 2, 2020 · 3 comments

Comments

@goclaude
Copy link

goclaude commented Jan 2, 2020

Error information:

Error: spawn  x:\xxx\node_modules\.bin\mmdc ENOENT

Bug location:

childProcess.execFile(binPath, args, function (err, stdout, stderr) {

Reason:
https://nodejs.org/api/child_process.html#child_process_spawning_bat_and_cmd_files_on_windows

I am not familiar with nodejs, it might takes me long to solve it gracefully, can you fix this please.

From another HWer 😆

@miao1007
Copy link
Owner

miao1007 commented Jan 2, 2020

rm node_modules, rm lock, and then reinstall dependencies.

————
Sent from espace.

@goclaude
Copy link
Author

goclaude commented Jan 2, 2020

Known issue? I don’t think it works, but I will try it tomorrow morning


Sent from Welink

@goclaude
Copy link
Author

goclaude commented Jan 3, 2020

rm -rf node_modules
rm package-lock.json
gitbook install
gitbook serve

still this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants