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
I get an error EOF while parsing a value at line 1 column 0 when trying to run function-runner. I am on Windows 11. I have tried a variety of things including using the Remix Template for the app and using the products_discounts template for the extension, and using JavaScript and TypeScript. I have also tried using both empty and populated json input via both stdin and an input file.
Error Message and Context
{
"name": "function.wasm",
"size": 2,
"memory_usage": 0,
"instructions": 100419,
"logs": "",
"output": {
"InvalidJsonOutput": {
"error": "EOF while parsing a value at line 1 column 0",
"stdout": ""
}
}
}
Steps to reproduce
In terminal I run shopify app init
I accept the default app name by pressing tab
I select Start by adding your first extension
I cd to app directory
I run shopify app generate extension
I select y to create as a new app
I accept the default app name by pressing tab
I select Cart transformer
I accept the default name by pressing tab
I select TypeScript
I run shopify app dev
I select my dev store
I click the preview url and click the Install button
I then cd to the dist folder of the extension
I run echo '{}' | function-runner --function function.wasm --json
The text was updated successfully, but these errors were encountered:
What version? (
function-runner --version
): 5.0.0Problem
I get an error
EOF while parsing a value at line 1 column 0
when trying to runfunction-runner
. I am on Windows 11. I have tried a variety of things including using the Remix Template for the app and using theproducts_discounts
template for the extension, and using JavaScript and TypeScript. I have also tried using both empty and populated json input via both stdin and an input file.Error Message and Context
Steps to reproduce
shopify app init
tab
Start by adding your first extension
cd
to app directoryshopify app generate extension
y
to create as a new apptab
Cart transformer
tab
TypeScript
shopify app dev
Install
buttoncd
to thedist
folder of the extensionecho '{}' | function-runner --function function.wasm --json
The text was updated successfully, but these errors were encountered: