spawn gcloud ENOENT
See original GitHub issueVersion info
Angular: 12.2.15
Firebase: 9.4.0
AngularFire: 7.2.0
nguniversal/express-engine: 12.1.3
Problem
On installing Angular fire
with ng add @angular/fire
and choosing Cloud Run
for my SSR. It gives me an error when running ng deploy
.
✔ Prerendering routes to C:\Users\x\Desktop\my-project\dist\my-project\browser complete. 📦 Deploying to Cloud Run Error when trying to deploy: spawn gcloud ENOENT
Where I think the problem lies is at dist/my-project/run/package.json
{
"name": "functions",
"description": "Angular Universal Application",
"main": "dist\\my-project\\server\\main.js",
"scripts": {
"start": "node dist\\my-project\\server\\main.js"
},
"engines": {
"node": "16.13"
},
"dependencies": {},
"devDependencies": {},
"private": true
}
Where it should be a single slash \
instead of a double slashes \\
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
How do I debug "Error: spawn ENOENT" on node.js?
30 Answers 30 · Step 1: Ensure spawn is called the right way · Step 2: Identify the Event Emitter that emits the...
Read more >spawn node ENOENT" when using child_process in Node.js
Have you ever stumbled upon this error when using spawn from Node.js' child_process module? ~/demo $ node main.js. ~/demo/main.js: ...
Read more >Fatal error: spawn ENOENT while running grunt
I think ENOENT is when there is a missing file or directory. Did you follow all of the setup steps in the docs...
Read more >Error spawn ENOENT on node js | Edureka Community
Before anyone spends to much time debugging this problem, most of the time it can be resolved by deleting node_modules and reinstalling the ......
Read more >Solved: Re: Can't run openssl through Node (using execFile...
Error: spawn openssl ENOENT ... correct - I don't have my own docker container and instead am allowing the gcloud CLI to build...
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 Free
Top 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
Same problem here on Windows.
I put
gcloud
in thePath
variable and logged in. Then made sure thatgcloud
works if called from PowerShell, Command line and Git bash. Bt it still seems unavailable to this schematic run process…This issue does not seem to follow the issue template. Make sure you provide all the required information.