Skip to content

Failure when doing git deployment #5

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

Open
jeremymeng opened this issue Oct 4, 2017 · 9 comments
Open

Failure when doing git deployment #5

jeremymeng opened this issue Oct 4, 2017 · 9 comments

Comments

@jeremymeng
Copy link

My deployment to Azure didn't succeed after running git push azure master.

The errors I saw in the output are

remote: Omitting next output lines...
remote: Looking for app.js/server.js under site root.
remote: Invalid start-up command "gulp" in package.json. Please use the format "node <script relative path>".
remote: Using start-up script server.js
remote: Generated web.config.

and

remote: .................
remote:
remote: D:\home\site\wwwroot\node_modules\imagemin-pngquant\index.js:2
remote: An error has occurred during web site deployment.
remote: const execBuffer = require('exec-buffer');
remote: gulp failed
remote: ^^^^^
remote: SyntaxError: Use of const in strict mode.
remote:     at Module._compile (module.js:439:25)
remote:     at Object.Module._extensions..js (module.js:474:10)
remote:     at Module.load (module.js:356:32)
remote:     at Function.Module._load (module.js:312:12)
remote:     at Module.require (module.js:364:17)
remote:     at require (module.js:380:17)
remote:     at Object.<anonymous> (D:\home\site\wwwroot\gulpfile.js:20:14)
remote:     at Module._compile (module.js:456:26)
remote:     at Object.Module._extensions..js (module.js:474:10)
remote:     at Module.load (module.js:356:32)
remote:     at Function.Module._load (module.js:312:12)
remote:
remote: Error - Changes committed to remote repository but deployment to website failed.
To https://ymmeanjs.scm.azurewebsites.net/ymmeanjs.git
* [new branch]      master -> master
@mdauscher
Copy link

Hello, I'm seeing the same problem.

Searching around I found this link to a very similar MSFT published tutorial but deploying to a Linux container. I tried it and got past the problem you described above. I can now connect to the webapp but I'm getting http Service Unavailable errors. I'm now chasing that problem.

PS. I'm a novice at this and using these tutorials as a learning tool.

@rajeshdh
Copy link

Did you find any solution to this? I am having the same issue.

@stevedcc
Copy link

stevedcc commented Mar 4, 2018

I'm having exactly the same issues. Not impressed that Microsoft haven't responded in almost 5 months.

@foolisheep
Copy link

I got the same issue. The tutorial should be updated!

@foolisheep
Copy link

foolisheep commented Oct 16, 2018

You can change the start line in package.json to
"start": "node node_modules/gulp/bin/gulp.js",

This will unblock the deployment, but still get error:

Start script "node_modules/gulp/bin/gulp.js" from package.json is not found.

I would like to fix it complete in future.

@elqolbi
Copy link

elqolbi commented Nov 23, 2018

I found the same problem, I also found this problem

remote: npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
remote: npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
remote: npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
remote: npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
remote: npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
remote: npm WARN deprecated [email protected]: gulp-header 1.x is deprecated and will no longer be updated, please update to 2.x
remote: .....
remote: npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To https://sarjanazure.scm.azurewebsites.net:443/sarjanazure.git
 * [new branch]      master -> master

@skryshtafovych
Copy link

Any updates on this

@TammyLeeSeattle
Copy link

Yikes. No update, huh? :(

@matthewkooshad
Copy link

i would like to use this project, but i'm getting blocked by this also. how to solve?

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

9 participants