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:
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
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
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
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
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!2 replies