You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys. I am new to npm and node js. I made a discord bot and I deployed it to Heroku by using GitHub. I checked all settings in Heroku. I typed 'node bot.js' but it says 'Error: Cannot find module 'm3u8stream/lib/parse-time'. Then I opened the console, opened bash, and typed 'cp -r ./node_modules/m3u8stream/dist ./node_modules/m3u8stream/lib'. Then I typed 'node bot.js'. The bot is online and it worked perfectly. I don't know is this a bug or whatever. I've got the package.json file here: packagejson.txt
Hope someone can help me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys. I am new to npm and node js. I made a discord bot and I deployed it to Heroku by using GitHub. I checked all settings in Heroku. I typed 'node bot.js' but it says 'Error: Cannot find module 'm3u8stream/lib/parse-time'. Then I opened the console, opened bash, and typed 'cp -r ./node_modules/m3u8stream/dist ./node_modules/m3u8stream/lib'. Then I typed 'node bot.js'. The bot is online and it worked perfectly. I don't know is this a bug or whatever. I've got the package.json file here:
packagejson.txt
Hope someone can help me.
Beta Was this translation helpful? Give feedback.
All reactions