Closed xmaestro closed 4 years ago
Hi @xmaestro, can you try installing the latest beta and let me know if it works:
npm install -g @flood/element-cli@beta
I ran that command to get the latest beta
npm install -g @flood/element-cli@beta
Do I need to find a fix for these WARNings?
npm WARN deprecated core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
Sadly my first test run of the beta failed :-(
+0s info: workRootPath: tmp/element-results/2020-01-07T195751.543Z
+0s info: testDataPath: .
+0s debug: Loading test script: .\the-dash.ts
process exited - with error
Error: Error: Unable to compile Element script .\the-dash.ts: C:/Users/jjwel/AppData/Roaming/npm/node_modules/@flood/element-cli/node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6 - error TS2300: Duplicate identifier 'IteratorResult'.
41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
~~~~~~~~~~~~~~
node_modules/@types/node/index.d.ts:167:11
167 interface IteratorResult<T> { }
~~~~~~~~~~~~~~
'IteratorResult' was also declared here.
node_modules/@types/node/index.d.ts:167:11 - error TS2300: Duplicate identifier 'IteratorResult'.
167 interface IteratorResult<T> { }
~~~~~~~~~~~~~~
C:/Users/jjwel/AppData/Roaming/npm/node_modules/@flood/element-cli/node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6
41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
~~~~~~~~~~~~~~
'IteratorResult' was also declared here.
at Object.<anonymous> (C:\Users\jjwel\AppData\Roaming\npm\node_modules\@flood\element-cli\node_modules\@flood\element\dist\src\TestScript.js:134:19)
at Generator.next (<anonymous>)
at fulfilled (C:\Users\jjwel\AppData\Roaming\npm\node_modules\@flood\element-cli\node_modules\@flood\element\dist\src\TestScript.js:5:58)
Hi @aviationfan — We've just completed a major refactor of the compiler on windows, can you please try the latest beta >= 1.0.10-beta.39
Upgrade with:
# yarn
yarn global upgrade @flood/element-cli@beta
# or NPM:
npm -g install @flood/element-cli@beta
I've tested it on Window 10, but as always more eyes are better.
Describe the bug I'm trying to install Element CLI using the instruction in Getting Started guide here: https://element.flood.io/. But, i'm getting the below error after installation through NPM:
To Reproduce Steps to reproduce the behavior:
Expected behavior It should display installed version of Element
Desktop (please complete the following information):