Skip to content

Using Linux distributions of node can cause the react build to fail #33

Closed
@bassmanitram

Description

@bassmanitram

This issue isn't specific to this project, but it does cause the project to fail:

> dev-portal@0.1.0 build /home/jbartle9/Development/AWS/APIGateway/AIA/aws-api-gateway-developer-portal/dev-portal
> react-scripts build

Creating an optimized production build...
Failed to compile.

static/js/main.91fca694.js from UglifyJs
Unexpected character '`' [/usr/lib/nodejs/events.js:260,0]

This appears to explain the root cause issue (node distribution source making it into NODE_PATH). I am far from proficient in npm/node, let alone react, so I really don't know what needs changing to this project to alleviate this problem for us Linux users.

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