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

After ejecting, can't run start server #23

Open
ppsreejith opened this issue Mar 12, 2021 · 1 comment · May be fixed by #24
Open

After ejecting, can't run start server #23

ppsreejith opened this issue Mar 12, 2021 · 1 comment · May be fixed by #24

Comments

@ppsreejith
Copy link

Describe the bug

After ejecting, if I try to run yarn start, it fails with the following error:

Cannot find module './utils/copyPublicFolder'

Did you try recovering your dependencies?

Yes

Which terms did you search for in User Guide?

This is an issue with create-react-extension

Environment

Environment Info:

  Binaries:
    Node: 14.15.4 - ~/.nvm/versions/node/v14.15.4/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v14.15.4/bin/yarn
    npm: 6.14.10 - ~/.nvm/versions/node/v14.15.4/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 86.0
  npmPackages:
    react: ^17.0.1 => 17.0.1 
    react-dom: ^17.0.1 => 17.0.1 
    react-scripts: Not Found
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

(Write your steps here:)

  1. yarn create react-app my-browser-extension --scripts-version react-browser-extension-scripts --template browser-extension
  2. yarn eject
  3. yarn start

Expected behavior

I expected yarn start to start the server.

Actual behavior

yarn start failed with error:

yarn run v1.22.10
$ node scripts/start.js
Cannot find module './utils/copyPublicFolder'
Require stack:
- /path/to/project/browser-ext/scripts/start.js
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Reproducible demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

@khlevon khlevon linked a pull request Mar 29, 2021 that will close this issue
1 task
@VasilyShelkov
Copy link
Owner

I will check the attached MR this weekend (at the latest) and get this merged in and released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants