remy / jsconsole

Web based console - for presentations and workshops
http://jsconsole.com
MIT License
1.91k stars 334 forks source link

Follow up errors on install #122

Closed r00tk1ll closed 6 years ago

r00tk1ll commented 6 years ago

Per your instruction:

git clone https://github.com/remy/jsconsole.git

cd jsconsole

npm install

I get this warnng:


npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.1 (node_modules/sane/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN react-test-renderer@16.2.0 requires a peer of react@^16.0.0 but none was installed.
``

#npm start 

output:
"Starting Development Server....."

Failed To Compile
./src/index.js
Module not found: Can't resolve './core/jsconsole.css' in '/var/www/html/jsconsole/src'

Im on Centos7, had your app working fine a while back, appreciate you helping me get the latest version set up. It's a very useful utility.

Thanks
r00tk1ll commented 6 years ago

UPDATE: I commented out the CSS file it was hanging up on and now I can get the server to run, I.E.

PORT=8000 npm start

I get: on localhost:8000 unreachable code after return statement [Learn More] index.js:10

remy commented 6 years ago

Need to run npm run styles first - sorry. Fixing in the next push.