BochilGaming / games-wabot

Games-wabot is RPG Bot Whatsapp. Now support Multi-device!!, check branch multi-device
http://bochil.ddns.net/
GNU General Public License v3.0
208 stars 507 forks source link

How to fix this fix error? #427

Open TheBlueShi opened 1 year ago

TheBlueShi commented 1 year ago

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 commented 3 months ago

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.