Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49103

Ionic package list - error when output to variable in bash

$
0
0

@guardit wrote:

I am in great need of assistance, I would like my server to know when a build is ready, however I keep getting an error when running the command “OUTPUT=$(ionic package list)” in bash, I am using the latest OSX version on my Mac Mini.

The reason for the command is to read the output line by line once I can get in into a variable.

===================================

! /bin/bash

cd /path-to-app-folder

Works

ionic package list

Does NOT work: TypeError: process.stdout.getWindowSize is not a function

OUTPUT="$(ionic package list)"
echo $OUTPUT

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49103

Trending Articles