We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
config/deploy.rb:
config/deploy.rb
... deploy do ... invoke :'npm:install' command 'npm run build:prod' end ...
$ bundle exec mina deploy ... rm -rf .git && echo "-----> Installing node modules using Npm" sub_directory=$(pwd | sed -r "s/.*?$(basename $build_path)//g") mkdir -p "/home/u1/app//home/u1/app/shared/$sub_directory/node_modules" ln -s "/home/u1/app//home/u1/app/shared/$sub_directory/node_modules" "node_modules" npm install --production && # <--- syntax error here!!! npm run build:prod ...
Most likely, mina should enclose each command in parenthesis, probably here.
mina
The text was updated successfully, but these errors were encountered:
This is a bug in mina-npm plugin.
It has a bad taks configuration: https://github.com/mina-deploy/mina-npm/blob/master/lib/mina/npm/tasks.rb#L13
it writes everyting in one string without && or parenthesis.
Sorry, something went wrong.
When I do this:
command ' ( echo 1 echo 2 ) ' command 'exit 1'
I get:
( echo 1 echo 2 ) && exit 1 &&
Which has wrong syntax.
Also, why not automatically add parenthesis?
fixed with #427
No branches or pull requests
config/deploy.rb
:Most likely,
mina
should enclose each command in parenthesis, probably here.The text was updated successfully, but these errors were encountered: