至于未来会怎么样 反正路还长 天总会亮

Life is a journey, not a destination, care should be the scenery along the way and the mood to see the scenery.

个人博客
  • ...
     前端 浏览(5)  tangzihan ++阅读原文
    Uncaught TypeError: Cannot assign to read only property 'exports' of object
    今天在进行vue服务端渲染的时候,出现如下错误 Uncaught TypeError: Cannot assign to read only property 'exports' of object ' ' 查了资料 “在webpack打包的时候,可以在js文件中混用require和export。但是不...
  • ...
     前端 浏览(1)  tangzihan ++阅读原文
    Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
    3
  • ...
     前端 浏览(8)  tangzihan ++阅读原文
    Failed to mount component: template or render function not defined.
    今天在处理路由懒加载时出现如下报错 ![](http://)![](http://www.zihanzy.com/uploads/images/article_con/202008/30/article_con_1598779014_KTAUy5Hz6S.jpg) 究其原因是我的routes文件语法有问题 错误的语法...
  • ...
     前端 浏览(6)  tangzihan ++阅读原文
    Cannot read property 'bindings' of null
    webpack打包出错 `Cannot read property 'bindings' of null` ![](http://www.zihanzy.com/uploads/images/article_con/202008/30/article_con_1598771314_MBiYgCjkyu.jpg) 解决办法 npm install -D babel-loade...
  • ...
     前端 浏览(8)  tangzihan ++阅读原文
    Module build failed (from ./node_modules/babel-loader/lib/index.js)
    ![](http://)![](http://www.zihanzy.com/uploads/images/article_con/202008/17/article_con_1597620096_RyWtmmq5ux.png) 解决 npm install -D babel-loader @babel/core @babel/preset-env { "presets":[...
  • ...
     前端 浏览(7)  tangzihan ++阅读原文
    vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your
    解决办法 添加插件 ... const VueLoaderPlugin = require('vue-loader/lib/plugin') plugins:[ new VueLoaderPlugin() ] ...
  • ...
     程序 浏览(8)  tangzihan ++阅读原文
    安装composer后报错proc_open(): fork failed - Cannot allocate memory
    > 本文转载自:[https://www.jianshu.com/p/d9f6bead033b](https://www.jianshu.com/p/d9f6bead033b) 问题描述: 在linux服务器使用composer部署yii项目时,出现“proc_open(): fork failed - Cannot allocate m...
  • ...
     程序 浏览(38)  tangzihan ++阅读原文
    解决laravel Use of undefined constant JSON_INVALID_UTF8_SUBSTITUTE - assumed ‘JSON_INVAL
    安装 Laravel6.0报错 `Use of undefined constant JSON_INVALID_UTF8_SUBSTITUTE - assumed ‘JSON_INVAL` php 版本问题 composer.json的php版本最低要求为php7.2 ![在这里插入图片描述](https://img-blog.csdnim...
  • ...
     程序 浏览(12)  tangzihan ++阅读原文
    nginx connect() failed (111: Connection refused) while connecting to upstream
    今天将laravel项目部署到linux时,nginx日志报错nginx connect() failed (111: Connection refused) while connecting to upstream.... 经过排查发现,未开启php-fpm 检查php-fpm是否开启 `ps -aux | grep php-fpm`...
  • ...
     程序 浏览(6)  tangzihan ++阅读原文
    Failed to stop iptables.service: Unit iptables.service not loaded.
    redhat 7 的防火墙通过 systemctl stop firewalld关闭