Comments (5)
Do you have the latest version of Atom?
Does disabling all other packages and restarting Atom fix this issue?
If not:
- go into gpp-compiler's settings and enable the
Debug Mode
option - open the developer tools and click on
Console
- press F5 on the C/C++ file
- right click on the console and click
Save as...
- reply with the saved file's contents
from atom-gpp-compiler.
My console log
from atom-gpp-compiler.
Either Atom changed their API, or you are using a package that is changing the file type to C++14
. Have you tried disabling all other plugins? Which version of Atom do you have?
from atom-gpp-compiler.
I'm using Atom 1.10.2.
Yes, I'm using cpp14 package, should I disable it?
Sometimes compile and run works, sometimes it doesn't.
I'm facing this problem since I installed, packages-
- language-cpp14 and 2.linter-gcc
Previously I thought the root cause was linter-gcc, because disabling linter-gcc, wasn't throwing bad agrument, but I faced problem again later though I had my linter-gcc disabled.
Thank You Sir for helping me.. 👍
from atom-gpp-compiler.
Hi!, I was trying to use Atom to compile a simple "hello world" program just to see how it works but It gives me back this error:
internal/child_process.js:278
TypeError: Bad argument
at TypeError (native)
at ChildProcess.spawn (internal/child_process.js:278:26)
at Object.exports.spawn (child_process.js:384:9)
at compile (/Users/gourias/.atom/packages/gpp-compiler/index.js:274:31)
at compileFile (/Users/gourias/.atom/packages/gpp-compiler/index.js:216:5)
at atom-text-editor.gpp-compiler:compile (/Users/gourias/.atom/packages/gpp-compiler/index.js:23:11)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:584:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:379:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:106:36)
at HTMLDocument. (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:59)
I don't have any other community packages installed (no language-cpp14 or others - only gpp-compiler)
I'm running Atom on Mac OSX, and I've alredy installed "XCode Command Line Tools"
Any advise?
from atom-gpp-compiler.
Related Issues (20)
- Error plz consider :)
- Uncaught TypeError: Callback must be a function. Received undefined HOT 2
- Uncaught TypeError: The "file" argument must be of type string. Received undefined HOT 2
- issue during compiling showing this error
- visual studio
- gpp compiler failuer
- Uncaught Error: read ENOTCONN
- Uncaught TypeError: The "file" argument must be of type string. Received type undefined
- df
- new issue found
- pakage
- gcc could not be spawned HOT 2
- Uncaught TypeError: Cannot read property 'getGrammar' of undefined
- its not installed!
- Atom cannot install packages HOT 1
- Uncaught TypeError: Callback must be a function. Received undefined
- compiler is not installing
- Listing your package on Pulsar HOT 1
- Why am I seeing this message in the Terminal
- In python error in veriable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-gpp-compiler.