Closed nabhan-rp closed 2 years ago
I'm sorry I don't understand the question. How could we reproduce this problem? Could you upload your project in a github repo? Why can't you remove node_modules?
Sounds like you are missing a transitive dependency. Rebuilding node_modules should help.
I'm sorry I don't understand the question. How could we reproduce this problem? Could you upload your project in a github repo? Why can't you remove node_modules?
Because I build node_modules manually and I install modules modules one by one. I can't run npm install and termux can't install package automatic. I should install it manually one by one downloaded directly on termux repo website and extract in /data/data/com.termux/files/usr/ via file manager have root access.
previously I have deleted node_modules once. if I have to do it again then I've reinstalled nodejs twice and installed it manually.
I'm sorry but we don't support this kind of setup. You made some mistake in assembling node_modules.
For others coming here with the same problem, I fixed it with npm i --no-save colorette
. With npm ls colorette
I could see that there was somehow a wrong version of colorette installed.
/storage/emulated/0/botwa/zbase/node_modules/pino-pretty/lib/colors.js:19 const availableColors = createColors({ useColor: true }) ^
Node.js v17.7.2
Why solve this error? without deleting node_modules folder because I see suggestions on stackoverflow solved by delete it.