You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2020. It is now read-only.
Hi,
I am trying to use a 3rd party library (xState) with Ionic3.
Running it on Stackblitz is fine https://i3-xstate.stackblitz.io
To build it locally I did
[2K�[GRunning app-scripts build: --platform browser --target cordova
[16:10:28] build dev started ...
[16:10:28] clean started ...
[16:10:28] clean finished in 1 ms
[16:10:28] copy started ...
[16:10:29] deeplinks started ...
[16:10:29] deeplinks finished in 26 ms
[16:10:29] transpile started ...
'{' or ';' expected.
L89: matches<TSV extends TTypestate['value']>(parentStateValue: TSV): this is TTypestate extends {
L90: value: TSV;
Unexpected token. A constructor, method, accessor, or property was expected.
L89: matches<TSV extends TTypestate['value']>(parentStateValue: TSV): this is TTypestate extends {
L90: value: TSV;
Declaration or statement expected.
L90: value: TSV;
according to Ionic documentation I tried the following
npm install @types/xstate --save
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fxstate - Not found
npm ERR! 404
npm ERR! 404 '@types/xstate@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
How can I troubleshoot transpile errors and how can I make this work when building locally for various platform?
Hi,
I am trying to use a 3rd party library (xState) with Ionic3.
Running it on Stackblitz is fine https://i3-xstate.stackblitz.io
To build it locally I did
get a transpile error
according to Ionic documentation I tried the following
How can I troubleshoot transpile errors and how can I make this work when building locally for various platform?
You can find the sample code at https://github.com/mapicard/i3-xstate
The text was updated successfully, but these errors were encountered: