The js execution environment is how window, executes in nodejs.

The

js file cannot be modified. What kind of module does
need for nodejs?
or do you need nodejs to simulate the browser environment?
thanks not only to those who have seen the questions, but also to the Daniel who answered the questions for help!

Mar.04,2021

The global variables in the

browser are all attributes of window .

The global variables in

nodejs are attributes of global .


you install node, and then run it to see what's wrong, or you paste the code and I'll see.


because there is no specific code, it is hard to say. If the window object is not required by the program and the relevant modules will not be used, you can set window to global earlier to try.


is there a solution? please let us know

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3202b-4d47b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3202b-4d47b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?