解决(node)Warning: Accessing non-existent property ‘xxx‘ of module exports inside circular depen
(node)Warning: Accessing non-existent property ‘xxx’ of module exports inside circular depen
报错如下:
(node:18216) Warning: Accessing non-existent property 'column' of module exports inside circular depen (node:18216) Warning: Accessing non-existent property 'filename' of module exports inside circular dep (node:18216) Warning: Accessing non-existent property 'lineno' of module exports inside circular depen (node:18216) Warning: Accessing non-existent property 'column' of module exports inside circular depen (node:18216) Warning: Accessing non-existent property 'filename' of module exports inside circular dep
解决办法:
好像是stylus的问题,说node版本太高,要降低版本,于是我继续查找资料,在Github上找到了这个答案:
找到node_modules\stylus\lib\nodes\index.js文件,在index.js文件中加上以下代码,成功解决~
exports.lineno = null; exports.column = null; exports.filename = null;
声明:
1. 本站所有文章教程及资源素材均来源于网络与用户分享或为本站原创,仅限用于学习和研究。
2. 如果内容损害你的权益请联系客服QQ:1642748312给予处理。
码云笔记 » 解决(node)Warning: Accessing non-existent property ‘xxx‘ of module exports inside circular depen
1. 本站所有文章教程及资源素材均来源于网络与用户分享或为本站原创,仅限用于学习和研究。
2. 如果内容损害你的权益请联系客服QQ:1642748312给予处理。
码云笔记 » 解决(node)Warning: Accessing non-existent property ‘xxx‘ of module exports inside circular depen