First app problem

New Member
1 0 1

I tried to create a sample app using the steps mentioned in the documentation. However I got the following error. Does anyone have any suggestions to resolve this:

> Ready on http://localhost:3000

TypeError [ERR_INVALID_ARG_TYPE]: The "key" argument must be one of type string, TypedArray, or DataView. Received type undefined
at new Hmac (internal/crypto/hash.js:88:11)
at Object.createHmac (crypto.js:133:10)
at sign (C:\Temp\shopify-demo-app-node-react-embed-your-app-in-shopify-starter-files\node_modules\keygrip\index.js:22:8)
at Keygrip.sign (C:\Temp\shopify-demo-app-node-react-embed-your-app-in-shopify-starter-files\node_modules\keygrip\index.js:29:38)
at Cookies.set (C:\Temp\shopify-demo-app-node-react-embed-your-app-in-shopify-starter-files\node_modules\cookies\index.js:109:30)
at ContextSession.save (C:\Temp\shopify-demo-app-node-react-embed-your-app-in-shopify-starter-files\node_modules\koa-session\lib\context.js:332:22)
at ContextSession.commit (C:\Temp\shopify-demo-app-node-react-embed-your-app-in-shopify-starter-files\node_modules\koa-session\lib\context.js:238:16)
at session (C:\Temp\shopify-demo-app-node-react-embed-your-app-in-shopify-starter-files\node_modules\koa-session\index.js:46:20)
at process._tickCallback (internal/process/next_tick.js:68:7)

1 Like
Highlighted
Shopify Partner
9 0 1

bump

0 Likes