You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
takeoff init material
cd material/projects/default/env/frontend-app
ng add @angular/material --project=frontend-app
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:
The text was updated successfully, but these errors were encountered:
@brindy Yes, I think I know what the issue is here.
Inside the docker image, the node_modules folder lives under it's own internal docker volume, as otherwise the linux image would try load Mac/Windows compiled dependencies from the local volume.
I'm looking at having more commands that allow you to run commands in attached docker images and have a way to duplicate local and internal dependencies.
Expected Behavior
App should compile after adding material.
Actual Behavior
App doesn't compile and complains that it can't find the module:
Steps to Reproduce the Problem
takeoff init material
cd material/projects/default/env/frontend-app
ng add @angular/material --project=frontend-app
takeoff start
Workaround is to copy the css file in to the
theme
folder and update angular.json.Specifications
The text was updated successfully, but these errors were encountered: