When TypeScript is configured to use a modern module resolution setting ( node16, nodenext, etc.), the compiler expects that the declared module name ends with a. In fact, this is no quite right, because stack uses system GHC to work.Const knex = require ( 'knex' ) ( I had the same problem on Mac OS, but I installed the PostgreSQL gem easily by using the following in a terminal: ARCHFLAGS'-arch x8664' gem install pg (I installed PostgreSQL first with brew install postgresql.) Share. I supposed that brewed stack could also work. This indeed worked, however my real use case required stack. Originally, Branimir Maksimovic answered me in Haskell Cafe and suggested to use cabal instead of stack, and install GHC and cabal via homebrew. However, in my real use case stack is required for Yesod development ( yesod devel relies on stack). Generally speaking, stack build tool is not needed thanks to cabal-install 3+ and nix-style store. Make: *** Error 2ĭo not report this issue to Homebrew/brew or Homebrew/core! Tmp-add_n.s:179:6: error: invalid operand
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |