问题
1 2 3 4 5 6 7 8
| INFO Hexo is running at http://localhost:4000 . Press Ctrl+C to stop. (node:11276) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) (node:11276) Warning: Accessing non-existent property 'column' of module exports inside circular dependency (node:11276) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency (node:11276) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency (node:11276) Warning: Accessing non-existent property 'column' of module exports inside circular dependency (node:11276) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
|
解决
问题由于stylus导致,所以修改stylus的版本
在package.json
文件中添加这个
1 2 3
| "resolutions": { "stylus": "^0.54.8" },
|
然后执行npm install
或者yarn install
此操作相当于指定了stylus的版本。
Author: o_oyao
License: All articles in this blog are licensed under
CC BY-NC-SA 4.0 unless stating additionally.