question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Attempted import error: 'Source' is not exported from '@graphql-toolkit/common'

See original GitHub issue

How to reproduce:

import { loadConfigSync } from 'graphql-config';
const config = loadConfigSync({});

Output:

Failed to compile.

./node_modules/graphql-config/index.esm.js
Attempted import error: 'Source' is not exported from '@graphql-toolkit/common'.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
FluorescentHallucinogencommented, Apr 28, 2020

@dotansimha I know what open source is and how it works, because I’m also an open source contributor, just like you. This bug report is a part of my effort to create a pull request that fixes an issue https://github.com/zth/vscode-graphiql-explorer/issues/10 opened by me as continuation of my work in the previous pull request https://github.com/zth/vscode-graphiql-explorer/pull/9. This is the work that I do for free in my free time because I want to improve this project for the benefit of the whole community.

I truly believed that reproduction steps I provided (one line command from https://github.com/kamilkisiela/graphql-config/issues/529#issuecomment-619839382 and two lines of code from https://github.com/kamilkisiela/graphql-config/issues/529#issue-607026120) is enought.

Anyway, I’ve created a reproduction repository:

https://github.com/FluorescentHallucinogen/graphql-config-529-repro

1reaction
kamilkisielacommented, Apr 29, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Attempted import error:' is not exported from - Stack Overflow
I had the same error, but used export default and it worked! declare class lama { // code here .. export default lama...
Read more >
Attempted import error: '_base16To36' is not exported ... - GitHub
This error is showing up when I'm trying to build in a React project: > react-scripts build Creating an optimized production build.
Read more >
How to Fix Attempted Import Error Switch is Not Exported From ...
Command:- npm install react-router-dom@5.3.0In This Video We Will See How to Fix Attempted Import Error Switch is Not Exported From ...
Read more >
Attempted import error: 'MDBBtnFixed&#38
after I upgraded mdbreact to 4.19 now I get error: Attempted import error: 'MDBBtnFixed' is not exported from 'mdbreact'. I didnt change anything...
Read more >
attempted import error: 'reactdom' is not exported from 'react ...
The AI Search Engine You Control. Your sources. Your time. Your privacy. Sign up for free ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found