App Started Crashing
-
Hi all!
I apologize if I don’t provide enough information, first time posting. I can generally find the answer online somewhere.
Randomly today my app crashed with the error “Failed to compile with 0 errors”. The details below state:
Error from chokidar (D:): Error: EBUSY: resource busy or locked, lstat ‘D:\pagefile.sys’I’ve searched for this issue and tried many suggestions and I don’t know what else to try at this point. Here’s what I’ve done.
Removed node_modules and yarn.lock and ran ‘yarn’ in project folder
Removed all cached directories from %AppData%
Tried playing with different quasar versions
Had Windows remove pagefile upon system restartI’m able to start the dev server for other projects, but this one I’m currently working on I can’t. I don’t know how to reproduce this issue because I don’t know what I may have done to break it.
Here’s my package.json if it helps. Thank you for any help anyone is able to provide!
{ "name": "removed", "version": "0.0.1", "description": "removed", "productName": "removed", "author": "removed", "private": true, "scripts": { "dev": "cross-env QENV=development quasar dev", "lint": "eslint --ext .js,.vue ./", "test": "echo \"No test specified\" && exit 0", "build": "cross-env QENV=production quasar build" }, "dependencies": { "@quasar/cli": "^1.1.3", "@quasar/extras": "^1.9.14", "algoliasearch": "^4.8.4", "axios": "^0.21.0", "core-js": "3.6.5", "firebase": "^8.1.1", "hellojs": "^1.18.6", "instantsearch.css": "^7.4.5", "quasar": "^1.15.0", "vue-croppa": "^1.3.8", "vue-instantsearch": "^3.4.3", "vue-qrcode-component": "^2.1.1", "vuex-persistedstate": "^4.0.0-beta.1", "vuexfire": "^3.2.4" }, "devDependencies": { "@quasar/app": "2.1.14", "@quasar/quasar-app-extension-qenv": "^1.0.3", "babel-eslint": "^10.0.1", "cross-env": "^7.0.2", "eslint": "^6.8.0", "eslint-config-prettier": "^6.9.0", "eslint-loader": "^3.0.3", "eslint-plugin-vue": "^6.1.2", "quasar-app-extension-q-google-map": "^0.0.5" }, "browserslist": [ "last 10 Chrome versions", "last 10 Firefox versions", "last 4 Edge versions", "last 7 Safari versions", "last 8 Android versions", "last 8 ChromeAndroid versions", "last 8 FirefoxAndroid versions", "last 10 iOS versions", "last 5 Opera versions" ], "engines": { "node": ">= 10.20.1", "npm": ">= 6.13.4", "yarn": ">= 1.21.1" } }
-
- Did you try to restart your computer?
- Disable windows swap file (that will remove the D:\pagefile.sys)
See this thread with the same issue:
https://stackoverflow.com/questions/61936085/error-from-chokidar-c-error-ebusy-resource-busy-or-locked-lstat-c-dump -
Thanks for the tips, @dobbel. I also tried to do all those to no avail. What I ended up doing was pulling my last commit and replacing the files one at a time until the project crashed again. It was the strangest thing… it appears as though a newly added comment in the index.template.html file (I’ve been trying many different methods to get my font used in a html canvas to preload!) was crashing the entire app! I have no idea why commented out code would do that but nonetheless I’m back up and running!