kalloc

Results 23 comments of kalloc

@maurodelazeri do you have any example?

How I use LSP ```json … "solidity": { "command": "nomicfoundation-solidity-language-server", "trace.server": "verbose", "trace.server.format": "json", "args": [ "--stdio" ], "filetypes": [ "solidity" ], "rootPatterns": [ "foundry.toml", "package.json", ".git" ], } …...

The solution for me is to install tslib (pnpm add tslib -D), but I think if hardhat (pnpm run compile) works, LSP should work too.

I have the same problem on latest LTS Ubuntu. Installing Xvfb is not the solution. Ready to make any analyzes that helps to find proper solution.

--http-server-mode doesn't work too ``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4bba59] goroutine 6 [running]: os.(*Process).signal(0x3d?, {0x94f4d8?, 0xb1ad30?}) /opt/hostedtoolcache/go/1.18.4/x64/src/os/exec_unix.go:63 +0x39...

got the error in message: ``` [4160938.495613] audit: type=1400 audit(1671487379.507:1733): apparmor="DENIED" operation="mknod" profile="snap.firefox.firefox" name="/home/y/.config/browsh/firefox_profile/Telemetry.FailedProfileLocks.txt" pid=121692 comm="firefox" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000 ```

I think you need an apparmor profile for Firefox