NodeJS Module Console

Driw

Warper
Member
Joined
Mar 31, 2019
Messages
2
Reaction score
0
First Language
Portugues
Primarily Uses
RMMV
Hey guys,

Im using the benefits of NodeJS with require()/modules.export.

But for some reason debugger; and console.log(...) doesn't work on this scripts, but outter it work well.

upload_2019-3-30_23-37-25.png

upload_2019-3-30_23-38-5.png

He call connect() method and do what is on it like constructor to but debugger and console.log() not works. I don't know if is a limitation of framework or what, how I solve it? If there are something that will solve it...
 

Driw

Warper
Member
Joined
Mar 31, 2019
Messages
2
Reaction score
0
First Language
Portugues
Primarily Uses
RMMV
Solved. It is a configuration of NWJS (Node Webkit JS) that is used by RPG Maker to run the game.

Add "chromium-args": "--mixed-context" on package.json
 

PMantis13

Caipirinha lover.
Veteran
Joined
Aug 29, 2020
Messages
31
Reaction score
18
First Language
PT-BR
Primarily Uses
RMMZ
Hey guys,

Im using the benefits of NodeJS with require()/modules.export.

But for some reason debugger; and console.log(...) doesn't work on this scripts, but outter it work well.

View attachment 112465

View attachment 112466

He call connect() method and do what is on it like constructor to but debugger and console.log() not works. I don't know if is a limitation of framework or what, how I solve it? If there are something that will solve it...
I'm sorry by the late response, but I'm having problems using export/require. I'm using RMMZ, and I'm not being able to do so. I thought NodeJS came pre-installed, but I can't export any module (I get
Uncaught SyntaxError: Unexpected token 'export' everytime). How did you do it?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,018
Messages
1,018,357
Members
137,803
Latest member
andrewcole
Top