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

Linking react-scripts with the projects throws an error. #11618

Open
mdimitrov-finovation opened this issue Nov 4, 2021 · 4 comments
Open

Linking react-scripts with the projects throws an error. #11618

mdimitrov-finovation opened this issue Nov 4, 2021 · 4 comments

Comments

@mdimitrov-finovation
Copy link

mdimitrov-finovation commented Nov 4, 2021

Description

When I try to link the react-scripts package with npm link ../create-react-app/packages/react-scripts and then try to build the project an error appears:

Screenshot 2021-11-04 at 14 26 23

Additional

I kind of understood where the problem stands. I rebased my forked repository (custom react scripts) with react-scripts "main" branch. It appears that this branch is not working. Currently the "react-scripts" package uploaded in npm with version 4.0.3 is not actually the latest "main".

Environment

node v14.16.1
npm 6.14.12

P.S: Keep up the good work guys!!!

@elliehachemjob
Copy link

You need to import The package
probably try to recreate project and add component by component ?

If the project was made as library none of those issue would be possible

@mdimitrov-finovation
Copy link
Author

mdimitrov-finovation commented Nov 4, 2021

You need to import The package probably try to recreate project and add component by component ?

If the project was made as library none of those issue would be possible

Hey @elliehachemjob,

Thank you for the response, but I don't understand what do you mean? I've also added few more details about the issue.

@marioil
Copy link

marioil commented Nov 4, 2021

I can confirm that the current "main" branch of react-scripts is not working.

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

@stale stale bot added the stale label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants