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 install #2

Closed
jmvbrown opened this issue Jan 3, 2023 · 4 comments
Closed

Cannot install #2

jmvbrown opened this issue Jan 3, 2023 · 4 comments

Comments

@jmvbrown
Copy link

jmvbrown commented Jan 3, 2023

ive tried to install, but all i get are errors. ive tried to install with npm , but cannot run npm install as i get this error:

C:\jellywatch>npm install
node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module 'C:\jellywatch\node_modules\npm\bin\npm-cli.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.12.1
node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module 'C:\jellywatch\node_modules\npm\bin\npm-cli.js'
←[90m    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)←[39m
←[90m    at Module._load (node:internal/modules/cjs/loader:841:27)←[39m
←[90m    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)←[39m
←[90m    at node:internal/main/run_main_module:23:47←[39m {
  code: ←[32m'MODULE_NOT_FOUND'←[39m,
  requireStack: []
}

Node.js v18.12.1

I've tried yarn as well ans i get these logs:

C:\jellywatch>yarn install
yarn install v1.22.19
$ :; (node ./preinstall.js > /dev/null 2>&1 || true)
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.19s.

C:\jellywatch>yarn run build
yarn run v1.22.19
error Command "build" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

any help would be greatly appreciated!

@Fallenbagel
Copy link
Owner

Could you show me a screenshot of the folder?

@jmvbrown
Copy link
Author

jmvbrown commented Jan 3, 2023

jellywatch folder

@Fallenbagel
Copy link
Owner

Fallenbagel commented Jan 3, 2023

Could you try this. Delete the folder. Git clone again. Run yarn install and then npm build.

@jmvbrown
Copy link
Author

jmvbrown commented Jan 3, 2023

Got it up and running! Thanks for the help!

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

2 participants