DenoDDeno
Powered by
nightingale11.N
Denoβ€’2y agoβ€’
1 reply
nightingale11.

Angular on Deno

Hello everyone! Got a problem with Deno and would like to ask for your advice.

I'm trying to serve a new default angular project but get it being built infinitely.
The command is basically:
ng serve
ng serve

which transform under deno into:
deno run --allow-read --allow-env --allow-sys --allow-run --allow-write --allow-ffi --allow-net npm:@angular/cli/ng serve
deno run --allow-read --allow-env --allow-sys --allow-run --allow-write --allow-ffi --allow-net npm:@angular/cli/ng serve


Angular seems to have been installed correctly, as it returns version info:
deno run --allow-read --allow-env --allow-sys --allow-run npm:@angular/cli/ng version
deno run --allow-read --allow-env --allow-sys --allow-run npm:@angular/cli/ng version


Angular CLI: 18.1.0
Node: 20.11.1
Package Manager: npm 9.2.0
OS: linux x64

Angular: 18.1.0
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1801.0
@angular-devkit/build-angular 18.1.0
@angular-devkit/core 18.1.0
@angular-devkit/schematics 18.1.0
@schematics/angular 18.1.0
rxjs 7.8.1
typescript 5.5.3
zone.js 0.14.7

In case it should be reproduced, first i ran
deno run --allow-read --allow-env --allow-sys --allow-run --allow-write npm:@angular/cli/ng new ng-hello
deno run --allow-read --allow-env --allow-sys --allow-run --allow-write npm:@angular/cli/ng new ng-hello

Which built just fine and the project created seems OK.

Any feedback is appreciated, feel free to tag me any time on this topic if needed. Hope for your help!
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Angular on Deno 2.0
Chrissi | FreakyCChrissi | Freaky / help
2y ago
Angular SSR Deno
SheikSSheik / help
2y ago
Running Angular SSR on Deno Deploy
SheikSSheik / help
2y ago
Deno + Vite + DenoKV
AndiAAndi / help
2y ago