After frontend code build, open browser not working anymore in the latest release.
en debug Zen Config:
{ '[web]':
{ entry: './src/index.tsx',
output: { chunkFilename: '[name].bundle.js' },
stack:
Stack {
technologies: [ 'apollo', 'ts', 'react', 'webpack', 'css', 'web' ],
platform: 'web' },
tsLoaderOptions: { configFileName: './tsconfig.json' },
webpackDevPort: 3000,
openBrowser: true,
defines:
{ __DEV__: true,
__GRAPHQL_URL__: '"http://localhost:8080/graphql"',
__SSR__: false,
__PERSIST_GQL__: '\'false\'',
__FRONTEND_BUILD_DIR__: '\'dist\'',
__DLL_BUILD_DIR__: '\'dist/.build/dll\'',
__DEBUGGING__: '\'false\'',
__CLIENT__: true },
test: { role: [ 'build', 'watch' ] },
htmlTemplate: '../../tools/html-plugin-template.ejs',
waitOn: [ 'tcp:localhost:8080' ],
enabled: true,
webpackConfig:
{ plugins:
[ DefinePlugin {
definitions:
{ 'process.env.NATS_URL': '"nats://localhost:4222/"',
'process.env.NATS_USER': '"test"',
'process.env.NATS_PW': '"test"',
'process.env.GRAPHQL_URL': '"http://localhost:8080/graphql"',
'process.env.CLIENT_URL': '"http://localhost:3000"',
'process.env.ZIPKIN_URL': '"test"',
'process.env.ZIPKIN_PORT': '"test"',
'process.env.LOG_LEVEL': '"trace"' } },
DefinePlugin {
definitions:
{ __ENV__:
'{"NATS_URL":"nats://localhost:4222/","NATS_USER":"test","NATS_PW":"test","GRAPHQL_URL":"http://localhost:8080/graphql","CLIENT_URL":"http://localhost:3000","ZIPKIN_URL":"test","ZIPKIN_PORT":"test","LOG_LEVEL":"trace"}' } } ] },
name: 'web',
require:
{ [Function: require]
resolve: [Function],
probe: [Function],
cwd:
'/Users/projects/fullstack-pro/servers/frontend-server' },
plugins:
[ WebpackPlugin {},
WebAssetsPlugin {},
CssProcessorPlugin {},
ApolloPlugin {},
TypeScriptPlugin {},
BabelPlugin {},
ReactPlugin {},
TCombPlugin {},
FlowRuntimePLugin {},
ReactNativePlugin {},
ReactNativeWebPlugin {},
StyledComponentsPlugin {},
AngularPlugin {},
VuePlugin {},
I18NextPlugin {},
VuePlugin {},
ReactHotLoaderPlugin {} ],
roles: [ 'build', 'watch' ],
cache: '../../.cache',
backendBuildDir: 'dist',
frontendBuildDir: 'dist',
dllBuildDir: 'dist/.build/dll',
ssr: false,
backendUrl: 'http://localhost:8080',
webpackDll: true,
reactHotLoader: true,
useDefaultPostCss: true,
persistGraphQL: false,
frontendRefreshOnBackendChange: true,
nodeDebugger: false,
overridesConfig: './tools/webpackAppConfig.js',
devProxy: false,
id: '[web]',
configPath:
'/Users/projects/fullstack-pro/servers/frontend-server/.zenrc.js',
buildDir: undefined,
sourceMap: true,
minify: true },
'[server]':
{ entry: './src/backend/app.ts',
stack:
Stack {
technologies: [ 'apollo', 'ts', 'react', 'webpack', 'css', 'server' ],
platform: 'server' },
tsLoaderOptions: { configFileName: './tsconfig.json' },
defines:
{ __DEV__: true,
__GRAPHQL_URL__: '"http://localhost:8080/graphql"',
__SSR__: false,
__PERSIST_GQL__: '\'false\'',
__FRONTEND_BUILD_DIR__: '\'dist\'',
__DLL_BUILD_DIR__: '\'dist/.build/dll\'',
__DEBUGGING__: '\'false\'',
__SERVER__: true },
enabled: false,
webpackConfig:
{ output: { filename: 'main.js' },
plugins:
[ CopyPlugin {
patterns: [ { from: '../../tools/esm-wrapper.js', to: 'index.js' } ],
options: {} },
LodashModuleReplacementPlugin {
matches: [],
options: {},
patterns:
[ [ '_baseIndexOf', '_strictIndexOf' ],
[ '_cacheHas', '_arrayIncludes' ],
[ '_createSet', 'noop' ],
[ '_MapCache', '_ListCache' ],
[ '_SetCache', 'castArray' ],
[ '_Stack', '_ListCache' ],
[ '_getFuncName', 'stubString' ],
[ '_isLaziable', 'stubFalse' ],
[ '_LodashWrapper', 'noop' ],
[ '_baseClone', 'identity' ],
[ '_baseToNumber', 'identity' ],
[ '_baseToString', 'identity' ],
[ '_toKey', 'identity' ],
[ 'toFinite', 'identity' ],
[ 'toInteger', 'identity' ],
[ 'toLength', 'identity' ],
[ 'toNumber', 'identity' ],
[ 'toString', 'identity' ],
[ '_baseAggregator', '_arrayAggregator' ],
[ '_baseFilter', '_arrayFilter' ],
[ '_baseMap', '_arrayMap' ],
[ 'each', '_arrayEach' ],
[ 'eachRight', '_arrayEachRight' ],
[ 'every', '_arrayEvery' ],
[ 'filter', '_arrayFilter' ],
[ 'forEach', '_arrayEach' ],
[ 'forEachRight', '_arrayEachRight' ],
[ 'includes', '_arrayIncludes' ],
[ 'map', '_arrayMap' ],
[ 'reduce', '_arrayReduce' ],
[ 'reduceRight', '_arrayReduceRight' ],
[ 'sample', '_arraySample' ],
[ 'sampleSize', '_arraySampleSize' ],
[ 'shuffle', '_arrayShuffle' ],
[ 'some', '_arraySome' ],
[ '_createWrap', '_createPartial' ],
[ 'unary', '_baseUnary' ],
[ 'deburr', 'identity' ],
[ '_baseGetTag', '_objectToString' ],
[ '_equalByTag', 'eq' ],
[ '_getAllKeys', '_nativeKeys' ],
[ '_getAllKeysIn', '_nativeKeysIn' ],
[ '_getSymbols', 'stubArray' ],
[ '_getSymbolsIn', 'stubArray' ],
[ '_getTag', '_objectToString' ],
[ '_initCloneByTag', 'identity' ],
[ '_mapToArray', 'stubArray' ],
[ '_setToArray', 'stubArray' ],
[ '_setToPairs', 'stubArray' ],
[ 'isArguments', 'stubFalse' ],
[ 'isArrayBuffer', 'baseIsArrayBuffer' ],
[ 'isBuffer', 'stubFalse' ],
[ 'isDate', 'baseIsDate' ],
[ 'isMap', 'stubFalse' ],
[ 'isRegExp', 'baseIsRegExp' ],
[ 'isSet', 'stubFalse' ],
[ 'isSymbol', 'stubFalse' ],
[ 'isTypedArray', 'stubFalse' ],
[ '_baseFlatten', 'head' ],
[ '_flatRest', 'identity' ],
[ '_getNative', '_getValue' ],
[ '_getRawTag', '_objectToString' ],
[ '_isIterateeCall', 'stubFalse' ],
[ '_isPrototype', 'stubFalse' ],
[ '_baseKeys', '_nativeKeys' ],
[ '_baseKeysIn', '_nativeKeysIn' ],
[ '_castFunction', 'identity' ],
[ '_castRest', 'identity' ],
[ '_shortOut', 'identity' ],
[ 'isNaN', 'baseIsNaN' ],
[ 'isNative', 'stubTrue' ],
[ 'keys', '_nativeKeys' ],
[ 'keysIn', '_nativeKeysIn' ],
[ 'times', '_baseTimes' ],
[ '_memoizeCapped', 'identity' ],
[ 'memoize', 'identity' ],
[ '_baseSetData', 'identity' ],
[ '_getData', 'noop' ],
[ '_mergeData', 'identity' ],
[ '_setData', 'identity' ],
[ '_setToString', 'identity' ],
[ '_setWrapToString', 'identity' ],
[ '_baseGet', '_getValue' ],
[ '_castPath', 'castArray' ],
[ '_isKey', 'identity' ],
[ '_parent', 'identity' ],
[ 'has', '_baseHas' ],
[ 'hasIn', '_baseHasIn' ],
[ 'property', '_baseProperty' ],
[ 'propertyOf', '_basePropertyOf' ],
[ '_getHolder', 'noop' ],
[ '_replaceHolders', 'stubArray' ],
[ '_baseIteratee', 'identity' ],
[ '_hasUnicode', 'stubFalse' ],
[ '_hasUnicodeWord', 'stubFalse' ],
[ '_unicodeSize', '_asciiSize' ],
[ '_unicodeToArray', '_asciiToArray' ],
[ '_unicodeWords', '_asciiWords' ],
[ 'stringSize', '_asciiSize' ],
[ 'stringToArray', '_asciiToArray' ] ],
resolve: [Function: bound resolve] } ],
externals: [ [Function], [Function] ] },
name: 'server',
require:
{ [Function: require]
resolve: [Function],
probe: [Function],
cwd:
'/Users/projects/fullstack-pro/servers/frontend-server' },
plugins:
[ WebpackPlugin {},
WebAssetsPlugin {},
CssProcessorPlugin {},
ApolloPlugin {},
TypeScriptPlugin {},
BabelPlugin {},
ReactPlugin {},
TCombPlugin {},
FlowRuntimePLugin {},
ReactNativePlugin {},
ReactNativeWebPlugin {},
StyledComponentsPlugin {},
AngularPlugin {},
VuePlugin {},
I18NextPlugin {},
VuePlugin {},
ReactHotLoaderPlugin {} ],
roles: [ 'build', 'watch' ],
cache: '../../.cache',
backendBuildDir: 'dist',
frontendBuildDir: 'dist',
dllBuildDir: 'dist/.build/dll',
ssr: false,
backendUrl: 'http://localhost:8080',
webpackDll: true,
reactHotLoader: true,
useDefaultPostCss: true,
persistGraphQL: false,
frontendRefreshOnBackendChange: true,
nodeDebugger: false,
overridesConfig: './tools/webpackAppConfig.js',
devProxy: false,
id: '[server]',
configPath:
'/Users/projects/fullstack-pro/servers/frontend-server/.zenrc.js',
buildDir: undefined,
sourceMap: true,
minify: true },
'[test]':
{ stack:
Stack {
technologies: [ 'apollo', 'ts', 'react', 'webpack', 'css', 'server' ],
platform: 'server' },
roles: [ 'test' ],
defines:
{ __DEV__: true,
__GRAPHQL_URL__: '"http://localhost:8080/graphql"',
__SSR__: false,
__PERSIST_GQL__: '\'false\'',
__FRONTEND_BUILD_DIR__: '\'dist\'',
__DLL_BUILD_DIR__: '\'dist/.build/dll\'',
__DEBUGGING__: '\'false\'',
__TEST__: true },
name: 'test',
require:
{ [Function: require]
resolve: [Function],
probe: [Function],
cwd:
'/Users/projects/fullstack-pro/servers/frontend-server' },
plugins:
[ WebpackPlugin {},
WebAssetsPlugin {},
CssProcessorPlugin {},
ApolloPlugin {},
TypeScriptPlugin {},
BabelPlugin {},
ReactPlugin {},
TCombPlugin {},
FlowRuntimePLugin {},
ReactNativePlugin {},
ReactNativeWebPlugin {},
StyledComponentsPlugin {},
AngularPlugin {},
VuePlugin {},
I18NextPlugin {},
VuePlugin {},
ReactHotLoaderPlugin {} ],
cache: '../../.cache',
backendBuildDir: 'dist',
frontendBuildDir: 'dist',
dllBuildDir: 'dist/.build/dll',
ssr: false,
backendUrl: 'http://localhost:8080',
webpackDll: true,
reactHotLoader: true,
useDefaultPostCss: true,
persistGraphQL: false,
frontendRefreshOnBackendChange: true,
nodeDebugger: false,
overridesConfig: './tools/webpackAppConfig.js',
devProxy: false,
id: '[test]',
configPath:
'/Users/projects/fullstack-pro/servers/frontend-server/.zenrc.js',
buildDir: undefined,
sourceMap: true,
minify: true } }
zen info Version 0.1.34
zen debug [webDll] = { name: 'webDll',
module:
{ rules:
[ { test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto' },
{ test: /\.css$/,
exclude: [Function: exclude],
use:
[ { loader: 'style-loader', options: {} },
{ loader: 'css-loader',
options: { sourceMap: true, importLoaders: 1 } },
{ loader: 'postcss-loader',
options: { plugins: [Function: plugins], sourceMap: true } } ] },
{ test: /\.css$/,
exclude: [Function: exclude],
use:
[ { loader: 'style-loader', options: {} },
{ loader: 'css-loader',
options: { sourceMap: true, importLoaders: 1 } } ] },
{ test: /\.ts$/,
exclude: [Function: exclude],
use:
[ { loader: 'awesome-typescript-loader',
options: { configFileName: './tsconfig.json', useCache: true } } ] } ] },
resolve:
{ symlinks: false,
cacheWithContext: false,
extensions: [ '.mjs', '.js', '.ts', '.json' ] },
watchOptions: { ignored: /(?:)/ },
bail: true,
stats:
{ hash: false,
version: false,
timings: true,
assets: false,
chunks: false,
modules: false,
reasons: false,
children: false,
source: true,
errors: true,
errorDetails: true,
warnings: true,
publicPath: false,
colors: true },
output:
{ devtoolModuleFilenameTemplate: [Function],
pathinfo: false,
filename: 'vendor_sampleStackFrontendServerWeb_[hash]_dll.js',
path:
'/Users/projects/fullstack-pro/servers/frontend-server/dist/.build/dll',
library: 'vendor_sampleStackFrontendServerWeb' },
devtool: '#cheap-module-source-map',
mode: 'development',
performance: { hints: false },
plugins:
[ DefinePlugin {
definitions:
{ 'process.env.NODE_ENV': '"development"',
__BACKEND_URL__: '\'http://localhost:8080\'',
__DEV__: true,
__GRAPHQL_URL__: '"http://localhost:8080/graphql"',
__SSR__: false,
__PERSIST_GQL__: '\'false\'',
__FRONTEND_BUILD_DIR__: '\'dist\'',
__DLL_BUILD_DIR__: '\'dist/.build/dll\'',
__DEBUGGING__: '\'false\'',
__CLIENT__: true } },
DllPlugin {
options:
{ name: 'vendor_sampleStackFrontendServerWeb',
path:
'dist/.build/dll/vendor_sampleStackFrontendServerWeb_dll.json' } },
CheckerPlugin {},
DefinePlugin {
definitions:
{ 'process.env.NATS_URL': '"nats://localhost:4222/"',
'process.env.NATS_USER': '"test"',
'process.env.NATS_PW': '"test"',
'process.env.GRAPHQL_URL': '"http://localhost:8080/graphql"',
'process.env.CLIENT_URL': '"http://localhost:3000"',
'process.env.ZIPKIN_URL': '"test"',
'process.env.ZIPKIN_PORT': '"test"',
'process.env.LOG_LEVEL': '"trace"' } },
DefinePlugin {
definitions:
{ __ENV__:
'{"NATS_URL":"nats://localhost:4222/","NATS_USER":"test","NATS_PW":"test","GRAPHQL_URL":"http://localhost:8080/graphql","CLIENT_URL":"http://localhost:3000","ZIPKIN_URL":"test","ZIPKIN_PORT":"test","LOG_LEVEL":"trace"}' } } ],
node:
{ __dirname: true,
__filename: true,
fs: 'empty',
net: 'empty',
tls: 'empty' },
optimization:
{ removeAvailableModules: false,
removeEmptyChunks: false,
splitChunks: false },
entry:
{ vendor:
[ '@cdm-logger/client',
'@common-stack/client-core',
'@common-stack/client-react',
'@common-stack/core',
'@common-stack/server-core',
'apollo-cache-inmemory',
'apollo-client',
'apollo-fetch',
'apollo-link',
'apollo-link-batch-http',
'apollo-link-context',
'apollo-link-debounce',
'apollo-link-error',
'apollo-link-http',
'apollo-link-logger',
'apollo-link-retry',
'apollo-link-schema',
'apollo-link-ws',
'apollo-logger',
'browser-bunyan',
'classnames',
'connected-react-router',
'cors',
'dotenv',
'envalid',
'error-stack-parser',
'esm',
'fela',
'fela-beautifier',
'fela-dom',
'fela-font-renderer',
'fela-perf',
'fela-plugin-fallback-value',
'fela-plugin-logger',
'fela-plugin-lvha',
'fela-plugin-prefixer',
'fela-plugin-unit',
'fela-plugin-validator',
'fela-preset-web',
'graphql',
'graphql-tag',
'history',
'immutability-helper',
'js-cookie',
'lodash',
'ramda',
'react',
'react-apollo',
'react-dom',
'react-fela',
'react-helmet',
'react-loadable',
'react-redux',
'react-resizable',
'react-router',
'react-router-config',
'react-router-dom',
'react-router-redux',
'react-transition-group',
'redux',
'redux-logger',
'redux-observable',
'redux-persist',
'redux-thunk',
'reselect',
'rxjs',
'rxjs-compat',
'sourcemapped-stacktrace',
'subscriptions-transport-ws',
'universal-cookie-express',
'webpack-dev-server/client' ] } }
zen debug [web] = { entry:
{ index:
[ 'raf/polyfill',
'webpack/hot/dev-server',
'webpack-dev-server/client?http://localhost:3000/',
'./src/index.tsx' ] },
name: 'web',
module:
{ rules:
[ { test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto' },
{ test: /\.(png|ico|jpg|gif|xml)$/,
use:
{ loader: 'url-loader',
options: { name: '[hash].[ext]', limit: 100000 } } },
{ test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
use:
{ loader: 'url-loader',
options: { name: '[hash].[ext]', limit: 100000 } } },
{ test: /\.(otf|ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
use: { loader: 'file-loader', options: { name: '[hash].[ext]' } } },
{ test: /\.css$/,
exclude: [Function: exclude],
use:
[ { loader: 'style-loader', options: {} },
{ loader: 'css-loader',
options: { sourceMap: true, importLoaders: 1 } },
{ loader: 'postcss-loader',
options: { plugins: [Function: plugins], sourceMap: true } } ] },
{ test: /\.css$/,
exclude: [Function: exclude],
use:
[ { loader: 'style-loader', options: {} },
{ loader: 'css-loader',
options: { sourceMap: true, importLoaders: 1 } } ] },
{ test: /\.graphqls/,
use: { loader: 'raw-loader', options: {} } },
{ test: /\.(graphql|gql)$/,
use: [ { loader: 'graphql-tag/loader', options: {} } ] },
{ test: /\.tsx?$/,
exclude: [Function: exclude],
use:
[ { loader: 'awesome-typescript-loader',
options: { configFileName: './tsconfig.json', useCache: true } } ] } ],
unsafeCache: false },
resolve:
{ symlinks: false,
cacheWithContext: false,
unsafeCache: false,
extensions:
[ '.web.mjs',
'.web.js',
'.web.ts',
'.web.tsx',
'.mjs',
'.js',
'.ts',
'.tsx',
'.json' ] },
watchOptions: { ignored: /(?:)/ },
bail: false,
stats:
{ hash: false,
version: false,
timings: true,
assets: false,
chunks: false,
modules: false,
reasons: false,
children: false,
source: true,
errors: true,
errorDetails: true,
warnings: true,
publicPath: false,
colors: true },
output:
{ devtoolModuleFilenameTemplate: [Function],
pathinfo: false,
filename: '[name].[hash].js',
chunkFilename: '[name].[chunkhash].js',
path:
'/Users/projects/fullstack-pro/servers/frontend-server/dist/web',
publicPath: '/' },
devtool: '#cheap-module-source-map',
mode: 'development',
performance: { hints: false },
plugins:
[ HotModuleReplacementPlugin {
options: {},
multiStep: undefined,
fullBuildTimeout: 200,
requestTimeout: 10000 },
DefinePlugin {
definitions:
{ __CLIENT__: true,
__SERVER__: false,
__SSR__: false,
__DEV__: true,
__TEST__: false,
'process.env.NODE_ENV': '"development"',
__BACKEND_URL__: '\'http://localhost:8080\'',
__GRAPHQL_URL__: '"http://localhost:8080/graphql"',
__PERSIST_GQL__: '\'false\'',
__FRONTEND_BUILD_DIR__: '\'dist\'',
__DLL_BUILD_DIR__: '\'dist/.build/dll\'',
__DEBUGGING__: '\'false\'' } },
ManifestPlugin {
opts:
{ publicPath: null,
basePath: '',
fileName: 'assets.json',
transformExtensions: /^(gz|map)$/i,
writeToFileEmit: false,
seed: null,
filter: null,
map: null,
generate: null,
sort: null,
serialize: [Function: serialize] } },
HtmlWebpackPlugin {
options:
{ template: '../../tools/html-plugin-template.ejs',
templateParameters: [Function: templateParametersGenerator],
filename: 'index.html',
hash: false,
inject: 'body',
compile: true,
favicon: false,
minify: false,
cache: true,
showErrors: true,
chunks: 'all',
excludeChunks: [],
chunksSortMode: 'auto',
meta: {},
title: 'Webpack App',
xhtml: false } },
DefinePlugin { definitions: { __PERSIST_GQL__: false } },
VirtualModulesPlugin {
_staticModules:
{ '/Users/projects/fullstack-pro/servers/frontend-server/node_modules/persisted_queries.json': '{}' } },
CheckerPlugin {},
DefinePlugin {
definitions:
{ 'process.env.NATS_URL': '"nats://localhost:4222/"',
'process.env.NATS_USER': '"test"',
'process.env.NATS_PW': '"test"',
'process.env.GRAPHQL_URL': '"http://localhost:8080/graphql"',
'process.env.CLIENT_URL': '"http://localhost:3000"',
'process.env.ZIPKIN_URL': '"test"',
'process.env.ZIPKIN_PORT': '"test"',
'process.env.LOG_LEVEL': '"trace"' } },
DefinePlugin {
definitions:
{ __ENV__:
'{"NATS_URL":"nats://localhost:4222/","NATS_USER":"test","NATS_PW":"test","GRAPHQL_URL":"http://localhost:8080/graphql","CLIENT_URL":"http://localhost:3000","ZIPKIN_URL":"test","ZIPKIN_PORT":"test","LOG_LEVEL":"trace"}' } } ],
node:
{ __dirname: true,
__filename: true,
fs: 'empty',
net: 'empty',
tls: 'empty' },
optimization:
{ removeAvailableModules: false,
removeEmptyChunks: false,
splitChunks: false },
devServer:
{ hot: true,
publicPath: '/',
headers: { 'Access-Control-Allow-Origin': '*' },
open: true,
quiet: false,
noInfo: true,
historyApiFallback: true,
port: 3000 } }