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

How to fix this fix error? #427

Open
TheBlueShi opened this issue Jun 24, 2023 · 1 comment
Open

How to fix this fix error? #427

TheBlueShi opened this issue Jun 24, 2023 · 1 comment

Comments

@TheBlueShi
Copy link

TheBlueShi commented Jun 24, 2023

Bang bang bang, cara ngefix error ini di replit gimana?
Uploading 9FE78269-F8AC-4BF7-9871-4031E1FFA128.jpeg…

Error: Cannot find module '/home/runner/MitsuhaBot/index.js'

Require stack:

-/nix/store/qpnf0dafrfsbcwb4z7cphjm0dff0v 171-prybar-nodejs-0.0.0e0d9a52/prybar_assets/nodejs/module-context-hook.js

/tmp/prybar-nodejs-226171165.js at Module._resolveFilename (node: internal/modules/cjs/loader:995:15)
at Function.resolve (node: internal/modules/cjs/helpers:109:19)

@sharma-shray
Copy link

Nowadays you can use package-lock.json file, which is automatically generated when npm modifies your node_modules directory.
Therefore you can leave out checking in packages, because the package-lock.json tracks the exact versions of your node_modules, you're currently using.
To install packages from package-lock.json instead of package.json use the command npm ci.

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