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

Error on bin.js:130:5 when running with _npx - Potential Syntax/Runtime/Dependency Issue #7

Open
chidinweke opened this issue Oct 30, 2024 · 0 comments · Fixed by meslubi2021/cofounder#2 · May be fixed by #38
Open

Comments

@chidinweke
Copy link

chidinweke commented Oct 30, 2024

When attempting to run @openinterface/cofounder using _npx, the execution fails with an error pointing to bin.js on line 130, character 5. The exact error message is not provided in the output, but the stack trace is as follows:

main (file:///C:/Users/johndoe/AppData/Local/npm-cache/_npx/f748a024b9cdb317/node_modules/@openinterface/cofounder/bin.js:130:5)

Environment Details:

  • Node.js Version: v23.1.0
  • npm Version: 10.9.0 (used for _npx)
  • Operating System: Windows_NT 10.0.22631 (Windows 10/11)
  • @openinterface/cofounder Version: (Please note: I'm running this via _npx, so it's likely the latest version available in the cache. If a specific version is suspected to be the cause, please let me know how to verify.)

Steps to Reproduce:

  • Ensure Node.js and npm are installed (versions as above).
  • Open a terminal/command prompt.
  • Navigate to a directory of your choice (e.g., a new, empty project folder).
  • Run the command to execute @openinterface/cofounder via _npx (e.g., npx @openinterface/cofounder - please adjust if the actual command differs).
  • Observe the error output.

Attempted Troubleshooting:

  • Verified dependency versions (to the extent possible without explicit version numbers).
  • Briefly inspected the _npx cache for potential corruption (though no clear method for verification was found).

Request for Assistance:

Given the lack of a detailed error message and to better assist in resolving this issue, I would appreciate:

  • Guidance on how to retrieve more detailed error logging, if possible.
  • Confirmation of the expected behavior when running @openinterface/cofounder with _npx.
  • Any suggestions for troubleshooting steps that might have been overlooked.
  • If this is a known issue, please share the planned resolution timeline or a workaround.
Likhithsai2580 added a commit to Likhithsai2580/cofounder that referenced this issue Nov 3, 2024
Fixes raidendotai#7

Remove commented-out code block in `cofounder/api/build.js` to resolve error on `bin.js:130:5`.

* **`cofounder/api/build.js`**
  - Remove the commented-out code block at line 130.
  - Ensure the code compiles and runs without errors.

* **`cofounder/api/package.json`**
  - Adjust the script for starting the project with _npx to use `node` instead of `nodemon`.
@Likhithsai2580 Likhithsai2580 linked a pull request Nov 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant