Closed jwalk00 closed 3 years ago
@jwalk00 try this https://github.com/hexenq/kuroshiro/issues/66#issuecomment-942162775
Fixed this by downgrading to v1.1.2 and using those dist files.
Then applying this fix when I got Analyzer errors: https://github.com/hexenq/kuroshiro/issues/27#issuecomment-686428617
isnt the v1.1.2 the latest version? @jwalk00
isnt the v1.1.2 the latest version? @jwalk00
1.2.0 is the latest release https://github.com/hexenq/kuroshiro/releases/tag/1.2.0
so, how do you fiexed the problem.
I used the latest 1.2.0 release to npm install
, npm run build
, and the code is same as to you.
but the error alwasy exists.
I need help.
Please help me! @jwalk00
"Fixed this by downgrading to v1.1.2 and using those dist files."
Use v1.1.2
I cannot for the life of me get this to work. The best result I can achieve is "Kuroshiro is not a constructor".
I have added the two min js files to my project folder, and enqueue them:
Then added my own script:
<script type="module" src="js/ks.js"></script>
which contains:
Then I get: Uncaught TypeError: Kuroshiro is not a constructor at ks.js:2
Does Kuroshiro require the use of webpack/gulp or a Javascript frame work like React/Vue? I'm trying to do it with just base html/css/js files and I don't know if that's just plain wrong...