Error with showing results
See original GitHub issueI used the code in the example & ran ‘npm start’
"start": "babel-node index.js --presets es2015,stage-2"
Now using node v8.9.0 (npm v5.5.1)
me@me-Latitude-E7470:~/Development/Projects/g$ npm start
> g@1.0.0 start /home/me/Development/Projects/g
> babel-node index.js --presets es2015,stage-2
/home/me/Development/Projects/g/node_modules/graphql/jsutils/invariant.js:18
throw new Error(message);
^
Error
at invariant (/home/me/Development/Projects/g/node_modules/graphql/jsutils/invariant.js:18:11)
at printType (/home/me/Development/Projects/g/node_modules/graphql/utilities/schemaPrinter.js:151:83)
at Array.map (<anonymous>)
at printFilteredSchema (/home/me/Development/Projects/g/node_modules/graphql/utilities/schemaPrinter.js:80:87)
at printSchema (/home/me/Development/Projects/g/node_modules/graphql/utilities/schemaPrinter.js:44:10)
at Object.<anonymous> (/home/me/Development/Projects/g/index.js:26:13)
at Module._compile (module.js:635:30)
at loader (/home/me/Development/Projects/g/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/me/Development/Projects/g/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:554:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! g@1.0.0 start: `babel-node index.js --presets es2015,stage-2`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the g@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/me/.npm/_logs/2017-11-03T12_10_43_198Z-debug.log
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (2 by maintainers)
Top Results From Across the Web
Google app won't display search results - Android
Google app won't display search results. If you don't get search results in the Google app, you might need to change some settings....
Read more >“Showing X results” problem - WordPress.org
The element “Shopping x results” next to the product filter dropdown menu ends up on the footer. I tried to hide the dropdown...
Read more >How do I display an error message if there is no valid result ...
I know how to make it a block using JS: document.getElementById("search-results").style.display = "block ...
Read more >Dealing with errors - Power Query | Microsoft Learn
Understanding errors in Power Query and most common step level and cell level errors.
Read more >When debugging results view shows error
After returning from the TestIt method looking at the Results View shows a stop sign with an Error for the following code running...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I made this, which is not as complete, but it fit my purpose and doesn’t throw errors. It also works for protobuf & jsonschema.
That’s fair. You should drop a note in the readme that says the project doesn’t work until this issue is fixed.