question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve highlighting changes to files in SPFx project upgrade output

See original GitHub issue

I’ve upgraded one of my projects to SPFx 1.6.0 using the @next version of the CLI. After following all the steps, I’m seeing errors when I run gulp serve which look like they come from the updates to tsconfig.json.

I’m attaching the output of the command: office365 spfx project upgrade --toVersion 1.6.0 as well as the tsconfig.json file after I made the changes and the errors I see in the terminal. See lines 29-34 in errors.txt for the errors about the include and exclude options.

upgrade-1.6.0.zip

It’s certainly possible I misread the instructions, but I’ve checked a few times and I think I’ve got things right.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
sympmarccommented, Jun 2, 2020

You should always assume I’m dumber than you are, @waldekmastykarz. 😃 I’ll give it a try!

2reactions
sympmarccommented, Jun 10, 2020

The CodeTour approach is awesome. See my blog post on why it’s so useful.

So long, and thanks for all the fish.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Improve the default text output when upgrading an SPFx project
Good suggestion. I like the idea of having default output set to md for the spfx project upgrade command. With regards to the...
Read more >
How to upgrade your SPfx project to the latest version, and ...
Recently I had to upgrade an older project to the newest version of SPfx, and even though there are some great tools to...
Read more >
Update SPFx Project with Code Tour - Paul Bullock
Want to upgrade your SPFx project and want that extra guidance, consider using code tour to see where to apply the updates.
Read more >
Optimize SharePoint Framework builds for production
By default, SharePoint Framework projects are built in debug mode ... Next, change the contents of the gulpfile.js file in your project to:....
Read more >
Easily upgrade SharePoint Framework projects with the Office ...
Running this command will generate a file named report.md with details about what you need to change in your project to upgrade it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found