Path "/server.ts" already exist
See original GitHub issueI’m submitting a…
[ x] Bug report
[ ] Feature request
[ ] Documentation issue or request
In package
[ ] @ng-toolkit/init
[x ] @ng-toolkit/serverless
[ ] @ng-toolkit/universal
[ ] @ng-toolkit/pwa
[ ] @ng-toolkit/firebug
Current behavior
When I run sudo ng add @ng-toolkit/serverless —-provider aws
, I am getting the following error:
Skipping installation: Package already installed <font color="#C4A000">INFO: </font>Project property is set to 'serverlessApp'. <font color="#CC0000">ERROR: </font>Path "/server.ts" already exist. <font color="#CC0000">ERROR: </font>If you think that this error shouldn't occur, please fill up bug report here: <font color="#4E9A06">https://github.com/maciejtreder/ng-toolkit/issues/new</font> <font color="#C4A000">INFO: </font>stacktrace has been sent to tracking system. Nothing to be done.
Expected behavior
serverless have to be installed
Minimal reproduction of the problem with instructions
Example repository
What is the motivation / use case for changing the behavior?
Environment
Angular version: X.Y.Z
Angular CLI: 7.3.8
Node: 8.10.0
NPM : 3.5.2
OS: linux x64
Angular: 7.2.12
Others:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
Developers - Path "/server.ts" already exist - - Bountysource
Skipping installation: Package already installed INFO: Project property is set to 'serverlessApp'. ERROR: Path "/server.ts" already exist.
Read more >Path "/src/app/app.module.ts" already exist - Stack Overflow
I try to create a new angular project (ng new project-name), but it gives me an error (Path "/src/app/app.module.ts" already exist.).
Read more >Server-side rendering (SSR) with Angular Universal
To create the server-side application module, app.server.module.ts , run the following CLI ... The route comes from the client's request to the server....
Read more >ts-node - npm
-vvv includes absolute paths to ts-node and typescript installations. ... file already exists, the TypeScript file will be ignored. ts-node ...
Read more >Node.js — Check If a Path or File Exists - Future Studio
When interacting with the file system, you may want to check whether a file exists on the hard disk at a given path....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
any update on this?
Also seeing this. Theoretically this
server.ts
file could be removed before running the command as it’s more likely than not just a standard implementation as suggested by the Angular docs, however this package should really ignore it if there is already one IMO.