Skip to content

Installation Error #4396

@TomKremer

Description

@TomKremer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions