Giter Club home page Giter Club logo

Comments (9)

jkchao avatar jkchao commented on July 28, 2024

报错信息截图看看

from blog-admin.

BaoMinghui avatar BaoMinghui commented on July 28, 2024

node 8.11.2
npm 5.6.0

ERROR Failed to compile with 12 errors 09:07:57
error in E:\nuxt-blog\vue-admin-master\src\pages\Links\Index.vue.tsx

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\pages\Links\Index.vue.tsx(120,24)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in E:\nuxt-blog\vue-admin-master\src\pages\Links\Index.vue.tsx

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\pages\Links\Index.vue.tsx(154,27)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in E:\nuxt-blog\vue-admin-master\src\pages\Book\Index.vue.tsx

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\pages\Book\Index.vue.tsx(291,24)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in E:\nuxt-blog\vue-admin-master\src\pages\Book\Index.vue.tsx

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\pages\Book\Index.vue.tsx(326,27)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in E:\nuxt-blog\vue-admin-master\src\pages\Article\Release.vue.tsx

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\pages\Article\Release.vue.tsx(179,24)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in E:\nuxt-blog\vue-admin-master\src\pages\Tags\Index.vue.tsx

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\pages\Tags\Index.vue.tsx(144,24)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in E:\nuxt-blog\vue-admin-master\src\pages\Tags\Index.vue.tsx

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\pages\Tags\Index.vue.tsx(178,27)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in ./src/utils/loginIn.ts

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\utils\loginIn.ts(8,15)
TS2339: Property 'localStorage' does not exist on type 'typeof window'.

error in ./src/utils/loginIn.ts

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\utils\loginIn.ts(9,38)
TS2339: Property 'localStorage' does not exist on type 'typeof window'.

error in ./src/store/index.ts

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\store\index.ts(55,14)
TS2339: Property 'localStorage' does not exist on type 'typeof window'.

error in ./src/api/axios.ts

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\api\axios.ts(22,16)
TS2339: Property 'localStorage' does not exist on type 'typeof window'.

error in ./src/api/axios.ts

[tsl] ERROR in E:\nuxt-blog\vue-admin-master\src\api\axios.ts(23,66)
TS2339: Property 'localStorage' does not exist on type 'typeof window'.

from blog-admin.

jkchao avatar jkchao commented on July 28, 2024

tsconfig.json 里 target 选项改成 es6 试试。

from blog-admin.

BaoMinghui avatar BaoMinghui commented on July 28, 2024

还是老样子

from blog-admin.

xyyWork2018 avatar xyyWork2018 commented on July 28, 2024

我的那个第二次npm run dev 的时候又成功运行了,我什么都没有改,但是登录不进去,在图中的文件中找到的是否是用户名和密码,如果不是,那用户名和密码是啥啊
1532746830 1

from blog-admin.

jkchao avatar jkchao commented on July 28, 2024

需要登录的话,要启 node-koa 这个项目

from blog-admin.

nieyin avatar nieyin commented on July 28, 2024

ERROR Failed to compile with 12 errors 00:34:09

error in /Users/yin/proj/vue-admin/src/pages/Links/Index.vue.tsx

[tsl] ERROR in /Users/yin/proj/vue-admin/src/pages/Links/Index.vue.tsx(188,24)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in /Users/yin/proj/vue-admin/src/pages/Links/Index.vue.tsx

[tsl] ERROR in /Users/yin/proj/vue-admin/src/pages/Links/Index.vue.tsx(222,27)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in /Users/yin/proj/vue-admin/src/pages/Book/Index.vue.tsx

[tsl] ERROR in /Users/yin/proj/vue-admin/src/pages/Book/Index.vue.tsx(291,24)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in /Users/yin/proj/vue-admin/src/pages/Book/Index.vue.tsx

[tsl] ERROR in /Users/yin/proj/vue-admin/src/pages/Book/Index.vue.tsx(326,27)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in /Users/yin/proj/vue-admin/src/pages/Tags/Index.vue.tsx

[tsl] ERROR in /Users/yin/proj/vue-admin/src/pages/Tags/Index.vue.tsx(144,24)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in /Users/yin/proj/vue-admin/src/pages/Tags/Index.vue.tsx

[tsl] ERROR in /Users/yin/proj/vue-admin/src/pages/Tags/Index.vue.tsx(178,27)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in /Users/yin/proj/vue-admin/src/pages/Article/Release.vue.tsx

[tsl] ERROR in /Users/yin/proj/vue-admin/src/pages/Article/Release.vue.tsx(179,24)
TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in ./src/utils/loginIn.ts

[tsl] ERROR in /Users/yin/proj/vue-admin/src/utils/loginIn.ts(8,15)
TS2339: Property 'localStorage' does not exist on type 'typeof window'.

error in ./src/utils/loginIn.ts

[tsl] ERROR in /Users/yin/proj/vue-admin/src/utils/loginIn.ts(9,38)
TS2339: Property 'localStorage' does not exist on type 'typeof window'.

error in ./src/store/index.ts

[tsl] ERROR in /Users/yin/proj/vue-admin/src/store/index.ts(55,14)
TS2339: Property 'localStorage' does not exist on type 'typeof window'.

error in ./src/api/axios.ts

[tsl] ERROR in /Users/yin/proj/vue-admin/src/api/axios.ts(22,16)
TS2339: Property 'localStorage' does not exist on type 'typeof window'.

error in ./src/api/axios.ts

[tsl] ERROR in /Users/yin/proj/vue-admin/src/api/axios.ts(23,66)
TS2339: Property 'localStorage' does not exist on type 'typeof window'.

我也有一样的错误,改成es6也是跑不起来,请教一下楼主是什么问题?

from blog-admin.

pyuany avatar pyuany commented on July 28, 2024

image
z这是什么错误啊

from blog-admin.

tongjiaqi avatar tongjiaqi commented on July 28, 2024

@nieyin 同一个问题,你解决了吗

from blog-admin.

Related Issues (18)

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.