jesseduffield / jesseduffield/lazynpm

running script: npm run dev, does not open on localhost

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
861
Forks
40
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.

When i use lazynpm to run the script npm run dev, it just spins and does not actually run the script.

**To Reproduce**
Steps to reproduce the behavior:

1. create a new nextjs project using: npx create-next-app@latest, in wsl2
2. cd into that directory and open lazynpm
3. try to run the npm run dev script

**Expected behavior**
A clear and concise description of what you expected to happen.

I would expect there to be some sort of output in lazygit where it says that it is now running on localhost 3000, or at least it ran in the background, and it is possible to manually write localhost 3000 in a browser to see the webpage.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: Windows using WSL2
- Lazynpm Version: latest download using go
- The last commit id if you built project from sources (run : `git-rev parse HEAD`)

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.