Giter Site home page Giter Site logo

Comments (3)

okoala avatar okoala commented on May 10, 2024

@MiYogurt 目测应该是 Vue 和 Element 版本冲突,你把 Vue 和 Element 相关的依赖都升级到最新看看~

from egg-vue-typescript-apollo-graphql-startkit.

MiYogurt avatar MiYogurt commented on May 10, 2024

@okoala 老司机

 apollo-client                    ^0.4.20  →   ^0.8.5
 egg                               ^0.2.1  →  ^0.12.0
 egg-view-nunjucks                 ^0.5.0  →   ^1.0.0
 element-ui                    1.0.0-rc.7  →    1.1.6
 graphql                           ^0.7.1  →   ^0.9.1
 graphql-tag                      ^0.1.14  →   ^1.2.4
 graphql-tools                     ^0.7.2  →  ^0.10.0
 vuex-router-sync                  ^3.0.0  →   ^4.1.2
 @types/axios                     ^0.9.32  →  ^0.14.0
 @types/node                      ^6.0.45  →   ^7.0.5
 babel-plugin-component            ^0.4.3  →   ^0.9.0
 babel-preset-es2015-rollup        ^1.2.0  →   ^3.0.0
 cross-spawn                       ^4.0.2  →   ^5.0.1
 css-loader                       ^0.23.1  →  ^0.26.1
 egg-bin                               ^1  →       ^2
 egg-mock                          ^0.0.5  →   ^3.0.0
 eslint-config-vue                 ^1.1.0  →   ^2.0.2
 eslint-plugin-html                ^1.5.3  →   ^2.0.0
 file-loader                       ^0.9.0  →  ^0.10.0
 karma-webpack                     ^1.8.0  →   ^2.0.2
 memory-fs                         ^0.3.0  →   ^0.4.1
 npm-run-all                       ^3.1.0  →   ^4.0.1
 postcss-loader                   ^0.13.0  →   ^1.3.0
 selenium-server                  ^2.53.1  →   ^3.0.1
 ts-loader                         ^0.9.1  →   ^2.0.0
 vue-loader                        ^9.7.0  →  ^11.0.0
 vue-style-loader                  ^1.0.0  →   ^2.0.0
 webpack                          ^1.13.2  →   ^2.2.1
 webpack-dev-server               ^1.16.2  →   ^2.3.0
 webpack-prerender-spa-plugin      ^0.1.1  →   ^0.2.0

我用 ncu 检测了一下,版本变化太大了,更新下吧。

from egg-vue-typescript-apollo-graphql-startkit.

MiYogurt avatar MiYogurt commented on May 10, 2024

升级了一下,发现 vue-loader 还需要

npm i vue-template-compiler -D

通过自己的 debug 能力终于跑起来了。

from egg-vue-typescript-apollo-graphql-startkit.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.