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
The usage documentation uses the "import" feature that is not yet supported on the current LTS, so some hints about how to get going would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I figured that out about 30 minutes ago, but I still recommend updating the Installation section of the readme to be something like (forgive any incorrect terms):
Install using "npm install talisman"
Note on ES6 Modules and "import": This project is written using ES6 modules. If your engine does not support this feature yet (i.e. Node 8.11 LTS), replace the import statements in the documentation with require ones.
import alphaSis from 'talisman/phonetics/alpha-sis';
// translates to
var alphaSis = require('talisman/phonetics/alpha-sis');
The installation instructions just say to execute "npm install talisman" but don't say what is necessary after that.
On Node 8.11, "const talisman = require('talisman')" throws "Error: cannot find module 'talisman'"
The usage documentation uses the "import" feature that is not yet supported on the current LTS, so some hints about how to get going would be greatly appreciated.
The text was updated successfully, but these errors were encountered: