Difference between revisions of "Node.js"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 13: Line 13:
 
* [[macOS]]: <code>[[brew install node.js]]</code>
 
* [[macOS]]: <code>[[brew install node.js]]</code>
 
* [[Ubuntu]]: <code>[[apt install nodejs]]</code>
 
* [[Ubuntu]]: <code>[[apt install nodejs]]</code>
 +
 +
== Debugging ==
 +
NODE_DEBUG=cluster,net,http,fs,tls,module,timers node your_app.js
  
 
== Errors ==
 
== Errors ==

Revision as of 15:49, 13 March 2023

wikipedia:Node.js (2009) JavaScript runtime


Node.js modules were a mistake, he said, and become too big and complex. “It’s my fault, and unfortunately it’s impossible to undo now,” Ryan Dahl said. [1]


Installation

Debugging

NODE_DEBUG=cluster,net,http,fs,tls,module,timers node your_app.js

Errors

  • Runtime.ImportModuleError: Error: Cannot find module 'uuid/v4'
  • SyntaxError: Cannot use import statement outside a module


Applications based on Node.js: Etherpad

Related terms

See also

  • https://www.theregister.com/2020/05/14/nodejs_creator_deno_10/
  • Advertising: