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

I got a white screen without the Hello World #1

Closed
clemens-tolboom opened this issue Sep 12, 2019 · 2 comments

Comments

@clemens-tolboom
Copy link
Contributor

commented Sep 12, 2019

cd /tmp/
$ git clone git@github.com:dasDaniel/svelectron-example.git
Cloning into 'svelectron-example'...
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 24 (delta 4), reused 24 (delta 4), pack-reused 0
Receiving objects: 100% (24/24), 36.02 KiB | 396.00 KiB/s, done.
Resolving deltas: 100% (4/4), done.
$ cd svelectron-example/
$ npm install

> fsevents@1.2.9 install /private/tmp/svelectron-example/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download 
[fsevents] Success: "/private/tmp/svelectron-example/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" is installed via remote

> electron@6.0.8 postinstall /private/tmp/svelectron-example/node_modules/electron
> node install.js

npm WARN svelte-app@1.0.0 No repository field.
npm WARN svelte-app@1.0.0 No license field.

added 428 packages from 284 contributors and audited 2487 packages in 6.949s
found 0 vulnerabilities



   ╭────────────────────────────────────────────────────────────────╮
   │                                                                │
   │      New patch version of npm available! 6.11.2 → 6.11.3       │
   │   Changelog: https://github.com/npm/cli/releases/tag/v6.11.3   │
   │               Run npm install -g npm to update!                │
   │                                                                │
   ╰────────────────────────────────────────────────────────────────╯
$ npm run build

> svelte-app@1.0.0 build /private/tmp/svelectron-example
> rollup -c


src/main.js → app/view/bundle.js...
created app/view/bundle.js in 471ms
$ npm start

> svelte-app@1.0.0 start /private/tmp/svelectron-example
> electron ./app

White screen :-(

^C
@dasDaniel

This comment has been minimized.

Copy link
Owner

commented Sep 12, 2019

I missed a change in the rollup file in my commit.

I was going to have the files be generated in app/view but then reverted to using public and hadn't committed it. Anyway, that's been updated and you should be good to go.

@dasDaniel dasDaniel closed this Sep 12, 2019

@clemens-tolboom

This comment has been minimized.

Copy link
Contributor Author

commented Sep 12, 2019

Thanks ... works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.