Homestead 虚拟机 glup 运行报错 Segmentation fault (core dumped)?

在学习laravel入门教程的时候,运行gulp程序报错Segmentation fault (core dumped)
百度了一下还是没能解决。

vagrant@homestead:~/Code/sample$ gulp
[09:14:46] Using gulpfile ~/Code/sample/gulpfile.js
[09:14:46] Starting 'default'...
[09:14:46] Starting 'sass'...
Segmentation fault (core dumped)

这是通过百度的方法找到core 用gdb where找到的错误代码

(gdb) where
#0  0x00007f239d4ee141 in ?? ()
#1  0x05e83092840e1183 in ?? ()
#2  0x18e1b88700bc4524 in ?? ()
#3  0x1202008c0400033a in ?? ()
#4  0x48851100a9043b60 in ?? ()
#5  0x2513c81534c2b150 in ?? ()
#6  0x0000000000000000 in ?? ()
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 3
leo

如果你是在宿主机执行的npm install就会这样,把node_modules目录删掉,然后在虚拟机里执行npm install

6年前 评论

@leo 感谢 用了google搜索到了我们社区其他类似的问答,让你又重新回复了,奇怪我一开始在社区问答搜索没找到啊T.T

6年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!