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

Cannot resolve updateLoadingState.js in @vuepress/core/.temp/internal #1119

Closed
1 task done
mrleblanc101 opened this issue Dec 18, 2018 · 3 comments
Closed
1 task done

Comments

@mrleblanc101
Copy link

mrleblanc101 commented Dec 18, 2018

  • I confirm that this is a issue rather than a question.

Bug report

Both npm run build and npm run dev work.
The issue is that every time I update a markdown file, I get an error.
The error prevent the hot reload so I have to run stop and start npm run dev again.

ERROR in ./node_modules/@vuepress/core/.temp/internal/root-mixins.js
Module not found: Error: Can't resolve '/Users/sleblanc/www/alexandrie/node_modules/@vuepress/core/lib/app/root-mixins/updateLoadingState.js' in '/Users/sleblanc/www/alexandrie/node_modules/@vuepress/core/.temp/internal'
 @ ./node_modules/@vuepress/core/.temp/internal/root-mixins.js 5:0-117 10:2-4
 @ ./node_modules/@vuepress/core/.temp/internal/routes.js
 @ ./node_modules/@vuepress/core/lib/app/app.js
 @ ./node_modules/@vuepress/core/lib/app/clientEntry.js
 @ multi ./node_modules/@vuepress/core/lib/app/clientEntry.js

Version

Alpha 30

Steps to reproduce

What is actually happening?

The file updateLoadingState.js does not exist.

Other relevant information

  • Your OS: macOS 10.14.1
  • Node.js version: 9.8.0
  • Browser version: Chrome 72
  • Is this a global or local install? Global
  • Which package manager did you use for the install? Yarn
@psi-4ward
Copy link
Contributor

Have similar issues on linux. Looks like a race cond when a file gets saved.

@ulivz
Copy link
Member

ulivz commented Dec 25, 2018

I can ensure that you didn't use alpha.30 since this file and this import has been removed at ece2e1e which was out at alpha.30.

So please update your version to the latest.

@ulivz ulivz closed this as completed Dec 25, 2018
@psi-4ward
Copy link
Contributor

Yes seems way better with alpha.30!

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