Skip to content

ng add works only when the project is in src #17596

Closed

Description

@ahasall

Bug Report

Ionic version:

[x] 4.x

Current behavior:

ng add @ionic/angular --project=my-app throws the following error:

Could not find file for path: src/app/app.module.ts

Steps to reproduce:

ng new workspace
ng generate my-app
ng add @ionic/angular --project=my-app

Activity

  1. added a commit that references this issue on Feb 27, 2019
    484d92c
  2. ionitron-bot commented on Mar 29, 2019

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  3. locked and limited conversation to collaborators on Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions