-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
BABEL FAILING WHILE USING NPM BUILD #8944
Comments
Hey @cjmash! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
For some reason Babel is tranpiling your Also, you are mixing Babel 6 and 7; you should choose either one or the other. |
I had this problem because of older babel version which I fixed using a stackoverflow answer : |
I'm getting the same error. When I use the ignore of the node_modules it does work. On windows I used this line in my package.json
|
Scratch that, it still isn't building everything. I only get a partial set of my node_modules in the build folder. |
Moving my files into a
|
I had this same problem too but ignoring my node_modules helped me fix this, thanks @nicolo-ribaudo |
Bug Report
Current Behaviour
When i run
npm run build
where the build command isbabel -d ./build . -s
I get a SyntaxError:
my babel dependancies
my .babelrc file
my package.json file
Environment
Node/npm version: [ Node v8.11.3/npm 6.4.0]
OS: OSX 10.13.4
Possible Solution
Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
when i navigate to the index file , I get this
if I place replace the colon with a comma, the build passes this stage but then fails with
I would appreciate any sort of help
The text was updated successfully, but these errors were encountered: