vue-meteor icon indicating copy to clipboard operation
vue-meteor copied to clipboard

Get error when update to `akryum:[email protected]`

Open thearabbit opened this issue 7 years ago • 2 comments

I upgrade to [email protected] Get Error

While building for web.browser:
   imports/client/pages/Login.vue:30: [vue-component] Error while compiling in tag <script> col:60:
   /Users/theara/Desktop/meteor-app/meteor-element/imports/client/pages/Login.vue: "Meteor" is read-only
   imports/client/pages/Company.vue:53: [vue-component] Error while compiling in tag <script> col:102:
   /Users/theara/Desktop/meteor-app/meteor-element/imports/client/pages/Company.vue: "findOneCompany" is read-only
   imports/client/pages/Branch.vue:59: [vue-component] Error while compiling in tag <script> col:98:
   /Users/theara/Desktop/meteor-app/meteor-element/imports/client/pages/Branch.vue: "findBranches" is read-only
   imports/client/pages/BranchNew.vue:38: [vue-component] Error while compiling in tag <script> col:85:
   /Users/theara/Desktop/meteor-app/meteor-element/imports/client/pages/BranchNew.vue: "insertBranch" is read-only
   imports/client/pages/BranchEdit.vue:38: [vue-component] Error while compiling in tag <script> col:100:
   /Users/theara/Desktop/meteor-app/meteor-element/imports/client/pages/BranchEdit.vue: "findOneBranch" is read-only
// Login.vue
........
<script>
    import {Meteor} from 'meteor/meteor';

    export default {
        data() {

thearabbit avatar Dec 13 '17 13:12 thearabbit

I can't import any npm package in .vue file

thearabbit avatar Dec 19 '17 10:12 thearabbit

I tried to downgrad to akryum:[email protected], it work fine

thearabbit avatar Dec 19 '17 13:12 thearabbit