Browserify watchify compile old ressource on local

2019-08-03 19:31发布

问题:

I'm pretty new on compiler and npm command.

I use this starter for a project https://github.com/vuejs-templates/browserify-simple

I served my project and I was working on when I update a script (I'm working with Single File Component - VueJS) and now the output "dist.js" is still in error due to old script. I have reinstall, create a new project, I copy my new sources and when I launch the command "npm run dev" I have the same error due to script which does't exist anymore.

TypeError: Cannot convert undefined or null to object
at Function.values (<anonymous>)
at http://localhost:8080/dist/build.js:35858:32
at Array.filter (native)
at VueComponent.userLigues

"VueCompnent.userLigues" doesn't exist anymore in my new code.

That's a real problem I have to solve for tomorrow night :(

Thanks in advance !