Specify an alternative default TLS cipher list. Note: v8 options allow words to be separated by both dashes (-) or underscores (_).įor example, -stack-trace-limit is equivalent to -stack_trace_limit. Process v8 profiler output generated using the v8 option -prof. Track heap object allocations for heap snapshots. Specifically, symbolically linked native modules can fail to load if those are linked from more than one location in the dependency tree (Node.js would see those as two separate modules and would attempt to load the module multiple times, causing an exception to be thrown). Note, however, that using -preserve-symlinks can have other side effects. The -preserve-symlinks command line flag instructs Node.js to use the symlink path for modules as opposed to the real path, allowing symbolically linked peer dependencies to be found. However, when using symbolically linked peer dependencies, as illustrated in the example below, the default behavior causes an exception to be thrown if moduleA attempts to require moduleB as a peer dependency: In most cases, this default behavior is acceptable. Instructs the module loader to preserve symbolic links when resolving and caching modules.īy default, when Node.js loads a module from a path that is symbolically linked to a different on-disk location, Node.js will dereference the link and use the actual on-disk "real path" of the module as both an identifier and as a root path to locate other dependency modules. zero-fill-buffersĪutomatically zero-fills all newly allocated Buffer and SlowBuffer instances. Prints a stack trace whenever synchronous I/O is detected after the first turn of the event loop. Print stack traces for process warnings (including deprecations). Silence all process warnings (including deprecations). module may be either a path to a file, or a node module name. r, -require moduleįollows require()'s module resolution rules. Opens the REPL even if stdin does not appear to be a terminal. Syntax check the script without executing. The modules which are predefined in the REPL can also be used in script. e, -eval "script"Įvaluate the following argument as JavaScript. The output of this option is less detailed than this document.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |