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

Simple react ui component giving syntax error from node_modules #9653

Closed
andiappan-ar opened this Issue Mar 8, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@andiappan-ar
Copy link

andiappan-ar commented Mar 8, 2019

Hi I have two plain simple react projects named "feature" and "project-safarizoo".

Below my repository Url. Those are plain react app with babel.

Repository Url : https://github.com/andiappan-ar/simple-babel-issue.git

i have installed my feature app in project using below

npm install --save-dev ../feature

Now i try to import "feature/src/Article.js" component from feature to my project-safar-zoo.

Run my project-safarizoo u will find out the error.

\packages\project-safarizoo>npm start

This throw error.

capture

@babel-bot

This comment has been minimized.

Copy link
Collaborator

babel-bot commented Mar 8, 2019

Hey @andiappan-ar! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community
that typically always has someone willing to help. You can sign-up here
for an invite.

@danez danez added the i: 6.0 label Mar 17, 2019

@danez

This comment has been minimized.

Copy link
Member

danez commented Mar 17, 2019

You are mixing babel v6 babel-* and babel v7 @babel/*. Please only use one version as the are incompatible to each other.

@danez danez closed this Mar 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.