Skip to content

Error when building the application #49

@vcarel

Description

@vcarel

I tried to build the application:

npm install
npm run build

But I got the following error:

ERROR in Entry module not found: Error: Cannot resolve module 'react/lib/ReactComponentBrowserEnvironment' in /.../graphiql-app-0.4.2

I beleive that's because this component has been moved to react-dom since react 15.1.0. To work-around this issue, I changed the package.js so to stick to this version, and the build worked.

BTW I have another issue when trying to start the app:

Error: ENOENT: no such file or directory, open '/.../graphiql-app-0.4.2/node_modules/electron-prebuilt/path.txt'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions