Cli-microsoft365: Running spfx project upgrade output does not output file

Created on 23 Aug 2019  Â·  4Comments  Â·  Source: pnp/cli-microsoft365

Running command against a V1.7 project and cannot output the report to file:

spfx project upgrade --toVersion 1.9.1 --output md > upgrade-report.md

As per docs, assuming that 1.9.1 support is available, the output reports to the window but not a file.
https://pnp.github.io/office365-cli/cmd/spfx/project/project-upgrade/

Any ideas?

question

Most helpful comment

Hey Velin,

Sorry for not getting getting back to you, on holiday so cannot test till next week or the weekend.

Paul

Get Outlook for iOShttps://aka.ms/o0ukef


From: Velin Georgiev notifications@github.com
Sent: Wednesday, August 28, 2019 4:15:39 PM
To: pnp/office365-cli office365-cli@noreply.github.com
Cc: Paul Bullock paul.bullock@capacreative.co.uk; Mention mention@noreply.github.com
Subject: Re: [pnp/office365-cli] Running spfx project upgrade output does not output file (#1067)

@pkbullockhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpkbullock&data=02%7C01%7Cpaul.bullock%40capacreative.co.uk%7C06342e4f79f544b427be08d72bca96eb%7Cb65b38dfdc4640ca92b9547172742753%7C0%7C0%7C637026021428312588&sdata=NMmIZgw2vKtvz8VzUdDWAdEVdoId0YtULWrfkKx7DbU%3D&reserved=0 , could you please let me know if you have managed to make it work?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpnp%2Foffice365-cli%2Fissues%2F1067%3Femail_source%3Dnotifications%26email_token%3DACC7Z4NZRZ3VOJXQMEYIYETQG2JBXA5CNFSM4IO7QMM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5LPEIA%23issuecomment-525791776&data=02%7C01%7Cpaul.bullock%40capacreative.co.uk%7C06342e4f79f544b427be08d72bca96eb%7Cb65b38dfdc4640ca92b9547172742753%7C0%7C0%7C637026021428322585&sdata=0uuSW5vQL7I%2Bkw61Ey%2F5MRYI3z25cqM2SE4PGdmWbzc%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACC7Z4KVWQ6J3LFPP4AB75DQG2JBXANCNFSM4IO7QMMQ&data=02%7C01%7Cpaul.bullock%40capacreative.co.uk%7C06342e4f79f544b427be08d72bca96eb%7Cb65b38dfdc4640ca92b9547172742753%7C0%7C0%7C637026021428332576&sdata=VoQKuo7Q57XXX7vBfUnvcZ%2Brh%2BadiP4UmpxxF4%2BU0vw%3D&reserved=0.

All 4 comments

Hi Paul (@pkbullock)! This issue is related to that one #984.

Running it in non-immersive mode directly from the command line will generate the report.
o365 spfx project upgrade --toVersion 1.5.0 --output md > upgrade-report.md

In v2 this issue is fixed so even in immersive mode should work.

@pkbullock , could you please let me know if you have managed to make it work?

Hey Velin,

Sorry for not getting getting back to you, on holiday so cannot test till next week or the weekend.

Paul

Get Outlook for iOShttps://aka.ms/o0ukef


From: Velin Georgiev notifications@github.com
Sent: Wednesday, August 28, 2019 4:15:39 PM
To: pnp/office365-cli office365-cli@noreply.github.com
Cc: Paul Bullock paul.bullock@capacreative.co.uk; Mention mention@noreply.github.com
Subject: Re: [pnp/office365-cli] Running spfx project upgrade output does not output file (#1067)

@pkbullockhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpkbullock&data=02%7C01%7Cpaul.bullock%40capacreative.co.uk%7C06342e4f79f544b427be08d72bca96eb%7Cb65b38dfdc4640ca92b9547172742753%7C0%7C0%7C637026021428312588&sdata=NMmIZgw2vKtvz8VzUdDWAdEVdoId0YtULWrfkKx7DbU%3D&reserved=0 , could you please let me know if you have managed to make it work?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpnp%2Foffice365-cli%2Fissues%2F1067%3Femail_source%3Dnotifications%26email_token%3DACC7Z4NZRZ3VOJXQMEYIYETQG2JBXA5CNFSM4IO7QMM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5LPEIA%23issuecomment-525791776&data=02%7C01%7Cpaul.bullock%40capacreative.co.uk%7C06342e4f79f544b427be08d72bca96eb%7Cb65b38dfdc4640ca92b9547172742753%7C0%7C0%7C637026021428322585&sdata=0uuSW5vQL7I%2Bkw61Ey%2F5MRYI3z25cqM2SE4PGdmWbzc%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACC7Z4KVWQ6J3LFPP4AB75DQG2JBXANCNFSM4IO7QMMQ&data=02%7C01%7Cpaul.bullock%40capacreative.co.uk%7C06342e4f79f544b427be08d72bca96eb%7Cb65b38dfdc4640ca92b9547172742753%7C0%7C0%7C637026021428332576&sdata=VoQKuo7Q57XXX7vBfUnvcZ%2Brh%2BadiP4UmpxxF4%2BU0vw%3D&reserved=0.

Hi Velin,

This works as expected, thank you for this guidance.

Paul

Was this page helpful?
0 / 5 - 0 ratings