GithubHelp home page GithubHelp logo

rogersanick / rubikscubesolver Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 25.0 13.27 MB

an interactive rubiks cube visualization to help students understand the basics of algorithmic design, react vr and promises

JavaScript 73.79% CSS 25.12% HTML 1.09%

rubikscubesolver's People

Contributors

chufnagel avatar rogersanick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rubikscubesolver's Issues

Error: error:0308010C:digital envelope routines::unsupported

[g@GG rubikscubesolver]$ npm run start

[email protected] start
npm run build-css & npm run build && npm run prod

[email protected] build-css
sass --watch client/src/main.scss client/dist/main.css

[email protected] build
cross-env NODE_env=production webpack -p --progress --mode production

Sass is watching for changes. Press Ctrl-C to stop.

10% building 0/2 modules 2 active ...ex.js??ref--5!/home/g/rubikscubesolver/client/src/rubiksHelpers/minimaxSolver.jsnode:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:140:10)
at module.exports (/home/g/rubikscubesolver/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/g/rubikscubesolver/node_modules/webpack/lib/NormalModule.js:417:16)
at /home/g/rubikscubesolver/node_modules/webpack/lib/NormalModule.js:452:10
at /home/g/rubikscubesolver/node_modules/webpack/lib/NormalModule.js:323:13
at /home/g/rubikscubesolver/node_modules/loader-runner/lib/LoaderRunner.js:367:11
at /home/g/rubikscubesolver/node_modules/loader-runner/lib/LoaderRunner.js:233:18
at context.callback (/home/g/rubikscubesolver/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /home/g/rubikscubesolver/node_modules/babel-loader/lib/index.js:55:103 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v19.9.0
[g@GG rubikscubesolver]$

Failed at the [email protected] react-dev script.

after npm install, i run npm run react-dev and get this error.
get this error



[email protected] react-dev C:\Users\ZeroPC\Desktop\rubikscubesolver-master
webpack -d --watch

'webpack' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] react-dev: webpack -d --watch
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] react-dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ZeroPC\AppData\Roaming\npm-cache_logs\2018-08-28T12_27_04_561Z-debug.log

index.js returning 404 upon npm run start

index.js is returning a 404 status upon running npm run start or npm start.

Browser:
Screen Shot 2020-05-09 at 10 47 44 AM

Terminal:

Junhas-MacBook-Air:RubiksCube junha$ npm start

> [email protected] start /Users/junha/cave/RubiksCube
> npm run build-css & npm run build && npm run prod


> [email protected] build-css /Users/junha/cave/RubiksCube
> sass --watch client/src/main.scss client/dist/main.css


> [email protected] build /Users/junha/cave/RubiksCube
> cross-env NODE_env=production webpack -p --progress --mode production

Sass is watching for changes. Press Ctrl-C to stop.

Hash: 3db9406f002e74a532a3
Version: webpack 4.42.0
Time: 9286ms
Built at: 05/09/2020 10:43:37 AM
                               Asset      Size  Chunks                    Chunk Names
                         0.bundle.js  12.9 KiB       0  [emitted]         
                         1.bundle.js   521 KiB       1  [emitted]  [big]  
                         4.bundle.js   213 KiB       4  [emitted]         
49ee6385eb13c644371695e21f0552e1.png    13 KiB          [emitted]         
4d8d062cf1100610ba784a03aa4560e6.png  12.9 KiB          [emitted]         
                         5.bundle.js  45.1 KiB    5, 3  [emitted]         
5e4b4750e24a9ebece59347fbedb89c1.png    13 KiB          [emitted]         
                         6.bundle.js    12 KiB       6  [emitted]         
6089d4f1aae968613db940e5fd9d35a2.png  11.4 KiB          [emitted]         
6550753c1866ac6355cffd1a4a3b97d0.png  10.9 KiB          [emitted]         
69608dadd039af2062ec4247a82a947a.png  11.5 KiB          [emitted]         
                         7.bundle.js  4.45 KiB       7  [emitted]         
                         8.bundle.js  1.95 KiB       8  [emitted]         
