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

ng test failing #38

Open
dbnex14 opened this issue Jan 9, 2023 · 0 comments
Open

ng test failing #38

dbnex14 opened this issue Jan 9, 2023 · 0 comments

Comments

@dbnex14
Copy link

dbnex14 commented Jan 9, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant