Difference between revisions of "Node.js"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(10 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
* https://nodejs.org/en/
 
* https://nodejs.org/en/
 
* Releases: https://en.wikipedia.org/wiki/Node.js#Releases
 
* Releases: https://en.wikipedia.org/wiki/Node.js#Releases
 +
* <code>[[npm]]</code> and <code>[[yarn]]</code> [[package managers]]
  
  
Line 13: Line 14:
 
* [[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>
 +
* [[Docker]]: <code>[[docker run -it node]]</code>
  
 
== Debugging ==
 
== Debugging ==
NODE_DEBUG=cluster,net,http,fs,tls,module,timers node your_app.js
+
<code>NODE_DEBUG=cluster,net,http,fs,tls,module,timers node your_app.js</code>
DEBUG=* node your_app.js
+
 
 +
<code>[[DEBUG=* node your_app.js]]</code>
  
 
== Errors ==
 
== Errors ==
 
* <code>Runtime.ImportModuleError: Error: Cannot find module '[[uuid]]/v4'</code>
 
* <code>Runtime.ImportModuleError: Error: Cannot find module '[[uuid]]/v4'</code>
 
* <code>SyntaxError: Cannot use [[import]] statement outside a module</code>
 
* <code>SyntaxError: Cannot use [[import]] statement outside a module</code>
 +
* [[The engine "node" is incompatible with this module]]
  
  
Line 27: Line 31:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[npm]]</code> and <code>[[yarn]]</code> [[package managers]]
 
* <code>[[npm]]</code> and <code>[[yarn]]</code> [[package managers]]
* <code>[[Grafana]]</code>
 
 
* <code>[[StatsD]]</code>
 
* <code>[[StatsD]]</code>
 
* [[MEAN (solution stack)]]
 
* [[MEAN (solution stack)]]
Line 34: Line 37:
 
* [[Nock]]
 
* [[Nock]]
 
* <code>[[next.js]]</code>, <code>[[express.js]]</code>
 
* <code>[[next.js]]</code>, <code>[[express.js]]</code>
* [[Joyent]]
 
 
* [[Ryan Dahl]]: [[Deno]]
 
* [[Ryan Dahl]]: [[Deno]]
* [[AWS Cloud9]]
 
 
* [[WebdriverIO]]
 
* [[WebdriverIO]]
 
* <code>[[wait-on]]</code>
 
* <code>[[wait-on]]</code>
Line 49: Line 50:
 
* <code>[[trace-agent]]</code>
 
* <code>[[trace-agent]]</code>
 
* [[PM2]]
 
* [[PM2]]
 +
* [[wscat]]
 +
* [[FROM node]]
 +
* [[act]]
 +
* [[ip]] package
  
 
== See also ==
 
== See also ==

Latest revision as of 10:58, 21 August 2024

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[edit]

Debugging[edit]

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

DEBUG=* node your_app.js

Errors[edit]


Applications based on Node.js: Etherpad

Related terms[edit]

See also[edit]

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