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

Search doesn't work on build #561

Closed
ahmmu18 opened this issue Jun 8, 2018 · 7 comments
Closed

Search doesn't work on build #561

ahmmu18 opened this issue Jun 8, 2018 · 7 comments

Comments

@ahmmu18
Copy link

ahmmu18 commented Jun 8, 2018

Bug report

Version

0.10.0

Steps to reproduce

What is expected?

What is actually happening?

Search functionality doesn't work in built version

Other relevant information

  • Your OS: Mac 10.13.4
  • Node.js version: v8.11.1
  • Browser version: Chrome v67
  • Is this a global or local install? global
  • Which package manager did you use for the install? yarn
@ycmjason
Copy link
Contributor

ycmjason commented Jun 8, 2018

What do you mean it is not working? Mind give more description?

@ahmmu18
Copy link
Author

ahmmu18 commented Jun 8, 2018

@ycmjason The functionality is not working, so when I try to search for a term there's no suggestions dropdown, also pressing enter to submit won't take you anywhere.

All of that is when you have built version (static pages), however everything works fine in dev version

@ahmmu18
Copy link
Author

ahmmu18 commented Jun 8, 2018

@ycmjason I hosted the built version here, please check :)

@ycmjason
Copy link
Contributor

ycmjason commented Jun 8, 2018

@ahmmu18 thanks. Do you have the source of the site? Your markdowns, your configs, etc.

@ahmmu18
Copy link
Author

ahmmu18 commented Jun 8, 2018

@ycmjason Here's the config file.

Regards markdown files, I'm using some html inside; however it's good to mention (again) that everything works great in dev

@ycmjason
Copy link
Contributor

ycmjason commented Jun 8, 2018

Btw, looks like a duplicate to #492 to me looking at the errors in console.

Did you install VuePress globally or just locally? If globally, try uninstall VuePress and install again. If locally, remove node_modules and npm i again?

@ahmmu18
Copy link
Author

ahmmu18 commented Jun 8, 2018

@ycmjason That fixed everything!

Thank you for your time and your efforts ... appreciated :)

@ahmmu18 ahmmu18 closed this as completed Jun 8, 2018
@ulivz ulivz added the duplicate label Jun 8, 2018
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

3 participants