• vue和webpack所依赖的node.js进程信息process及环境变量process.env


    vue和webpack所依赖的node.js进程信息及环境变量

    目录

    vue和webpack所依赖的node.js进程信息及环境变量

    1、输出包名: my-site 

    2、输出你当前正在运行的进程(即你编写的web应用)的Node.js的实例对象

    2.1、process进程是啥?

    3、打印进程的环境对象process.env,伪数组均需转化输出

    4、开始输出运行“开发服务器”的信息 :

    喜欢的,就收藏并点个赞,鼓励我继续技术的原创写作:


    1、输出包名: my-site 


    2、输出你当前正在运行的进程(即你编写的web应用)的Node.js的实例对象

            通过它你可以通过IPC channel通道甚至Socket与外部进程通讯: 比如: send() 函数发消息; API对其进行了2次封装;
            再比如: nextTick() ,Vue、React等框架内部对其API hazardous进行了引用,来进行非常重要的100%的同步synchronous或100%的异步asynchronous内部处理;
            也可以获取或执行所有你的进程内内部的:事件钩子和Signals信号量,比如:注册事件、侦听事件,抛出事件,发送Message等,它是伪数组均需转化输出:

    2.1、process进程是啥?


    ###########进程是啥process : 
    process {
      version: 'v13.14.0',
      versions: {
        node: '13.14.0',
        v8: '7.9.317.25-node.32',
        uv: '1.37.0',
        zlib: '1.2.11',
        brotli: '1.0.7',
        ares: '1.16.0',
        modules: '79',
        nghttp2: '1.40.0',
        napi: '6',
        llhttp: '2.0.4',
        openssl: '1.1.1g',
        cldr: '36.1',
        icu: '66.1',
        tz: '2019c',
        unicode: '13.0'
      },
      arch: 'x64',
      platform: 'win32',
      release: {
        name: 'node',
        sourceUrl: 'https://nodejs.org/download/release/v13.14.0/node-v13.14.0.tar.gz',
        headersUrl: 'https://nodejs.org/download/release/v13.14.0/node-v13.14.0-headers.tar.gz',
        libUrl: 'https://nodejs.org/download/release/v13.14.0/win-x64/node.lib'
      },
      _rawDebug: [Function: _rawDebug],
      moduleLoadList: [
        'Internal Binding native_module',
        'Internal Binding errors',
        'Internal Binding buffer',
        'NativeModule internal/errors',
        'Internal Binding config',
        'Internal Binding constants',
        'Internal Binding util',
        'Internal Binding types',
        'NativeModule internal/util',
        'NativeModule internal/util/types',
        'NativeModule internal/assert',
        'Internal Binding icu',
        'NativeModule internal/util/inspect',
        'NativeModule events',
        'Internal Binding string_decoder',
        'NativeModule internal/validators',
        'NativeModule internal/buffer',
        'NativeModule buffer',
        'NativeModule internal/process/per_thread',
        'Internal Binding process_methods',
        'Internal Binding credentials',
        'Internal Binding async_wrap',
        'Internal Binding task_queue',
        'NativeModule internal/async_hooks',
        'NativeModule internal/process/promises',
        'NativeModule internal/fixed_queue',
        'NativeModule internal/process/task_queues',
        'Internal Binding trace_events',
        'NativeModule internal/console/constructor',
        'NativeModule internal/console/global',
        'NativeModule internal/util/inspector',
        'Internal Binding inspector',
        'NativeModule internal/querystring',
        'NativeModule internal/constants',
        'NativeModule path',
        'Internal Binding url',
        'NativeModule internal/url',
        'NativeModule internal/encoding',
        'Internal Binding timers',
        'NativeModule internal/linkedlist',
        'NativeModule internal/priority_queue',
        'NativeModule internal/util/debuglog',
        'NativeModule internal/timers',
        'NativeModule timers',
        'NativeModule internal/process/execution',
        'NativeModule internal/process/warning',
        'NativeModule internal/process/signal',
        'Internal Binding options',
        'NativeModule internal/options',
        'NativeModule internal/bootstrap/pre_execution',
        'NativeModule internal/inspector_async_hook',
        'Internal Binding report',
        'NativeModule internal/process/report',
        'Internal Binding fs',
        'NativeModule internal/fs/utils',
        'Internal Binding fs_dir',
        'NativeModule internal/fs/dir',
        'NativeModule fs',
        'NativeModule internal/idna',
        'NativeModule url',
        'NativeModule internal/modules/cjs/helpers',
        'NativeModule internal/source_map/source_map_cache',
        'Internal Binding contextify',
        'NativeModule vm',
        'Internal Binding module_wrap',
        'NativeModule internal/modules/esm/module_job',
        'NativeModule internal/modules/esm/module_map',
        'NativeModule internal/modules/esm/resolve',
        'NativeModule internal/modules/esm/get_format',
        'NativeModule internal/modules/esm/get_source',
        'NativeModule internal/modules/esm/transform_source',
        'NativeModule internal/modules/esm/create_dynamic_module',
        'NativeModule internal/modules/esm/translators',
        'NativeModule internal/modules/esm/loader',
        'NativeModule internal/vm/module',
        'NativeModule internal/process/esm_loader',
        'NativeModule internal/modules/cjs/loader',
        'NativeModule internal/modules/run_main',
        'Internal Binding pipe_wrap',
        'NativeModule internal/streams/destroy',
        'NativeModule internal/streams/pipeline',
        'NativeModule internal/streams/end-of-stream',
        'NativeModule internal/streams/legacy',
        'NativeModule internal/streams/buffer_list',
        'NativeModule internal/streams/state',
        'NativeModule _stream_readable',
        'NativeModule _stream_writable',
        'NativeModule _stream_duplex',
        'NativeModule _stream_transform',
        'NativeModule _stream_passthrough',
        'NativeModule stream',
        'NativeModule internal/net',
        'Internal Binding uv',
        'Internal Binding stream_wrap',
        'Internal Binding tcp_wrap',
        'NativeModule internal/stream_base_commons',
        'Internal Binding dtrace',
        'NativeModule internal/dtrace',
        'NativeModule net',
        'Internal Binding udp_wrap',
        ... 70 more items
      ],
      binding: [Function: binding],
      _linkedBinding: [Function: _linkedBinding],
      _events: [Object: null prototype] {
        newListener: [Function: startListeningIfSignal],
        removeListener: [Function: stopListeningIfSignal],
        warning: [Function: onWarning],
        SIGWINCH: [Function (anonymous)]
      },
      _eventsCount: 4,
      _maxListeners: undefined,
      domain: null,
      _exiting: false,
      config: {
        target_defaults: {
          cflags: [],
          default_configuration: 'Release',
          defines: [],
          include_dirs: [],
          libraries: []
        },
        variables: {
          asan: 0,
          build_v8_with_gn: false,
          coverage: false,
          dcheck_always_on: 0,
          debug_nghttp2: false,
          debug_node: false,
          enable_lto: false,
          enable_pgo_generate: false,
          enable_pgo_use: false,
          force_dynamic_crt: 0,
          host_arch: 'x64',
          icu_data_in: '..\\..\\deps\\icu-tmp\\icudt66l.dat',
          icu_endianness: 'l',
          icu_gyp_path: 'tools/icu/icu-generic.gyp',
          icu_path: 'deps/icu-small',
          icu_small: false,
          icu_ver_major: '66',
          is_debug: 0,
          napi_build_version: '6',
          nasm_version: '2.14',
          node_byteorder: 'little',
          node_debug_lib: false,
          node_enable_d8: false,
          node_install_npm: true,
          node_module_version: 79,
          node_no_browser_globals: false,
          node_prefix: '/usr/local',
          node_release_urlbase: 'https://nodejs.org/download/release/',
          node_shared: false,
          node_shared_brotli: false,
          node_shared_cares: false,
          node_shared_http_parser: false,
          node_shared_libuv: false,
          node_shared_nghttp2: false,
          node_shared_openssl: false,
          node_shared_zlib: false,
          node_tag: '',
          node_target_type: 'executable',
          node_use_bundled_v8: true,
          node_use_dtrace: false,
          node_use_etw: true,
          node_use_node_code_cache: true,
          node_use_node_snapshot: true,
          node_use_openssl: true,
          node_use_v8_platform: true,
          node_with_ltcg: true,
          node_without_node_options: false,
          openssl_fips: '',
          openssl_is_fips: false,
          shlib_suffix: 'so.79',
          target_arch: 'x64',
          v8_enable_31bit_smis_on_64bit_arch: 0,
          v8_enable_gdbjit: 0,
          v8_enable_i18n_support: 1,
          v8_enable_inspector: 1,
          v8_enable_pointer_compression: 0,
          v8_no_strict_aliasing: 1,
          v8_optimized_debug: 1,
          v8_promise_internal_field_count: 1,
          v8_random_seed: 0,
          v8_trace_maps: 0,
          v8_use_siphash: 1,
          want_separate_host_toolset: 0
        }
      },
      dlopen: [Function: dlopen],
      uptime: [Function: uptime],
      _getActiveRequests: [Function: _getActiveRequests],
      _getActiveHandles: [Function: _getActiveHandles],
      reallyExit: [Function: reallyExit],
      _kill: [Function: _kill],
      hrtime: [Function: hrtime] { bigint: [Function: hrtimeBigInt] },
      ###########对CPU使用率的监测函数 : 
      cpuUsage: [Function: cpuUsage],
      ###########对资源使用率的监测函数 :  
      resourceUsage: [Function: resourceUsage],
      ###########对内存使用率的监测函数 :    
      memoryUsage: [Function: memoryUsage],
      ###########强制“杀死”进程的方法 :    
      kill: [Function: kill],
      ###########退出进程的方法 :    
      exit: [Function: exit],
      openStdin: [Function (anonymous)],
      ###########node环境标识的获取或该写的方法 : 
      allowedNodeEnvironmentFlags: [Getter/Setter],
      assert: [Function: deprecated],
      features: {
        inspector: true,
        debug: false,
        uv: true,
        ipv6: true,
        tls_alpn: true,
        tls_sni: true,
        tls_ocsp: true,
        tls: true,
        cached_builtins: true
      },
      _fatalException: [Function (anonymous)],
      setUncaughtExceptionCaptureCallback: [Function: setUncaughtExceptionCaptureCallback],
      hasUncaughtExceptionCaptureCallback: [Function: hasUncaughtExceptionCaptureCallback],
      emitWarning: [Function: emitWarning],
      nextTick: [Function: nextTick],
      _tickCallback: [Function: runNextTicks],
      _debugProcess: [Function: _debugProcess],
      _debugEnd: [Function: _debugEnd],
      _startProfilerIdleNotifier: [Function: _startProfilerIdleNotifier],
      _stopProfilerIdleNotifier: [Function: _stopProfilerIdleNotifier],
      ###########获取标准控制输出、输入、报错的方法 :   
      stdout: [Getter],
      stdin: [Getter],
      stderr: [Getter],
      abort: [Function: abort],
      umask: [Function: wrappedUmask],
      chdir: [Function (anonymous)],
      cwd: [Function: wrappedCwd],
      #############本机MSWindows操作系统的环境变量 :
      env: {
        ALLUSERSPROFILE: 'C:\\ProgramData',
        APPDATA: 'C:\\Users\\Administrator\\AppData\\Roaming',
        BABEL_ENV: 'development',
        CHROME_CRASHPAD_PIPE_NAME: '\\\\.\\pipe\\crashpad_8188_UAACZMKKQIYDKCDN',
        CommonProgramFiles: 'C:\\Program Files\\Common Files',
        'CommonProgramFiles(x86)': 'C:\\Program Files (x86)\\Common Files',
        CommonProgramW6432: 'C:\\Program Files\\Common Files',
        COMPUTERNAME: 'YLMF-2020PQOCGH',
        ComSpec: 'C:\\Windows\\system32\\cmd.exe',
        crossvcl: 'C:\\CrossVcl',
        DEVMGR_SHOW_DETAILS: '1',
        DXVCL: 'D:\\DelphiProjs\\PulledupUI\\DevExpressVCL_v19.1.2_104',
        fmxlinux: 'C:\\Program Files (x86)\\FmxLinux',
        FP_NO_HOST_CHECK: 'NO',
        GIT_LFS_PATH: 'L:\\Git_LFS',
        GNU_HOME: 'C:\\Program Files (x86)\\GnuWin32',
        HOMEDRIVE: 'C:',
        HOMEPATH: '\\Users\\Administrator',
        LOCALAPPDATA: 'C:\\Users\\Administrator\\AppData\\Local',
        LOGONSERVER: '\\\\YLMF-2020PQOCGH',
        NODE_ENV: 'development',
        NUMBER_OF_PROCESSORS: '8',
        ORIGINAL_XDG_CURRENT_DESKTOP: 'undefined',
        OS: 'Windows_NT',
        Path: 'C:\\Program Files (x86)\\Support Tools\\;L:\\PythonPro\\Python37-32\\Scripts\\;L:\\PythonPro\\Python37-32\\;C:\\Program Files\\AdoptOpenJDK\\jdk-8.0.242.08-hotspot\\bin;D:\\Delphi10.4Update2\\bin;D:\\Delphi10.4Update2\\bin64;D:\\Delphi10.4Update1\\bin;D:\\Delphi10.4Update1\\bin64;D:\\Delphi10.4Update0\\bin;C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\21.0\\Bpl;D:\\Delphi10.4Update0\\bin64;C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\21.0\\Bpl\\Win64;C:\\ProgramData\\Oracle\\Java\\javapath;D:\\Delphi10.3Update3\\bin;C:\\Users\\Administrator\\Documents\\Embarcadero\\Studio\\20.0\\Bpl;D:\\Delphi10.3Update3\\bin64;C:\\Users\\Administrator\\Documents\\Embarcadero\\Studio\\20.0\\Bpl\\Win64;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files\\Git LFS;L:\\Git LFS;L:\\Git_LFS;L:\\Program Files\\Git\\cmd;L:\\Program Files (x86)\\Tencent\\微信web开发者工具\\dll;L:\\Program Files\\nodejs\\;L:\\VSCode\\bin;L:\\PythonPro\\Python37-32\\Scripts\\;L:\\PythonPro\\Python37-32\\;C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\20.0\\Bpl;C:\\Users\\Administrator\\AppData\\Local\\GitHubDesktop\\bin;C:\\Program Files (x86)\\GnuWin32\\bin;;C:\\Users\\Administrator\\.boss\\env\\dcp;C:\\Users\\Administrator\\.boss\\env\\dcu;C:\\Users\\Administrator\\.boss\\env\\bpl;C:\\Users\\Administrator\\.boss\\modules\\.bin;.\\modules\\.bin;;L:\\VSCode\\bin;C:\\Users\\Administrator\\AppData\\Roaming\\npm',
        PATHEXT: '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW',
        PROCESSOR_ARCHITECTURE: 'AMD64',
        PROCESSOR_IDENTIFIER: 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',
        PROCESSOR_LEVEL: '6',
        PROCESSOR_REVISION: '3a09',
        ProgramData: 'C:\\ProgramData',
        ProgramFiles: 'C:\\Program Files',
        'ProgramFiles(x86)': 'C:\\Program Files (x86)',
        ProgramW6432: 'C:\\Program Files',
        PROMPT: '$P$G',
        PSModulePath: 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\',
        PUBLIC: 'C:\\Users\\Public',
        SESSIONNAME: 'Console',
        SystemDrive: 'C:',
        SystemRoot: 'C:\\Windows',
        TEMP: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp',
        TMP: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp',
        USERDOMAIN: 'YLMF-2020PQOCGH',
        USERNAME: 'Administrator',
        USERPROFILE: 'C:\\Users\\Administrator',
        windir: 'C:\\Windows',
        windows_tracing_flags: '3',
        windows_tracing_logfile: 'C:\\BVTBin\\Tests\\installpackage\\csilogfile.log',
        TERM_PROGRAM: 'vscode',
        TERM_PROGRAM_VERSION: '1.70.2',
        LANG: 'zh_CN.UTF-8',
        COLORTERM: 'truecolor',
        NODE_OPTIONS: '--require c:/Users/Administrator/AppData/Roaming/Code/User/workspaceStorage/896f16c71adfdff2f13802f1a9e98371/ms-vscode.js-debug/bootloader.js ',
        VSCODE_INSPECTOR_OPTIONS: ':::{"inspectorIpc":"\\\\\\\\.\\\\pipe\\\\node-cdp.12720-1.sock.deferred","deferredMode":true,"waitForDebugger":"","execPath":"L:\\\\Program Files\\\\nodejs\\\\node.exe","onlyEntrypoint":false,"autoAttachMode":"onlyWithFlag"}',
        GIT_ASKPASS: 'l:\\VSCode\\resources\\app\\extensions\\git\\dist\\askpass.sh',
        VSCODE_GIT_ASKPASS_NODE: 'L:\\VSCode\\Code.exe',
        VSCODE_GIT_ASKPASS_EXTRA_ARGS: '--ms-enable-electron-run-as-node',
        VSCODE_GIT_ASKPASS_MAIN: 'l:\\VSCode\\resources\\app\\extensions\\git\\dist\\askpass-main.js',
        VSCODE_GIT_IPC_HANDLE: '\\\\.\\pipe\\vscode-git-59106b598c-sock'
      },
      ###########当前编译的“包”及其原生指令参数:
      title: '管理员:   - node  .\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js serve ',
      argv: [
        'L:\\Program Files\\nodejs\\node.exe',
        'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\案例\\my-site\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js',
        'serve'
      ],
      execArgv: [],
      ###########当前运行的“包”的操作系统的PID:  
      pid: 16564,
      ppid: 16428,
      execPath: 'L:\\Program Files\\nodejs\\node.exe',
      debugPort: 9229,
      argv0: 'node',
      _preload_modules: [
        'c:/Users/Administrator/AppData/Roaming/Code/User/workspaceStorage/896f16c71adfdff2f13802f1a9e98371/ms-vscode.js-debug/bootloader.js'
      ],
    ######主模块:
      mainModule: Module {
        id: '.',
        path: 'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\案例\\my-site\\node_modules\\@vue\\cli-service\\bin',
        exports: {},
        parent: null,
        filename: 'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\案例\\my-site\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js',
        loaded: false,
        children: [ [Module], [Module], [Module], [Module] ],
    ######主模块路径搜寻、及搜寻规则---按路径向上递归,直到当前磁盘分卷的根路径;但不会同级路径间搜寻:
        paths: [
          'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\案例\\my-site\\node_modules\\@vue\\cli-service\\bin\\node_modules',
          'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\案例\\my-site\\node_modules\\@vue\\cli-service\\node_modules',
          'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\案例\\my-site\\node_modules\\@vue\\node_modules',
          'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\案例\\my-site\\node_modules',
          'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\案例\\node_modules',
          'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\node_modules',
          'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\node_modules',
          'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\node_modules',
          'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\node_modules',
          'L:\\Vue3Test\\MyVue3Proj1\\node_modules',
          'L:\\Vue3Test\\node_modules',
          'L:\\node_modules'
        ]
      },
    ######全局信号量_事件抛出:
      __signal_exit_emitter__: EventEmitter {
        _events: [Object: null prototype] {},
        _eventsCount: 0,
        _maxListeners: Infinity,
        count: 0,
        emitted: {},
        infinite: true,
        [Symbol(kCapture)]: false
      },
    ######关于:@vue/cli的"开发"服务:
      VUE_CLI_SERVICE: Service {
        initialized: true,
        context: 'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\案例\\my-site',
        inlineOptions: undefined,
        webpackChainFns: [],
        webpackRawConfigFns: [],
        devServerConfigFns: [],
        commands: {},
        pkgContext: 'L:\\Vue3Test\\MyVue3Proj1\\全阶班\\frontend-training-master\\08. vue从入门到实战\\案例\\my-site',
        ##### : 关于你的工程的“包”的描述 :
        pkg: {
          name: 'my-site',
          version: '0.1.0',
          private: true,
          scripts: [Object],
          dependencies: [Object],
          devDependencies: [Object],
          ##### : 正规要求---提供本项目README.md文件,放置于工程路径根 :
          readme: 'ERROR: No README data found!',
          _id: 'my-site@0.1.0'
        },
        plugins: [
          [Object], [Object],
          [Object], [Object],
          [Object], [Object],
          [Object], [Object],
          [Object]
        ],
        pluginsToSkip: Set(0) {},
        ##### : 输出3种可用的“cli服务模式” :
        modes: {
          serve: 'development',
          build: 'production',
          inspect: 'development'
        },
        ##### : 输出当前运行的“cli服务模式” :    
        mode: 'development'
      },
      [Symbol(kCapture)]: false
    }


    3、打印进程的环境对象process.env,伪数组均需转化输出


    依赖: var process = require('process');
    它在这个位置定义: node_modules\@types\node\process.d.ts   

      ########## 拿到:关于操作系统级别的“环境变量”或“配置参数” :
      ALLUSERSPROFILE: 'C:\\ProgramData',
      APPDATA: 'C:\\Users\\Administrator\\AppData\\Roaming',
      BABEL_ENV: 'development',
      CHROME_CRASHPAD_PIPE_NAME: '\\\\.\\pipe\\crashpad_8188_UAACZMKKQIYDKCDN',
      CommonProgramFiles: 'C:\\Program Files\\Common Files',
      'CommonProgramFiles(x86)': 'C:\\Program Files (x86)\\Common Files',
      CommonProgramW6432: 'C:\\Program Files\\Common Files',
      COMPUTERNAME: 'YLMF-2020PQOCGH',
      ComSpec: 'C:\\Windows\\system32\\cmd.exe',
      crossvcl: 'C:\\CrossVcl',
      DEVMGR_SHOW_DETAILS: '1',
      DXVCL: 'D:\\DelphiProjs\\PulledupUI\\DevExpressVCL_v19.1.2_104',
      fmxlinux: 'C:\\Program Files (x86)\\FmxLinux',
      FP_NO_HOST_CHECK: 'NO',
      GIT_LFS_PATH: 'L:\\Git_LFS',
      GNU_HOME: 'C:\\Program Files (x86)\\GnuWin32',
      HOMEDRIVE: 'C:',
      HOMEPATH: '\\Users\\Administrator',
      LOCALAPPDATA: 'C:\\Users\\Administrator\\AppData\\Local',
      LOGONSERVER: '\\\\YLMF-2020PQOCGH',
      ###### 这个即我们在“ vue.config.js ”或“ webpack.config.js ”中可能会用到的 process.env.NODE_ENV : 
      NODE_ENV: 'development',
      ###### 操作系统的配置参数 :
      NUMBER_OF_PROCESSORS: '8',
      ORIGINAL_XDG_CURRENT_DESKTOP: 'undefined',
      OS: 'Windows_NT',
      Path: '.\\modules\\.bin;;L:\\VSCode\\bin;C:\\Users\\Administrator\\AppData\\Roaming\\npm;C:\\Program Files (x86)\\Support Tools\\;L:\\PythonPro\\Python37-32\\Scripts\\;L:\\PythonPro\\Python37-32\\;C:\\Program Files\\AdoptOpenJDK\\jdk-8.0.242.08-hotspot\\bin;D:\\Delphi10.4Update2\\bin;D:\\Delphi10.4Update2\\bin64;D:\\Delphi10.4Update1\\bin;D:\\Delphi10.4Update1\\bin64;D:\\Delphi10.4Update0\\bin;C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\21.0\\Bpl;D:\\Delphi10.4Update0\\bin64;C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\21.0\\Bpl\\Win64;C:\\ProgramData\\Oracle\\Java\\javapath;D:\\Delphi10.3Update3\\bin;C:\\Users\\Administrator\\Documents\\Embarcadero\\Studio\\20.0\\Bpl;D:\\Delphi10.3Update3\\bin64;C:\\Users\\Administrator\\Documents\\Embarcadero\\Studio\\20.0\\Bpl\\Win64;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files\\Git LFS;L:\\Git LFS;L:\\Git_LFS;L:\\Program Files\\Git\\cmd;L:\\Program Files (x86)\\Tencent\\微信web开发者工具\\dll;L:\\Program Files\\nodejs\\;L:\\VSCode\\bin;L:\\PythonPro\\Python37-32\\Scripts\\;L:\\PythonPro\\Python37-32\\;C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\20.0\\Bpl;C:\\Users\\Administrator\\AppData\\Local\\GitHubDesktop\\bin;C:\\Program Files (x86)\\GnuWin32\\bin;;C:\\Users\\Administrator\\.boss\\env\\dcp;C:\\Users\\Administrator\\.boss\\env\\dcu;C:\\Users\\Administrator\\.boss\\env\\bpl;C:\\Users\\Administrator\\.boss\\modules\\.bin;',
      PATHEXT: '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW',
      PROCESSOR_ARCHITECTURE: 'AMD64',
      PROCESSOR_IDENTIFIER: 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',
      PROCESSOR_LEVEL: '6',
      PROCESSOR_REVISION: '3a09',
      ProgramData: 'C:\\ProgramData',
      ProgramFiles: 'C:\\Program Files',
      'ProgramFiles(x86)': 'C:\\Program Files (x86)',
      ProgramW6432: 'C:\\Program Files',
      PROMPT: '$P$G',
      PSModulePath: 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\',
      PUBLIC: 'C:\\Users\\Public',
      SESSIONNAME: 'Console',
      SystemDrive: 'C:',
      SystemRoot: 'C:\\Windows',
      TEMP: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp',
      TMP: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp',
      ####### 当前登录的机器名 :
      USERDOMAIN: 'YLMF-2020PQOCGH',
      ####### 当前登录操作系统的用户名 :
      USERNAME: 'Administrator',
      USERPROFILE: 'C:\\Users\\Administrator',
      windir: 'C:\\Windows',
      windows_tracing_flags: '3',
      windows_tracing_logfile: 'C:\\BVTBin\\Tests\\installpackage\\csilogfile.log',
      TERM_PROGRAM: 'vscode',
      TERM_PROGRAM_VERSION: '1.70.2',
      LANG: 'zh_CN.UTF-8',
      COLORTERM: 'truecolor',
      ###### VSCODE的全局进程间通信的参数 :  
      NODE_OPTIONS: '--require c:/Users/Administrator/AppData/Roaming/Code/User/workspaceStorage/896f16c71adfdff2f13802f1a9e98371/ms-vscode.js-debug/bootloader.js ',
      VSCODE_INSPECTOR_OPTIONS: ':::{"inspectorIpc":"\\\\\\\\.\\\\pipe\\\\node-cdp.12720-1.sock.deferred","deferredMode":true,"waitForDebugger":"","execPath":"L:\\\\Program Files\\\\nodejs\\\\node.exe","onlyEntrypoint":false,"autoAttachMode":"onlyWithFlag"}',
      GIT_ASKPASS: 'l:\\VSCode\\resources\\app\\extensions\\git\\dist\\askpass.sh',
      VSCODE_GIT_ASKPASS_NODE: 'L:\\VSCode\\Code.exe',
      VSCODE_GIT_ASKPASS_EXTRA_ARGS: '--ms-enable-electron-run-as-node',
      VSCODE_GIT_ASKPASS_MAIN: 'l:\\VSCode\\resources\\app\\extensions\\git\\dist\\askpass-main.js',
      VSCODE_GIT_IPC_HANDLE: '\\\\.\\pipe\\vscode-git-59106b598c-sock'
    }

    4、开始输出运行“开发服务器”的信息 :

    ################开始输出运行“开发服务器”的信息 :
     INFO  Starting development server...
     DONE  Compiled successfully in 7985ms下午1:34:39


      App running at:
      - Local:   http://localhost:8080/ 
      - Network: http://192.168.3.242:8080/

      Note that the development build is not optimized.
      To create a production build, run npm run build.

    喜欢的,就收藏并点个赞,鼓励我继续技术的原创写作:

    原生CLI指令构建npm run减少硬盘node_modules的开销_pulledup的博客-CSDN博客

    vue执行配置选项npm run serve的本质_pulledup的博客-CSDN博客

  • 相关阅读:
    Qt之OpenSSL
    1.6 列表(Python)
    Look Back(cf div3 905)
    学生用台灯什么光对眼睛好?分享暖白光的学生护眼台灯
    【leetcode周赛记录——405】
    echarts折线图流动特效的实现(非平滑曲线)
    《opencv学习笔记》-- 线性滤波:方框滤波、均值滤波、高斯滤波
    泛微OA——ecology 9建立自定义Java接口并部署到对应节点
    Linux-gdb调试方式二(gdb和gdbserver)
    散列表(1)-集合/用位向量实现集合
  • 原文地址:https://blog.csdn.net/pulledup/article/details/126889766