Skip to content
New issue

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

build: prod build broken #397

Closed
dsebastien opened this issue Jun 2, 2018 · 1 comment
Closed

build: prod build broken #397

dsebastien opened this issue Jun 2, 2018 · 1 comment

Comments

@dsebastien
Copy link
Contributor

dsebastien commented Jun 2, 2018

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/NationalBankBelgium/stark/blob/master/CONTRIBUTING.md#got-a-question-or-problem

Current behavior

When executing npm run build:prod in the starter or showcase we get errors about "cacheGroups" (does not exist in the schema).

Also those warnings:

 10% building modules 0/1 modules 1 active …stark\showcase\src\polyfills.browser.tsWarning: The 'no-accessor-field-mismatch' rule requires type information.
Warning: The 'no-array-delete' rule requires type information.
Warning: The 'no-collection-size-mischeck' rule requires type information.
Warning: The 'no-dead-store' rule requires type information.
Warning: The 'no-element-overwrite' rule requires type information.
Warning: The 'no-gratuitous-expressions' rule requires type information.
Warning: The 'no-ignored-initial-value' rule requires type information.
Warning: The 'no-ignored-return' rule requires type information.
Warning: The 'no-misleading-array-reverse' rule requires type information.
Warning: The 'no-redundant-boolean' rule requires type information.
Warning: The 'no-return-type-any' rule requires type information.
Warning: The 'no-self-assignment' rule requires type information.
Warning: The 'no-unused-array' rule requires type information.
Warning: The 'no-use-of-empty-return-value' rule requires type information.
Warning: The 'no-useless-cast' rule requires type information.
Warning: The 'no-useless-intersection' rule requires type information.
Warning: The 'no-variable-usage-before-declaration' rule requires type information.
Warning: The 'parameters-max-number' rule requires type information.
Warning: The 'prefer-immediate-return' rule requires type information.
Warning: The 'use-type-alias' rule requires type information.

Expected behavior

No errors or warnings :)

For Tooling issues:

  • Node version: 8.7.0
  • Platform: Win
@christophercr
Copy link
Collaborator

christophercr commented Jun 4, 2018

Regarding the issue about the linting warnings, for example: Warning: The 'no-array-delete' rule requires type information, I have created this issue #405 to track it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants