We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@roblouie Any reason this won't work vs the actual serve process? We use the www file in production and this won't allow us to build to that.
npm run-script build --prod
[15:05:34] ionic-app-script task: "build" [15:05:34] Error: ./environment-variables/environment-variables.module.ts Module build failed: TypeError: Cannot read property 'content' of undefined at Object.optimizationLoader (/Users/gap4/Documents/WEB/HAWORTH/HIES/hies_client_example/node_modules/@ionic/app-scripts/dist/webpack/optimization-loader-impl.js:14:24) at Object.loader (/Users/gap4/Documents/WEB/HAWORTH/HIES/hies_client_example/node_modules/@ionic/app-scripts/dist/webpack/optimization-loader.js:5:32) @ ./src/app/app.module.ngfactory.js 19:0-84 @ ./src/app/main.ts,./environment-variables/environment-variables.token.ts Module build failed: TypeError: Cannot read property 'content' of undefined at Object.optimizationLoader (/Users/gap4/Documents/WEB/HAWORTH/HIES/hies_client_example/node_modules/@ionic/app-scripts/dist/webpack/optimization-loader-impl.js:14:24) at Object.loader (/Users/gap4/Documents/WEB/HAWORTH/HIES/hies_client_example/node_modules/@ionic/app-scripts/dist/webpack/optimization-loader.js:5:32) @ ./src/app/app.module.ngfactory.js 113:0-84 @ ./src/app/main.ts Error: ./environment-variables/environment-variables.module.ts Module build failed: TypeError: Cannot read property 'content' of undefined at Object.optimizationLoader (/Users/gap4/Documents/WEB/HAWORTH/HIES/hies_client_example/node_modules/@ionic/app-scripts/dist/webpack/optimization-loader-impl.js:14:24) at Object.loader (/Users/gap4/Documents/WEB/HAWORTH/HIES/hies_client_example/node_modules/@ionic/app-scripts/dist/webpack/optimization-loader.js:5:32) @ ./src/app/app.module.ngfactory.js 19:0-84 @ ./src/app/main.ts,./environment-variables/environment-variables.token.ts Module build failed: TypeError: Cannot read property 'content' of undefined at Object.optimizationLoader (/Users/gap4/Documents/WEB/HAWORTH/HIES/hies_client_example/node_modules/@ionic/app-scripts/dist/webpack/optimization-loader-impl.js:14:24) at Object.loader (/Users/gap4/Documents/WEB/HAWORTH/HIES/hies_client_example/node_modules/@ionic/app-scripts/dist/webpack/optimization-loader.js:5:32) @ ./src/app/app.module.ngfactory.js 113:0-84 @ ./src/app/main.ts at BuildError.Error (native) at new BuildError (/Users/gap4/Documents/WEB/HAWORTH/HIES/hies_client_example/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28) at /Users/gap4/Documents/WEB/HAWORTH/HIES/hies_client_example/node_modules/@ionic/app-scripts/dist/preprocess.js:18:21 at process._tickCallback (internal/process/next_tick.js:109:7)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@roblouie Any reason this won't work vs the actual serve process? We use the www file in production and this won't allow us to build to that.
npm run-script build --prod
The text was updated successfully, but these errors were encountered: