Closed mohsintariq-locai closed 9 months ago
hey mohsintariq, two questions:
Writing the flag forceWrite: true
solved the issue
const porcupineKeyword = {
base64: keyword,
label: "asd",
forceWrite: true
}
const porcupineModel = {
base64: model,
forceWrite: true
}
Have you checked the docs and existing issues?
SDK
React
Porcupine package version
3.0.3
Framework version
React
Platform
Web (WASM)
OS/Browser version
mac os
Describe the bug
Here is my code
Here is my react package:
I am getting this error
PorcupineInvalidArgumentError: Initialization failed: [0] Keyword file (.ppn) file has incorrect format or belongs to a different platform. [1] Picovoice Error (code
00000136) [2] Loading keyword file at
alexafailed with
INVALID_ARGUMENT.
Wasted a whole day to get the demo up and running but i am unable to. Any help would be awesome.
Steps To Reproduce
Expected Behavior
The demo should have run smoothly.