Open nrydevopswatch opened 4 years ago
Your node version is out of date.
I get different error on node 14
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/lib/hotServerMiddleware.ts:93:5 - error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
93 Array.isArray(filename)
~~~~~~~~~~~~~~~~~~~~~~~
94 ? filename.find(asset => /\.js$/.test(asset))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
95 : filename
~~~~~~~~~~~~~~~~
v12 still gives the same error.
yarn didn't work. npm worked
I followed the instructions in the readme:
My Linux bash shell gives me the following errors about 'caniuse-light' being out of date:
In another terminal window I run:
npm update
and thennpm update caniuse-lite browserslist
When I launch localhost:3000 in the browser, I'm getting the message: "There was an error. Please try again later."
Node version: v10.19.0 npm version: 6.13.7
I also tried to update all the NPM packages inside the package.json to the latest versions using an NPM update tool. This did not helped and caused a lot more errors.
Expected behavior: Download the latest version of ReactQL, run 'npm i' and then 'npm start' and launch and run the ReactQL starter kit app.