webpack ignores build errors
Bug #1654051 reported by
Honza Pokorny
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Honza Pokorny |
Bug Description
When building the frontend code for the GUI, webpack will silently ignore builds errors, such as missing modules. This results in the exit being 0, instead of 1 (or more). Running "npm run build" succeeds even if an npm dependency is missing.
Steps to reproduce:
1. git clone git://github.
2. cd tripleo-ui
3. npm install
4. rm -rf node_modules/react
5. npm run build
Webpack will show a whole bunch of errors related to the missing "react" package but the exit code will be 0.
Changed in tripleo: | |
assignee: | nobody → Honza Pokorny (hpokorny) |
tags: | added: ui |
Changed in tripleo: | |
importance: | Undecided → High |
Changed in tripleo: | |
milestone: | none → ocata-3 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/416712
Review: https:/