youkaclub / youka-desktop

The Best Karaoke Maker
https://www.youka.club/
460 stars 50 forks source link

windows start script #23

Closed umsaenga closed 4 years ago

umsaenga commented 4 years ago

hello -

FYI - the following still doesn't work for windows build $ npm start:windows

does not start server. Returns:

Usage: npm <command>

where <command> is one of:
    access, adduser, audit, bin, bugs, c, cache, ci, cit,
    clean-install, clean-install-test, completion, config,
    create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
    edit, explore, fund, get, help, help-search, hook, i, init,
    install, install-ci-test, install-test, it, link, list, ln,
    login, logout, ls, org, outdated, owner, pack, ping, prefix,
    profile, prune, publish, rb, rebuild, repo, restart, root,
    run, run-script, s, se, search, set, shrinkwrap, star,
    stars, start, stop, t, team, test, token, tst, un,
    uninstall, unpublish, unstar, up, update, v, version, view,
    whoami

npm <command> -h  quick help on <command>
npm -l            display full usage info
npm help <term>   search for help on <term>
npm help npm      involved overview

Specify configs in the ini-formatted file:
    C:Users\me\.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

npm@6.13.4 C:\Program Files\nodejs\node_modules\npm

I have to do the following to start

set BROWSER="none" node_modules.bin\craco start

wait for success, then in another terminal: set YOUKA_APP_URL="http://localhost:3000" node_modules.bin\electron src\main.js

youkaclub commented 4 years ago

thanks, i fixed the instructions to "npm run start:windows", it works for me.