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

Vue SSR Serve #9

Open
jeissler opened this issue Mar 20, 2019 · 0 comments
Open

Vue SSR Serve #9

jeissler opened this issue Mar 20, 2019 · 0 comments

Comments

@jeissler
Copy link

Not sure if this plugin is being maintained or not, but I'm having an issue when using it with vue ssr:serve command. Before adding the SSR setup this plugin didn't seem to have any issues linting both vue/scss files on (re)build. Our SSR has been setup according to the official vue ssr docs (not using nuxt or similar) and I get an error on startup although running just the cli command (ie- not on build) everything is fine. So far my investigation shows it's to do w/ the 'friendly-errors' plugin (tap) options as shown here.

What happens is I end up with an undefined object if I log out options inside the plugin; it seems strange this would only happen when running the ssr version of the serve command, but I'm no expert w/ vue. Any help you can provide is much appreciated! The error snippet from running vue-cli-service ssr:serve is below for reference.

TypeError: Cannot read property 'additionalTransformers' of undefined
    at forEach
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

1 participant