pimbrouwers / Falco

A toolkit for building fast and functional-first web applications using F#.
https://www.falcoframework.com
Apache License 2.0
530 stars 38 forks source link

Errors in Tutorial? #67

Closed r4mp4l closed 7 months ago

r4mp4l commented 2 years ago

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.

ilog2000 commented 2 years ago

This line works for me:

dotnet new -i "Falco.Template::3.0.0"
r4mp4l commented 2 years ago

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
ilog2000 commented 2 years ago

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

r4mp4l commented 2 years ago

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

Can someone suggest an online IDE for Falco?

metatron-the-chronicler commented 2 years ago

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.

pimbrouwers commented 2 years ago

Did you get this going @r4mp4l?