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

Starting dev server for an Angular app fails #196

Closed
vscaiceanu-1a opened this issue Jul 31, 2024 · 4 comments
Closed

Starting dev server for an Angular app fails #196

vscaiceanu-1a opened this issue Jul 31, 2024 · 4 comments

Comments

@vscaiceanu-1a
Copy link

Describe the bug

I'm trying to write a tutorial using an Angular app but the dev server fails to start.

Link to a StackBlitz project which shows the error

No response

Steps to reproduce

clone https://github.com/vscaiceanu-1a/tutorialkit-angular
npm install
npm start

go to http://localhost:4321/

Starting http server fails with:

> ng serve

jsh: permission denied: ng

Expected behavior

The app should be served

Screenshots

No response

Platform

  • TutorialKit version: 0.1.1
  • OS: macOS
  • Browser: Chrome
  • Version: 126.0.6478.185

Additional context

No response

@AriPerkkio
Copy link
Member

This sounds similar as

Could you try if removing templated/*/node_modules works?

@vscaiceanu-1a
Copy link
Author

It does work indeed.
Thank you!

@AriPerkkio
Copy link
Member

Perfect! We'll prioritize #189 next so that node_modules would be ignored by default automatically.

@AriPerkkio
Copy link
Member

This is now fixed in 0.1.2 versions. Now node_modules of templates are not copied to lesson code. It's safe to have node_module present on file system for testing purposes.

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

2 participants