-
Notifications
You must be signed in to change notification settings - Fork 185
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
NPM install causes deploy to cancel with exception 'Pheanstalk\Exception\ServerException' with message 'Server reported NOT_FOUND' #372
Comments
Is the command simply Could you share the package.json if possible? |
The commands tried have been:
Which runs until find matches a file, and xargs calls I also tried setting up a command to install and build a specific module:
And again this executed the The package.json is:
|
Really sorry for the late reply, I'd missed you reply. If it isn't working still can you run |
I've updated to the current master and run a deploy. Here are the logs produced from server startup, then running the deploy at 12:04:02, which failed at 12:09:14. Let me know if there's anything else you need. Thanks. |
I have managed to work around this by silencing output from the commands using |
Before submitting your issue, please make sure that you've checked all of the checkboxes below.
php -v
composer install --no-dev
from the root of your installation.npm install --production
from the root of your installation.rm -rf bootstrap/cache/*
from the root of your installation.To help us better understand your issue, please answer the following.
This is possibly related to #333 I have followed the advice at the bottom of that thread to update to master and I'm still experiencing the issue.
Expected behaviour
Deployer to run npm install command on remote server.
Actual behaviour
As soon as the command executes npm install the remaining steps in the deploy are marked as cancelled, but the running command still shows as running. The below stack trace is logged at the same time. Sometimes a snippet of the start of the npm command is shown in the console log, e.g.
But normally there is no output logged before the deploy fails.
As there are multiple javascript modules to build I have a find command that locates them and uses xargs runs npm install for each. In this case the command runs successfully until the first invocation of npm install at which point it errors as described. As part of debugging I have setup the command with each npm install set included manually. In this case the command errors almost immediately - as soon as the first npm install is executed.
Steps to reproduce
Include a command in a deploy that executes npm install
Environment info
Laravel Environment
Server Environment
Installed Packages & their version numbers
Extra Information
Node
node -v
v6.14.1npm -v
3.10.10Logs (see storage/logs/) or other output that would be helpful
from: cli-2018-04-27.log
The text was updated successfully, but these errors were encountered: