当前位置:网站首页>Warning: Accessing non-existent property ‘column‘ of module exports inside circular depen

Warning: Accessing non-existent property ‘column‘ of module exports inside circular depen

2022-06-10 04:59:00 Flying fish

(node:1841024) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1841024) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:1841024) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:1841024) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:1841024) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:1841024) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency

Modify the file location as follows :
Note that the file location is  node_modules\nib\node_modules\stylus, instead of \node_modules\stylus

node_modules\nib\node_modules\stylus\lib\nodes\index.js

Add the following code to the file header

exports.lineno = null;
exports.column = null;
exports.filename = null;

原网站

版权声明
本文为[Flying fish]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206091206464414.html