-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
After upgrading to Meteor 1.8 and Akryum:vue-router2@0.2.2 sourcemap error #336
Comments
Any way to get around this? |
Take look at this babel fix: This makes me think that the problem is on line 41 of the vue-router2 plug-in: https://github.com/meteor-vue/vue-meteor/blob/master/packages/vue-router2/plugin/plugin.js
should presumably be changed to
However after making above change it then fails with another message:
So I also removed the line: It now compiles correctly |
Would be nice if this was fixed soonest. Otherwise we are still stuck with Meteor 1.7 Thanks ! |
Hey mwarren2, my team mate @ahmelkady and me figured it out how to temporarily "solve" this issue. Best regards |
@rekDen |
@Akryum Any chance of this being fixed? It looks like a simple fix yet It is forcing us to stay with Meteor 1.7. Please see my comments further up this page. I have outlined what I think needs to be done. Many thanks. |
Just to +1 this, I'm a new user to the vue/meteor combination (although working with meteor for ~3 years), and starting a project with meteor 1.8 and the akryum set of packages to enable this integration, and right at the beginning, run into this issue. |
I've replaced akryum:vue-router2 with vue-router. |
hey @mwarren2 what do you mean by replaced? in which file? |
I've never used the akryum version, standard vue-router works perfectly well with Meteor 1.8 |
I just updated to Meteor 1.8.3 and used @wildhart 's suggestion to use the npm package directly. I had to change of view things to migrate, like importing the path/route components directly, and changing a a few other lines of code, but it seems to be working very well now. |
Errors prevented startup:
While processing files with akryum:vue-router2 (for target web.browser):
/Users/jamesgibson/.meteor/packages/akryum_vue-router2/.0.2.2.3d8cvj.f7f9++os+web.browser+web.browser.legacy+web.cordova/plugin.vue-router.os/npm/node_modules/meteor/babel-compiler/node_modules/@babel/core/lib/config/validation/options.js:123:11:
.sourceMap is an alias for .sourceMaps, cannot use both
at assertNoDuplicateSourcemap
The text was updated successfully, but these errors were encountered: