-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Describe the bug
The Example doesn't work
To Reproduce
Steps to reproduce the behavior:
- Clone the repo
npm installnpm start- See error
Expected behavior
(I guess) that the webserver would need to start
Environment (please complete the following information):
- OS: Windows 10
- Browser: Chrome
- Version: latest (1.2.1)
Additional context
PS C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js> npm start
> [email protected] start
> webpack-dev-server --config conf/dev.webpack.config.js
i 「wds」: Project is running at http://localhost:3000/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from ./example/
node:internal/crypto/hash:67
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:133:10)
at module.exports (C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\webpack\lib\NormalModule.js:471:10)
at C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\webpack\lib\NormalModule.js:503:5
at C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\webpack\lib\NormalModule.js:358:12
at C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array.<anonymous> (C:\Users\Miniontoby\Documents\Programma's\phaser-webroot\numworks.js\node_modules\loader-runner\lib\LoaderRunner.js:205:4) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.4.0
Solutions:
- replace
var calculator = new Numworks.Recovery();byvar calculator = new Numworks();inexample/index.js(line 4) to see your calculator - Or use https://github.com/UpsilonNumworks/upsilon.js if you use Epsilon or Upsilon as OS
