Skip to content

Installation Error #4396

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

Closed
TomKremer opened this issue Nov 28, 2017 · 1 comment
Closed

Installation Error #4396

TomKremer opened this issue Nov 28, 2017 · 1 comment

Comments

@TomKremer
Copy link

TomKremer commented Nov 28, 2017

Issue Description

Installation fails during babel process. I'm using node 6.11.4 as described with npm 3.10.10.

Steps to reproduce

  • Download release 2.7.0 as zip
  • Extract
  • npm install

Expected Results

Installation without issues.

Actual Outcome

`
SyntaxError: src/Adapters/Files/FilesAdapter.js: Unexpected token (16:12)
14 | // database adapter.
15 |

16 | import type { Config } from '../../Config'
| ^
17 |
18 | export class FilesAdapter {
`

and

npm ERR! Failed at the [email protected] build script 'babel src/ -d lib/ --copy-files'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the parse-server package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! babel src/ -d lib/ --copy-files

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : 2.7.0
    • Operating System: Mac 10.13.1
    • Hardware: Intel
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): localhost
  • Database

    • MongoDB version: mlab
    • Storage engine: /
    • Hardware: /
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): /

Logs/Trace

see Actual Outcome

@TomKremer
Copy link
Author

🤦🏻‍♂️ (face palm)

I was missing the hidden system files (.babelrc etc.) in the project folder. It works as expected!

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

No branches or pull requests

1 participant