Skip to content

Help: frontend-app - Module not found after adding material #48

@brindy

Description

@brindy

Expected Behavior

App should compile after adding material.

Actual Behavior

App doesn't compile and complains that it can't find the module:

Module not found: Error: Can't resolve '/home/envuser/apphome/node_modules/@angular/material/prebuilt-themes/indigo-pink.css' in '/home/envuser/apphome'

Steps to Reproduce the Problem

  1. takeoff init material
  2. cd material/projects/default/env/frontend-app
  3. ng add @angular/material --project=frontend-app
  4. takeoff start

Workaround is to copy the css file in to the theme folder and update angular.json.

Specifications

  • Version: 2.0.8
  • Platform: macOS 10.13.6 (High Sierra)
  • Subsystem:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions