Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐜+Error+report+from+Promptbook.Studio #191

Open
JorgeSquared opened this issue Dec 22, 2024 · 1 comment
Open

🐜+Error+report+from+Promptbook.Studio #191

JorgeSquared opened this issue Dec 22, 2024 · 1 comment

Comments

@JorgeSquared
Copy link
Collaborator

ParseError+has+occurred+in+the+Promptbook.Studio,+please+look+into+it+@hejny.

Can+not+extract+variables+from+the+script

SyntaxError:+Unexpected+string+literal+'t+=+'.+const+declared+variable+'Can'+must+have+an+initializer.}

##+More+info:

-+App+version:+1.9.2
-+Promptbook+engine+version:+0.77.1
-+Book+language+version:+1.0.0
-+URL:+https://promptbook.studio/embed/code-miniapp?integrationId=1239a0ee-02bd-4aa8-98d2-0dc7a2eb2612&book=miniapps-collection/new
-+User+agent:+Mozilla/5.0+(iPhone;+CPU+iPhone+OS+18_1_1+like+Mac+OS+X)+AppleWebKit/605.1.15+(KHTML,+like+Gecko)+CriOS/131.0.6778.154+Mobile/15E148+Safari/604.1
-+Time:+2024-12-22T01:04:38.895Z
-+Client+ID:+d3ef9f0c-608e-4c22-bbf8-36ece4655789
-+Client+Email:+null

Stack+trace:

##+Stack+trace:

ParseError@https://promptbook.studio/_next/static/chunks/a583b46c-de1cf92103d242fe.js:1:14740
extractVariablesFromScript@https://promptbook.studio/_next/static/chunks/a583b46c-de1cf92103d242fe.js:1:53341
extractParameterNamesFromTask@https://promptbook.studio/_next/static/chunks/a583b46c-de1cf92103d242fe.js:1:54206
_loop_2@https://promptbook.studio/_next/static/chunks/a583b46c-de1cf92103d242fe.js:1:162952
pipelineStringToJsonSync@https://promptbook.studio/_next/static/chunks/a583b46c-de1cf92103d242fe.js:1:163390
fromMarkdown@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:73001
getInitialPromptbookStudioStore@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:11842
@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:62988
useStateWithDeps@https://promptbook.studio/_next/static/chunks/1127-18d5c2544c5a4d7e.js:126:3946
useStateInLocalstorage@https://promptbook.studio/_next/static/chunks/3049-7c1546fb0c5b3032.js:1:13012
useJsonStateInLocalstorage@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:62965
usePromptbookStudioStore@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:61177
usePromptbookStudioCollection@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:61421
usePromptbookStudioPipeline@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:62055
useCreateMiniappDependencies@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:428
CreateMiniappCode@https://promptbook.studio/_next/static/chunks/pages/embed/code-miniapp-5e4839d63ac6926c.js:9:24393
Xh@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:60993
x@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:119449
Vk@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:99133
@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:99001
Jk@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:99006
Ok@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:95764
Hk@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:94320
J@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:41:1365
R@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:41:1895
@hejny
Copy link
Member

hejny commented Dec 22, 2024

ParseError has occurred in the Promptbook.Studio, please look into it @hejny.

Can not extract variables from the script

SyntaxError: Unexpected string literal 't = '. const declared variable 'Can' must have an initializer.

More info:

Stack trace:

Stack trace:

ParseError@https://promptbook.studio/_next/static/chunks/a583b46c-de1cf92103d242fe.js:1:14740
    extractVariablesFromScript@https://promptbook.studio/_next/static/chunks/a583b46c-de1cf92103d242fe.js:1:53341
    extractParameterNamesFromTask@https://promptbook.studio/_next/static/chunks/a583b46c-de1cf92103d242fe.js:1:54206
    _loop_2@https://promptbook.studio/_next/static/chunks/a583b46c-de1cf92103d242fe.js:1:162952
    pipelineStringToJsonSync@https://promptbook.studio/_next/static/chunks/a583b46c-de1cf92103d242fe.js:1:163390
    fromMarkdown@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:73001
    getInitialPromptbookStudioStore@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:11842
    @https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:62988
    useStateWithDeps@https://promptbook.studio/_next/static/chunks/1127-18d5c2544c5a4d7e.js:126:3946
    useStateInLocalstorage@https://promptbook.studio/_next/static/chunks/3049-7c1546fb0c5b3032.js:1:13012
    useJsonStateInLocalstorage@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:62965
    usePromptbookStudioStore@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:61177
    usePromptbookStudioCollection@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:61421
    usePromptbookStudioPipeline@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:62055
    useCreateMiniappDependencies@https://promptbook.studio/_next/static/chunks/1264-6d484e64dac2f645.js:1:428
    CreateMiniappCode@https://promptbook.studio/_next/static/chunks/pages/embed/code-miniapp-5e4839d63ac6926c.js:9:24393
    Xh@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:60993
    x@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:119449
    Vk@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:99133
    @https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:99001
    Jk@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:99006
    Ok@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:95764
    Hk@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:9:94320
    J@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:41:1365
    R@https://promptbook.studio/_next/static/chunks/framework-5a861713c65e2e87.js:41:1895

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants