skip to Main Content

I am trying to host a local server of a Frontity project but for some reason the command npm run dev doesn’t successfully host the project.

Here the command line output:
command line output

Here are my scripts from package.json:

"scripts": {
    "dev": "frontity dev",
    "build": "frontity build",
    "serve": "frontity serve"
}

I tried looking at my npm packages but could not figure this out.

After running npx frontity dev I get this output

2

Answers


  1. Few days ago I faced the same issue and read this blog post. There were some script problems and I solved it. The blog is-
    https://sarthakb1516.blogspot.com/2023/06/demystifying-npm-run-dev-understanding.html

    Login or Signup to reply.
  2. You can try to reinstall your npm or you can reconfigure it’s global path.
    This might work for you!!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search