Closed derekfreed closed 2 weeks ago
I'm not sure what may have fixed it, but I just ran:
npm install webpack@latest
npm install html-webpack-plugin@latest
npm install fluid-framework@latest
npm audit fix --force
npm start
and it worked! 🎉🎉🎉I'm seeing the dice now:
this issue seems to have to do with out of date package dependencies.
@derekfreed It looks like your issue is resolved since you closed this thread. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.
I wanted to open an issue on the FluidHelloWorld repo instead, but there was no option. I hope it is ok to open one here!
When I cloned the repo and ran npm install followed by npm start, I had some errors instead of seeing the hello world example functioning locally. I would appreciate any guidance as I was hoping to quickly get something up and running to try out the Fluid Framework. Thank you!
I am using:
Here's what I tried:
npm install
yielded:npm audit fix
yielded:npm start
yielded:1: starting server using command "npm run start:server" and when url "[ 'http://localhost:7070' ]" is responding with HTTP status code 200 running tests using command "npm run start:client"
info: Successfully connected to Db {"eventName":"LogMessage:C:\Users\user1\AppData\Local\npm-cache\_npx\9c5788540ecb78ee\node_modules\@fluidframework\server-services-core\dist\mongo.js:connect","id":"7b1bd967-2218-41de-a467-6964697e42c7","label":"winston","properties":"{}","timestamp":"2024-05-02T20:28:14.667Z","type":"Log"} info: Starting tinylicious@0.1.0 {"label":"winston","timestamp":"2024-05-02T20:28:14.672Z"} info: Listening on port 7070 {"label":"winston","timestamp":"2024-05-02T20:28:14.701Z"} info: HEAD / 200 3.453 ms - 107 {"label":"winston","timestamp":"2024-05-02T20:28:15.898Z"}
(node:41912) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. (Use
node --trace-deprecation ...
to show where the warning was created) i 「wds」: Project is running at http://localhost:8080/ i 「wds」: webpack output is served from / i 「wds」: Content not from webpack is served from C:\Users\user1\work\repos\FluidHelloWorld node:internal/crypto/hash:80 this[kHandle] = new _Hash(algorithm, xofLen, algorithmId, getHashCache()); ^Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:80:19) at Object.createHash (node:crypto:139:10) at module.exports (C:\Users\user1\work\repos\FluidHelloWorld\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\user1\work\repos\FluidHelloWorld\node_modules\webpack\lib\NormalModule.js:417:16) at handleParseError (C:\Users\user1\work\repos\FluidHelloWorld\node_modules\webpack\lib\NormalModule.js:471:10) at C:\Users\user1\work\repos\FluidHelloWorld\node_modules\webpack\lib\NormalModule.js:503:5 at C:\Users\user1\work\repos\FluidHelloWorld\node_modules\webpack\lib\NormalModule.js:358:12 at C:\Users\user1\work\repos\FluidHelloWorld\node_modules\loader-runner\lib\LoaderRunner.js:373:3 at iterateNormalLoaders (C:\Users\user1\work\repos\FluidHelloWorld\node_modules\loader-runner\lib\LoaderRunner.js:214:10) at Array. (C:\Users\user1\work\repos\FluidHelloWorld\node_modules\loader-runner\lib\LoaderRunner.js:205:4) {
opensslErrorStack: [
'error:03000086:digital envelope routines::initialization error',
'error:0308010C:digital envelope routines::unsupported'
],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v20.12.2 Error: Command failed with exit code 1: npm run start:client at makeError (C:\Users\user1\work\repos\FluidHelloWorld\node_modules\start-server-and-test\node_modules\execa\lib\error.js:60:11) at handlePromise (C:\Users\user1\work\repos\FluidHelloWorld\node_modules\start-server-and-test\node_modules\execa\index.js:118:26) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { shortMessage: 'Command failed with exit code 1: npm run start:client', command: 'npm run start:client', escapedCommand: '"npm run start:client"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: undefined, stderr: undefined, failed: true, timedOut: false, isCanceled: false, killed: false }