Giter VIP home page Giter VIP logo

Comments (3)

milesfrain avatar milesfrain commented on July 25, 2024

I'm curious if this works:

mkdir foo
cd foo
spago init
spago build

If that also fails, then that points to a spago issue, rather than a book issue.

Good job fixing removeAnchors.sh. It would be great if we could convert all those shell scripts to purescript for greater cross-platform compatibility. There's some discussion of that in #396 (comment)

from purescript-book.

MikHulk avatar MikHulk commented on July 25, 2024

No it doesn't work indeed. I didn't know this issue thank for sharing. I will look. There is this issue on spago project purescript/spago#894 and this thread on forum where I found some help https://discourse.purescript.org/t/trouble-installing-dependencies/3052/28.

I have opened a bug report related to the freeBSD package:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272064

I am going to try to install the next version from npm I hope this resolve my issue.

Thank you

from purescript-book.

MikHulk avatar MikHulk commented on July 25, 2024

Well it doesn't work with spago@next:

24-06-23 11:38:51 /home/mik/Dev/purescript/purescript-book
mik@labo $ cd exercises/chapter2                                                                         
24-06-23 11:39:10 /home/mik/Dev/purescript/purescript-book/exercises/chapter2
mik@labo $ spago test
Reading Spago workspace configuration...

❌ Couldn't parse Spago config, error:
  Did not find spago.yaml file. Run `spago init` to initialise a new project.

24-06-23 11:39:14 /home/mik/Dev/purescript/purescript-book/exercises/chapter2
mik@labo $ cd -
/home/mik/Dev/purescript/purescript-book
24-06-23 11:39:22 /home/mik/Dev/purescript/purescript-book
mik@labo $ git add .
24-06-23 11:39:26 /home/mik/Dev/purescript/purescript-book
mik@labo $ git commit --all --message "Exercises ready to be solved"
Author identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'mik@labo.(none)')
24-06-23 11:39:36 /home/mik/Dev/purescript/purescript-book
mik@labo $ git config --global user.email "[email protected]"
24-06-23 11:39:51 /home/mik/Dev/purescript/purescript-book
mik@labo $ git config --global user.name "Your Name"
24-06-23 11:39:56 /home/mik/Dev/purescript/purescript-book
mik@labo $ cd exercises/chapter2/                                                                        
24-06-23 11:40:06 /home/mik/Dev/purescript/purescript-book/exercises/chapter2
mik@labo $ spago test
Reading Spago workspace configuration...

❌ Couldn't parse Spago config, error:
  Did not find spago.yaml file. Run `spago init` to initialise a new project.

I going to try again with legacy spago npm install.

from purescript-book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.