Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The new command for npm start does not work #59

Open
joncodo opened this issue Feb 27, 2023 · 0 comments
Open

The new command for npm start does not work #59

joncodo opened this issue Feb 27, 2023 · 0 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@joncodo
Copy link
Contributor

joncodo commented Feb 27, 2023

Overview

I think this is related to the changes @seanspeaks just made in this repo.

This is the command we want:

"scripts": {
    "start": "concurrently \"cd template/backend && npm run backend-start\" \"cd template/frontend && npm run frontend-start\"",
    "test": "npm test -workspaces"
  }

Problem

But when I run create-frigg-app, the frigg app that gets created does not have this.

Instead, it has:

"scripts": {
    "start": "concurrently \"cd backend && npm start\" \"cd frontend && npm start\"",
    "test": "npm test -workspaces"
  },

My branch to try this out for yourself

https://github.com/friggframework/create-frigg-app/tree/prevent-duplicate-users

How I am running create-frigg-app

➜ prevent-duplicate-users-test1 git:(master) ✗ ../create-frigg-app/packages/create-frigg-app/index.js prevent-duplicate-users-test2 --template file:../create-frigg-app/packages/cfa-template/

@joncodo joncodo added the help wanted Extra attention is needed label Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants