0

When I trying to create a project or run a file or any command, nothing happens. just --version is working :(

enter image description here

How to fix this

Aidin53
  • 531
  • 4
  • 9
  • Have you tried `bun http.js`? – Palladium02 Jul 13 '22 at 14:26
  • 1
    Post actual code, not images. – Pointy Jul 13 '22 at 14:28
  • @Palladium02 yes – Aidin53 Jul 13 '22 at 14:32
  • @Aidin53 That is interesting as both `bun http.js` and `bun run http.js` should work. What is the general setup (OS)? – Palladium02 Jul 13 '22 at 14:39
  • @Palladium02 windows10 with ubuntu 22.04 – Aidin53 Jul 13 '22 at 14:44
  • It's impossible to unswear a question why the code that you didn't include when run with bun "doesn't work". You didn't even tell us what is in your program, for all we know it could be an infinite loop, or listening on some other port etc. How did you install bun? Does it work for a simple program with a single console.log? Or for any other programs that you wrote? Whaat is their source code? Do they work in Deno? In Node? Does really **only** --version work? Did you try bun init, bun install, bun add, bun link, etc.? You provided hardly any data so no wonder it's not answered for so long. – rsp Apr 22 '23 at 19:10

0 Answers0