adefee / paver-palworld-save-editor

GNU General Public License v3.0
34 stars 6 forks source link

Linux land weirdness #7

Closed fang64 closed 6 months ago

fang64 commented 6 months ago

So I cloned the repo down I ran yarn, it seemingly handled dependencies, then I ran yarn start to only receive:

$ yarn start
yarn run v1.22.21
warning ../../package.json: No license field
$ node src/index.js
node:internal/modules/cjs/loader:1152
  throw err;
  ^

Error: Cannot find module '/home/fang64/git/paver-palworld-save-editor/src/index.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
    at Module._load (node:internal/modules/cjs/loader:990:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v21.6.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I ended up running "yarn dev" which seemed to work.

adefee commented 6 months ago

Hey, yep - the start script is technically not valid, and was a remnant from v1 I forgot to remove. Will handle that shortly, sorry!

adefee commented 6 months ago

Just a followup - start has been updated to mirror dev. Closing, please reopen if you notice the same issue again.