Comments (10)
Systeminfo example is trying to store user settings under the user home folder. It is probably failing on Windows 10. Remove the following line from main.js there:
userDataDir: path.join(os.homedir(), '.carlosysinfo'),
from carlo.
Thanks for the response, I removed that line but the example still doesn't open a window. The Terminal example seems to function fine though.
from carlo.
Another thing that Terminal does is detaches itself from the shell via restarting itself, in the very beginning of main.js
. Maybe that helps?
if (!process.env.CARLO) {
child_process.spawn(process.argv[0], [__filename], {
detached: true,
env: { CARLO: 1, ...process.env }
});
process.exit(0);
return;
}
from carlo.
I tried that but still, no window. Not sure what is going on. The example in the README works fine which is like a stripped down version of the systeminfo example. I'll try on another machine soon.
from carlo.
I'm going to close this as it works on my other Windows 10 computer. Weird! I'll try again later on my weird Windows Surface Book. One thing I have learned is that things behave very oddly on Windows Surface Books sometimes.
from carlo.
Closed this issue about
from carlo.
It works fine on surface book 1 here.
from carlo.
I deleted the repo, redownloaded and it worked fine. Not sure what was going on because I had already deleted several times and downloaded again. Anyway yes its working for me now.
from carlo.
I have the same problem, and I added some logging and here is the snapshot of my code.
from carlo.
Kindly omit my previous messages (that I deleted) about the localDataDir. It is an error on my part: the default location is within node_modules/carlo/lib
and it is created there at startup time when no option is provided by script. I do not really know what happens in your case @liudonghua123 .
from carlo.
Related Issues (20)
- Using Chrome executable from puppeteer HOT 6
- hot reload? HOT 3
- carlo will not launch on win10 HOT 2
- Steps towards implementing require() in Carlo HOT 12
- Notification.onclick() doesn't seem to work HOT 2
- can i use carlo as puppeteer ? is there any example?
- Keyboard's shortcuts are always mapped in QWERTY
- Problem loading next.js statically exported site
- carlo Remote devices, the inspect button is disabled
- How to make localhost node-GraphQL request from index.html?
- Use Carlos as a communication channel b/w Chrome and Electron
- createWindow fails silently when invalid args are provided
- `serveFolder` doesn't work with spaces in file names
- File picker with input tag crashes application
- Is this unmaintained ? HOT 7
- Exit the process directly when failed to found `chrome`?
- Chrome takes 6s to load when not specifying executable path
- The packed executable file cannot work
- Why the bundle package size is so large? HOT 1
- Dead?
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 carlo.