Difference between revisions of "Node.js"
Jump to navigation
Jump to search
↑ https://www.theregister.com/2020/05/14/nodejs_creator_deno_10/
(43 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
[[wikipedia:Node.js]] ([[2009]]) [[JavaScript runtime]] | [[wikipedia:Node.js]] ([[2009]]) [[JavaScript runtime]] | ||
+ | * https://nodejs.org/en/ | ||
+ | * Releases: https://en.wikipedia.org/wiki/Node.js#Releases | ||
+ | * <code>[[npm]]</code> and <code>[[yarn]]</code> [[package managers]] | ||
− | * [[Event driven]] architecture | + | * [[Event driven]] architecture (EDA) |
− | Node modules were a mistake, he said, and become too big and complex. “It’s my fault, and unfortunately it’s impossible to undo now,” | + | [[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. |
+ | <ref>https://www.theregister.com/2020/05/14/nodejs_creator_deno_10/</ref> | ||
+ | == Installation == | ||
+ | * [[macOS]]: <code>[[brew install node.js]]</code> | ||
+ | * [[Ubuntu]]: <code>[[apt install nodejs]]</code> | ||
+ | * [[Docker]]: <code>[[docker run -it node]]</code> | ||
+ | |||
+ | == Debugging == | ||
+ | <code>NODE_DEBUG=cluster,net,http,fs,tls,module,timers node your_app.js</code> | ||
+ | |||
+ | <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]] | ||
+ | |||
− | + | Applications based on Node.js: [[Etherpad]] | |
− | |||
== Related terms == | == Related terms == | ||
− | * <code>[[ | + | * <code>[[npm]]</code> and <code>[[yarn]]</code> [[package managers]] |
* <code>[[StatsD]]</code> | * <code>[[StatsD]]</code> | ||
* [[MEAN (solution stack)]] | * [[MEAN (solution stack)]] | ||
Line 24: | Line 37: | ||
* [[Nock]] | * [[Nock]] | ||
* <code>[[next.js]]</code>, <code>[[express.js]]</code> | * <code>[[next.js]]</code>, <code>[[express.js]]</code> | ||
− | * [[ | + | * [[Ryan Dahl]]: [[Deno]] |
− | |||
* [[WebdriverIO]] | * [[WebdriverIO]] | ||
* <code>[[wait-on]]</code> | * <code>[[wait-on]]</code> | ||
+ | * <code>[[nvm]]</code> | ||
+ | * [[LoopBack]] Node.js and [[TypeScript]] [[framework]] | ||
+ | * [[StrongLoop]] | ||
+ | * [[Nodemailer]] | ||
+ | * [[Heroku Node.js support]] | ||
+ | * <code>[[google-auth-library]]</code> | ||
+ | * [[Axios HTTP client]] | ||
+ | * [[Endo js]] | ||
+ | * <code>[[trace-agent]]</code> | ||
+ | * [[PM2]] | ||
+ | * [[wscat]] | ||
+ | * [[FROM node]] | ||
+ | * [[act]] | ||
+ | * [[ip]] package | ||
== See also == | == See also == | ||
+ | * {{nvm}} | ||
+ | * {{Node.js cmd}} | ||
* {{Node.js}} | * {{Node.js}} | ||
* {{Web framework}} | * {{Web framework}} | ||
− | + | ||
− | |||
[[Category:JavaScript]] | [[Category:JavaScript]] |
Latest revision as of 10:58, 21 August 2024
wikipedia:Node.js (2009) JavaScript runtime
- https://nodejs.org/en/
- Releases: https://en.wikipedia.org/wiki/Node.js#Releases
npm
andyarn
package managers
- Event driven architecture (EDA)
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
Errors[edit]
Runtime.ImportModuleError: Error: Cannot find module 'uuid/v4'
SyntaxError: Cannot use import statement outside a module
- The engine "node" is incompatible with this module
Applications based on Node.js: Etherpad
Related terms[edit]
npm
andyarn
package managersStatsD
- MEAN (solution stack)
- Meteor
- Ghost
- Nock
next.js
,express.js
- Ryan Dahl: Deno
- WebdriverIO
wait-on
nvm
- LoopBack Node.js and TypeScript framework
- StrongLoop
- Nodemailer
- Heroku Node.js support
google-auth-library
- Axios HTTP client
- Endo js
trace-agent
- PM2
- wscat
- FROM node
- act
- ip package
See also[edit]
- nvm:
nvm
[install | use | run | ls | ls-remote | alias ], .nvmrc, node --version, nvm alias default, brew install nvm, --help ]
- Node.js,
FROM node
,node (command)
node inspect
,nvm
,wait-on
,node -v
,node --help
,brew install node.js
,node-config
- Node.js, JavaScript runtime, Deno, nock, next.js, express.js, electron, Nest.js, nvm,
package.json
, Webpack,node -r
,npm, nvm, node-gyp
, Node.js modules, Fastify, PM2, UnhandledPromiseRejectionWarning, node-inspector, Puppeteer, Node-config, Node-RED - Web frameworks: Gin Gonic, Flask, Angular, React Native, Node.js, Next.js, Vue.js, Meteor, Django
Advertising: