Skip to content
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

ERROR in ./node_modules/mst-gql/dist/mst-gql.module.js #369

Open
ryskin opened this issue May 18, 2022 · 2 comments
Open

ERROR in ./node_modules/mst-gql/dist/mst-gql.module.js #369

ryskin opened this issue May 18, 2022 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ryskin
Copy link

ryskin commented May 18, 2022

I tried to add to the existing project but had an ERROR when trying to start.
I created a new project (typescript, PWA) and followed instructions but have the same error.

I tried to google about this problem and search for related issues, but no success.

image

I suppose that is mostly related to graphql and webpack. I don't want to eject the project.

@ryskin
Copy link
Author

ryskin commented May 18, 2022

Need to add

            {
              test: /\.m?js/,
              resolve: {
                fullySpecified: false,
              },
            },

I edited webpack.config in node_modules and used https://www.npmjs.com/package/patch-package

@beepsoft
Copy link
Collaborator

This PR #367 hopefully solves it. Not published on NPM yet.

@jesse-savary jesse-savary added the bug Something isn't working label Nov 6, 2022
@jesse-savary jesse-savary self-assigned this Nov 6, 2022
@jesse-savary jesse-savary added this to the v0.18.0 milestone Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants