Hot answers tagged

5 votes

How to get intellisense/auto suggestion working for Plutus in VSCode?

Simply install the Haskell extension from inside Visual Studio Code. You'll get there by pressing Ctrl+Shift+X and searching for Haskell. Note that the extension requires a ghc installation (=<8.10....
thebrandre's user avatar
5 votes
Accepted

Problem starting a plutus devcontainer in windows

Ok, I found the issue, someone removed the nsswitch file here: https://github.com/input-output-hk/plutus/commit/5dbd3b833b40217cb1a63d4f52351ae8876ba86c The file tells the system to lookup the hosts ...
wutzebaer's user avatar
  • 689
3 votes
Accepted

Problem with creation of wallet using Javascript

I checked the npm page for cardanocli-js and found that you need to pass an options object to the AddressBuild method. const createWallet = (account) => { cardano.addressKeyGen(account); ...
Landen's user avatar
  • 146
3 votes

haskell-language-server used in VSCode Haskell extension produces spurious INLINABLE compilation error message

I found a workaround that is sufficient to get my IDE usable. **WORKAROUND: ** By comparing the cabal files for Plutus week10 (which compiles OK in IDE) with week07 (error), I discovered that adding ...
KenA's user avatar
  • 161
2 votes

Problem starting a plutus devcontainer in windows

This is a follow-up to the answer from wutzebaer. The Cardano team has since patched the repository to address the issue. They did not, however, revert the problem file to its previous working state. ...
Fuzzy Logic's user avatar
2 votes

cabal build Out of Memory Mac VS Code Docker

You will not be able to build this in less than 8G of RAM. Adding swap to make the total memory at least 8G may help.
Erik de Castro Lopo's user avatar
2 votes

cabal: Could not resolve dependencies:plutus-core:happy:exe.happy

The line Falling back to older state () means you probably need to run cabal update first (which downloads a copy of the current hackage index state).
Erik de Castro Lopo's user avatar
1 vote

VSCode HLS not working for plutus project

1 - Try running first the nix shell in a terminal then, from inside the nix shell, go to your project folder, and run: code . Than will open you project with vcode and all the terminals and the HSL ...
Manu Padilla's user avatar
1 vote

How do I set Up a Cabal file?

It you run cabal init it will generate a template. You can also run it with the --interactive flag so that it asks you questions on what should go in the file.
Erik de Castro Lopo's user avatar
1 vote

VS Code Remote VM IntelliSense Issues

Unfortunately this doesn't work in the plutus pioneer program weeks so far (currently week03). Your IDE uses the haskell language server to get type references but if you run the command haskell-...
FrostByte's user avatar
1 vote

HLS Compiler Error PPP (WSL2 + VSCode)

there is a workaround how to replace that error by GHC Core to PLC plugin; E043:Error Haskell Language Server - linker error: symbol sqlite3_fts3_may_be_corrupt other error should be solvable using ...
nik's user avatar
  • 21
1 vote
Accepted

VSCode + Docker setup problems on Mac (Intel)

These missing symbols _crypto_vrf_* are in libsoidum-vrf library. You seem to be linking the cardano-node against your systems provided libsodium. That sadly doesn't work as the official libsodium ...
angerman's user avatar
  • 359
1 vote
Accepted

HSL error for Datakinds extension in Week01 in VSCode

Here's a diff which shows how to get this fixed in VScode: https://github.com/paymog/plutus-pioneer-program/commit/7a1c2ff206aeaca9496075f18e2989901aeda9fe Note that even with this, VSCode fails to ...
Paymahn Moghadasian's user avatar
1 vote

Problem with creation of wallet using Javascript

I am also having the same problem on window using cardano-node-1.29.0-win64. cardanocli-js node module has issue on windows doesn't know how to create folder correctly, I need to modified "index....
Gyden's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible