Answer the question
In order to leave comments, you need to log in
Is there an error after launching the bot for VK through the phone in the nodejs language?
Problem help!
The problem itself
Error: Cannot find module 'vk-io'
Require stack:
- /storage/emulated/0/xped/4/bot.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15 )
at Function.Module._load (internal/modules/cjs/loader.js:898:27)
at Module.require (internal/modules/cjs/loader.js:1089:19)
at require (internal/modules/cjs/ helpers.js:73:18)
at Object. (/storage/emulated/0/xped/4/bot.js:1:24)
at Module._compile (internal/modules/cjs/loader.js:1200:30)
at Object.Module._extensions..js (internal /modules/cjs/loader.js:1220:10)
at Module.load (internal/modules/cjs/loader.js:1049:32)
at Function.Module._load (internal/modules/cjs/loader.js:937:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
code: 'MODULE_NOT_FOUND',
requireStack : [ '/storage/emulated/0/xped/4/bot.js' ]
Answer the question
In order to leave comments, you need to log in
You just need to translate the question and everything will be clear...
Enter in the terminal:
npm i vk-io
What is
noent ENOENT: no such file or directory, open '/storage/emulated/0/xped/4/package.json'
npm WARN 4 No description
npm WARN 4 No repository field.
npm WARN 4 No README data
npm WARN 4 No license field.
npm ERR! code EEXIST
npm ERR! path /storage/emulated/0/xped/4/node_modules/.bin/chalk-animation
npm ERR! Refusing to delete /storage/emulated/0/xped/4/node_modules/.bin/chalk-animation: is outside /storage/emulated/0/xped/4/node_modules/chalk-animation and not a link
npm ERR! File exists: /storage/emulated/0/xped/4/node_modules/.bin/chalk-animation
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! /data/data/com.termux/files/home/.npm/_logs/2020-08-09T20_18_17_965Z-debug.log
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question