Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Warn on using unfinished circular dependency #4864

@SuperVisen

Description

@SuperVisen

First , my version of node and npm is v16.13.1 & 8.3.0.
After i generate my blog and run server, it's fine. Then , i reset my blog page and the command line said:

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

I refer some solution of friends, they said: it maybe cause by the version of hexo-renderer-stylus.But the the version of hexo-renderer-stylus is 0.54.8 in package-lock.json.

    "node_modules/hexo-renderer-stylus": {
      "version": "2.0.1",
      "resolved": "https://registry.npmjs.org/hexo-renderer-stylus/-/hexo-renderer-stylus-2.0.1.tgz",
      "integrity": "sha512-1S4AG8RtzWqVrqKIYv2AJ4UYms5SHDjkdYS7IiGwgUejL24agbTktpAbnH2cG1JWZ15SRqYN0UGB9aAoSAgvEA==",
      "dependencies": {
        "nib": "^1.1.2",
        "stylus": "^0.54.8"
      },
      "engines": {
        "node": ">=10.13.0"
      }

Hope your help! you can reply by Chinese or English,thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions