Skip to content

Commit

Permalink
Fix error on bin.js:130:5 when running with _npx
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
Likhithsai2580 committed Nov 3, 2024
1 parent 3d3ee93 commit 8f8f469
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions cofounder/api/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ async function build({ system }) {
),
);
/*
make the DAG graph decomposition parallelizor from the system and relations
handle : seq , parallel , recursion too !
*/
make the DAG graph decomposition parallelizor from the system and relations
handle : seq , parallel , recursion too !
*/
/*
event registration for system triggers (nodes are all registered for events node:{id} )
*/
event registration for system triggers (nodes are all registered for events node:{id} )
*/

if (LOGS_ENABLED) {
events.log.sequence.on(`sequence:start`, ({ id, context, data }) => {
Expand Down
2 changes: 1 addition & 1 deletion cofounder/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@": "."
},
"scripts": {
"start:npx": "npm i && nodemon --loader esm-module-alias/loader --no-warnings server.js",
"start:npx": "npm i && node --loader esm-module-alias/loader --no-warnings server.js",
"start": "nodemon --loader esm-module-alias/loader --no-warnings server.js"
},
"nodemonConfig": {
Expand Down

0 comments on commit 8f8f469

Please sign in to comment.