亲测解决Warning: Accessing non-existent property ‘lineno‘ of module

这个问题是由于stylus版本过低导致,解决方法是安装最新版本stylus。

问题原文

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

解决方法

npm install -g yarn
yarn remove hexo-renderer-stylus
yarn add hexo-renderer-stylus

参考资料

https://stackoverflow.com/questions/43313178/react-native-error-yarn-is-not-recognized-as-an-internal-or-external-command
https://www.haoyizebo.com/posts/710984d0/

你可能感兴趣的:(HTML,react,native,react.js,javascript)