The generated blob will be written, by default, to snapshot.blob When building the snapshot, if -snapshot-blob is not specified, Generates a snapshot blob when the process exits and writes it toĭisk, which can be loaded later with -snapshot-blob. When loading ECMAScript module loader loads the program entry point, the nodeĬommand will only accept as input only files with. ECMAScript modules loader entry point caveat # Otherwise, the file is loaded using the CommonJS module loader. Package.json file contains a top-level "type" field with a value of Point to be loaded with ECMAScript module loader. The program was started with a command-line flag that forces the entry.If a file is found, its path will be passed to the ECMAScript module loader If noĬorresponding file is found, an error is thrown. That path is then resolved by CommonJS module loader. If the string is not anĪbsolute path, it's resolved as a relative path from the current workingĭirectory. The program entry point is a specifier-like string. Node Įxecute without arguments to start the REPL.įor more info about node inspect, see the debugger documentation. To view this documentation as a manual page in a terminal, run man node. These options expose built-inĭebugging, multiple ways to execute scripts, and other helpful runtime options. Node.js comes with a variety of CLI options.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |