Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install error: Could not parse '/home/verbus/hamler/stack.yaml': Aeson exception: #196

Open
verbus opened this issue Jun 19, 2020 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@verbus
Copy link

verbus commented Jun 19, 2020

verbus@ubuntu-s-4vcpu-8gb-nyc3-01:~/hamler$ make
STACK_YAML="stack.yaml" stack run build -- -l
Getting project config file from STACK_YAML environment
/home/verbus/hamler/hamler.cabal was modified manually. Ignoring /home/verbus/hamler/package.yaml in favor of the cabal file.
If you want to use the package.yaml file instead of the cabal file,
then please delete the cabal file.
DEPRECATED: The package at Archive from https://github.com/hamler-lang/purescript/archive/af96a35346a0f1004eba4598d64fee271621f29e.tar.gz does not include a cabal file.
Instead, it includes an hpack package.yaml file for generating a cabal file.
This usage is deprecated; please see commercialhaskell/stack#5210.
Support for this workflow will be removed in the future.

lib/Control/OTP/Supervisor/Behaviour.erl:22: Warning: variable 'Class' is unused
Compiling Data.Void
Compiling Data.Tuple
Compiling Data.Show
Compiling Data.Unit
Compiling Data.Semiring
Compiling Data.Semigroup
Compiling Data.Ring
Compiling Data.Ref
Compiling Data.Record
Compiling Data.Port
Compiling Data.Pid
Compiling Data.Int
Compiling Data.Functor
Compiling Data.Function
Compiling Data.Eq
Compiling Data.Ordering
Compiling Data.Monoid
Compiling Data.Foldable
Compiling Data.Ord
Compiling Data.Enum
Compiling Data.Char
Compiling Data.Bool
Compiling Data.Bits
Compiling Data.Atom
Compiling Control.OTP.GenStatem.Types
Compiling Control.OTP.GenServer.Types
Compiling Control.OTP.GenEvent.Types
Compiling Data.Timeout
Compiling Control.OTP.Application.Behaviour
Compiling Control.Applicative
Compiling Control.Monad
Compiling Data.Time
Compiling Foreign
Compiling Control.Process
Compiling Control.OTP.Application.Types
Compiling Control.OTP.GenEvent
Compiling Control.OTP.GenEvent.Behaviour
Compiling Control.OTP.GenServer
Compiling Control.OTP.GenServer.Behaviour
Compiling Control.OTP.GenStatem
Compiling Control.OTP.GenStatem.Behaviour
Compiling Control.OTP.Supervisor.Behaviour
Compiling Control.OTP.Supervisor.Types
Compiling Database.Mnesia
Compiling ERTS.Counters
Compiling ERTS.Atomics
Compiling Data.Set
Compiling Data.PropList
Compiling Data.Float
Compiling Data.Binary
Compiling ERTS.PersistentTerm
Compiling System.Dir
Compiling System.IO
Compiling System.OS
Compiling System.Random
Compiling System.VM
Compiling Data.Maybe
Compiling Data.List
Compiling Data.Map
Compiling Data.Either
Compiling Control.OTP.Application
Compiling Data.String
Compiling Database.ETS
Compiling Env
Compiling Network.Socket
Compiling System.File
Compiling System.Init
Compiling Data.Result
Compiling System.Error
Compiling Data.Traversable
Compiling Prelude
Compiling Demo.GenServer
Compiling Control.OTP.Supervisor
verbus@ubuntu-s-4vcpu-8gb-nyc3-01:/hamler$ sudo make install
[sudo] password for verbus:
STACK_YAML="stack.yaml" stack install --local-bin-path /usr/bin --allow-different-user
Getting project config file from STACK_YAML environment
Could not parse '/home/verbus/hamler/stack.yaml':
Aeson exception:
Error in $['extra-deps'][5]: failed to parse field 'extra-deps': expected PackageIdentifier, encountered Object
See http://docs.haskellstack.org/en/stable/yaml_configuration/
Makefile:18: recipe for target 'install' failed
make: *** [install] Error 1
verbus@ubuntu-s-4vcpu-8gb-nyc3-01:
/hamler$ sudo make install
STACK_YAML="stack.yaml" stack install --local-bin-path /usr/bin --allow-different-user
Getting project config file from STACK_YAML environment
Could not parse '/home/verbus/hamler/stack.yaml':
Aeson exception:
Error in $['extra-deps'][5]: failed to parse field 'extra-deps': expected PackageIdentifier, encountered Object
See http://docs.haskellstack.org/en/stable/yaml_configuration/
Makefile:18: recipe for target 'install' failed
make: *** [install] Error 1

@emqplus emqplus assigned emqplus, Rory-Z and sdzx-1 and unassigned emqplus Jun 20, 2020
@emqplus emqplus added the bug Something isn't working label Jun 20, 2020
@emqplus emqplus added this to the 0.1.3 milestone Jun 20, 2020
@Rory-Z
Copy link
Contributor

Rory-Z commented Jul 1, 2020

CC @EMQ-YangM
This seems to be a stack error, can you help him

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants