Trying to make RankingBot with 'Noblox'

For some reason, it’s saying 'Error: Cannot find module ‘noblox.js’
Can someone help?

const noblox = require('noblox.js');
1 Like

I am not good with noblox, but when use

require

then it needs to be a model code.

What do you mean? (sorry)
I am quite new to js.

I used UTG for the longest I have known, and you need to put the ROBLOX model code in the parentheses of require.

Did you npm install the module?

I don’t think so.
30charsssssss

This is javascript…?

(30 chars)

Install the npm package first

1 Like

Oh, ok. I thought he was using lua.

When the code has const and .js in it, I think it’s safe to assume it’s JS (or at least not Lua).

3 Likes