Ask coding questions

← Back to all posts
i cant install package
ImLoading (0)


idk why i cant install how to reslove it?

Answered by InvisibleOne (3224) [earned 5 cycles]
View Answer
Comments
hotnewtop
InvisibleOne (3224)

it looks like you are trying to install , which is not a package, it's a comma, that's why the package operation is failing because that is an invalid tag name

ImLoading (0)

@InvisibleOne Thx I change const mojim = require(",/libs/mojim/index.js")
const mojim = Mojim()
to
const mojim = require("./libs/mojim/index.js") const mojim = Mojim()
Now it fixed.

Coder100 (18925)

please send the repl, your package.json is most likely invalid.

ImLoading (0)

@Coder100 i already resolved it, but thanks your help.