Falco icon indicating copy to clipboard operation
Falco copied to clipboard

Errors in Tutorial?

Open r4mp4l opened this issue 3 years ago • 6 comments

Hello,

I am following the steps here: https://www.falcoframework.com/#getting-started

I run the following steps:

  1. dotnet new -i Falco.Template::3.0.0
  2. dotnet new falco -o HelloWorldApp

I get this error message

`PS C:\Users\grampal\Documents\Programming\FSharp\FalcoStuff> dotnet new falco -o HelloWorldApp Couldn't find an installed template that matches the input, searching online for one that does... Matches from template source: NuGet

Template name "Falco" (falco) from author "Pim Brouwers, Daniel Tuna and contributors" in pack Falco.Template To use this template, run the following command and try again: dotnet new -i Falco.Template::3.0.0`

I have tried VSCode and Visual Studio as well.

Please help.

r4mp4l avatar Jun 13 '22 22:06 r4mp4l

This line works for me:

dotnet new -i "Falco.Template::3.0.0"

ilog2000 avatar Jul 01 '22 09:07 ilog2000

The next line doesn't work "dotnet new falco -o HelloWorldApp"

dotnet new falco -o HelloWorldApp    
Couldn't find an installed template that matches the input, searching online for one that does...
Matches from template source: NuGet
-----------------------------------
Template name "Falco" (falco) from author "Pim Brouwers, Daniel Tuna and contributors" in pack Falco.Template
    To use this template, run the following command and try again:
        dotnet new -i Falco.Template::3.0.0

r4mp4l avatar Jul 01 '22 13:07 r4mp4l

I've just tried - the next line works here as well. Something is wrong with NuGet on your side. Try maybe dotnet new -i "Falco.Template::3.0.0" --debug:reinit

ilog2000 avatar Jul 03 '22 21:07 ilog2000

Thank you for your suggestion. I tried the re-init and it doesn't work.

Can someone suggest an online IDE for Falco?

r4mp4l avatar Jul 04 '22 13:07 r4mp4l

Thank you for your suggestion. I tried the re-init and it doesn't work.

Can someone suggest an online IDE for Falco?

You may need to update your version of dotnet. Running it on version 5 produced the same error for me. Updating to 6.0.301 resolved the issue for me.

metatron-the-chronicler avatar Jul 07 '22 00:07 metatron-the-chronicler

Did you get this going @r4mp4l?

pimbrouwers avatar Aug 16 '22 16:08 pimbrouwers