Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'acorn/package.json' #94

Open
hdby99 opened this issue Jan 31, 2024 · 0 comments
Open

Cannot find module 'acorn/package.json' #94

hdby99 opened this issue Jan 31, 2024 · 0 comments

Comments

@hdby99
Copy link

hdby99 commented Jan 31, 2024

I'm trying to run Code2flow for JS on RHEL 8. I've installed all the dependencies ([email protected] and [email protected]).
I've tried reinstalling acorn and checked if it is on system's PATH.

`Error: Cannot find module 'acorn/package.json'
Require stack:

  • /usr/local/lib/python3.6/site-packages/code2flow-2.5.1-py3.6.egg/code2flow/[eval]
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Module._load (node:internal/modules/cjs/loader:901:27)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at [eval]:1:1
    at Script.runInThisContext (node:vm:122:12)
    at Object.runInThisContext (node:vm:296:38)
    at node:internal/process/execution:83:21
    at [eval]-wrapper:6:24
    at runScript (node:internal/process/execution:82:62) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/usr/local/lib/python3.6/site-packages/code2flow-2.5.1-py3.6.egg/code2flow/[eval]'
    ]
    `
    I would really appreciate if someone could help me sort this out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant