Lines Matching refs:main
365 'require.main to find program entry point instead.',
371 'require.main to find program entry point instead.',
425 * @param {boolean} isMain Whether the file is the main entry point of the app
429 const pkg = _readPackage(requestPath).main;
445 'Please verify that the package.json has a valid "main" entry',
455 `Invalid 'main' field in '${jsonPath}' of '${pkg}'. ` +
469 * @param {boolean} isMain Whether the file is the main module.
484 * @param {boolean} isMain Whether the module is the main module
606 * @param {boolean} isMain Whether the request is the main app entry point
682 } else if (getOptionValue('--preserve-symlinks-main')) {
683 // For the main module, we use the --preserve-symlinks-main flag instead
685 // historically has not applied to the main module. Most likely this
689 // causes bigger problems which is why the --preserve-symlinks-main option
944 * @param {boolean} isMain Whether the module is the main entry point
1006 setOwnProperty(module.require, 'main', process.mainModule);
1049 * @param {boolean} isMain Whether the module is the main entry point
1339 // preloaded module (it will fail earlier with the main entry)