80d55d905ac3c63a8dc87054d53b9ee7.png  12.9 KiB          [emitted]         
903b32de15b16282e3a2803d6f1c8e55.png  12.9 KiB          [emitted]         
9dd8093e8a65ceec818cc8d1dd1b0300.png    13 KiB          [emitted]         
                       app.bundle.js   152 KiB       2  [emitted]         app
b58d6b4e0700b93423dbdf816ec339a5.png  2.57 KiB          [emitted]         
b7a773c0273b6d979948ce8f6936be0d.png  11.5 KiB          [emitted]         
e1f57c2620ce717c0651f818e1dc044a.png   118 KiB          [emitted]         
e4e113d90ae981bb93a4de62065655bd.png  11.5 KiB          [emitted]         
e67235a12ff93b79ae6f108390fe8fb8.png  11.4 KiB          [emitted]         
ea4e87e2a5cb884e7cef8562540cbb4c.png  11.5 KiB          [emitted]         
             minimaxSolver.bundle.js  9.88 KiB       3  [emitted]         minimaxSolver
Entrypoint app = app.bundle.js
Entrypoint minimaxSolver = minimaxSolver.bundle.js
  [2] ./client/src/rubiksHelpers/cube-functions.js 8.81 KiB {3} {5} [built]
 [10] ./client/src/rubiksHelpers/cube-side-mapping.js 2.53 KiB {3} {5} {6} [built]
 [11] ./client/src/rubiksHelpers/minimaxSolver.js 8.49 KiB {3} {5} [built]
 [12] ./client/src/rubiksHelpers/solutionCube.js 2.69 KiB {3} {5} [built]
 [23] ./client/src/index.jsx + 12 modules 51.3 KiB {2} [built]
      | ./client/src/index.jsx 255 bytes [built]
      | ./client/src/app.jsx 4.64 KiB [built]
      |     + 11 hidden modules
 [32] ./node_modules/@material-ui/core/esm/styles/withStyles.js + 1 modules 4.7 KiB {4} [built]
      |    2 modules
 [50] ./client/src/utilities/cubeBuilderUtils/cubeBuilderUtilities.js 630 bytes {5} {6} [built]
 [52] ./client/src/images/Rubiks_Logo.png 82 bytes {6} {7} [built]
 [56] ./client/src/images/settings_grey.png 82 bytes {5} [built]
 [78] ./client/src/images sync ^\.\/rubiks_directions_.*\.png$ 595 bytes {5} [built]
 [79] ./client/src/images/rubiks_directions_B.png 82 bytes {5} [optional] [built]
 [80] ./client/src/images/rubiks_directions_Bi.png 82 bytes {5} [optional] [built]
[111] ./client/src/images/Rubiks_Logo_SMOL.png 82 bytes {5} [built]
[184] ./client/src/components/Visualize/RubiksInteractive.jsx + 12 modules 58.5 KiB {5} [built]
      | ./client/src/utilities/keyListenUtils/keyListeners.js 1.69 KiB [built]
      | ./client/src/utilities/moveMakingUtils/MoveQueue.js 2.75 KiB [built]
      |     + 11 hidden modules
[187] ./client/src/components/Landing/Landing.jsx + 1 modules 13.6 KiB {6} [built]
      |    2 modules
    + 240 hidden modules

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  1.bundle.js (521 KiB)

> [email protected] prod /Users/junha/cave/RubiksCube
> cross-env NODE_ENV=production node server/index.js

Listening on port 8000

firebaseConfig.js file mistitled resulting in run error

In client/dist/src/components/dashboard.jsx, there's an import line titled:
import firebase from "../firebaseconfig.js";
This results in an error since the file title is firebaseConfig.js
Thus, it should be:
import firebase from "../firebaseConfig.js";

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.