Skip to content

ng test failing #38

Description

@dbnex14

Following this article is not easy by itself but I did and once I issue ng test, I get

mymac > ~/devwork/UiSpringAngular/client > master > ng test

Node packages may not be installed. Try installing with 'npm install'.
Could not find the '@angular-devkit/build-angular:karma' builder's node package.

I am not surprised it is failing since in step before that, the instructions are saying to delete node_modules folder from client app generated within the Spring Boot project

I already had Angular CLI installed on my mac, so I skipped that part in the instructions.

My project structure now looks like

UIApp
  |-client   // deleted its node_modules, favicon.ico, .gitignore as per instructions
       |+src
       |-angular.json  // modified its output path to "outputPath": "target/classes/static", as per instructions
       |-...
  |+node
  |-src
      |+main
      |+test
  |-pom.xml

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions