salvatorecriscioneweb / riotjs-electron-example-counter

Counter example - Riot JS + Electron + Bootstrap. Include electron-settings to save counter value
Creative Commons Zero v1.0 Universal
0 stars 1 forks source link

App loads empty after install, error in console #1

Open xvr opened 6 years ago

xvr commented 6 years ago

I couldn't get it to work. Below is the install log. The app loads empty after that. There is an error in the console "Uncaught Error: Cannot find module" in module.js:340.

$ npm install
npm WARN deprecated electron-settings@1.1.1: electron-settings <3.0.0 is no longer                       supported. Please upgrade :)

> electron-prebuilt@0.36.12 postinstall C:\Users\Me\Projects\riotjs-electron-exam                      ple-counter\node_modules\electron-prebuilt
> node install.js

Downloading electron-v0.36.12-win32-x64.zip
[============================================>] 100.0% of 50.41 MB (2.49 MB/s)
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fseve                      nts):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.                      1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 304 packages in 35.48s

Would you be able to look into it? I tried to follow the source code of this app to build my own simple Electron + Riot "Hello World" but I'm getting a "ReferenceError: riot is not defined" error.

salvatorecriscioneweb commented 6 years ago

Hi,

I ll take a look into this. I admit I never aim to maintain this , I was just and example by the way it's probably repeated to deprecated library.

But cant be sure about this. Probably it ll be fixed just upgrading version on package , removing node_modules and the install again using npm.

xvr commented 6 years ago

I'm short on successfully running examples of Riot and Electron, hence my digging. I've tried a fresh install of Electron with Riot, so my libs are up to date, but I'm getting a "ReferenceError: riot is not defined" error, so I though I'll try finding something that works first. Thanks for looking into it!