fermyon / spin-test

A utility for testing Spin applications
Apache License 2.0
17 stars 5 forks source link

check exit code after running build command #91

Closed rajatjindal closed 4 months ago

rajatjindal commented 4 months ago

fixes #90

before the fix:


Error: Failed to initialize the compiled Wasm binary with Wizer:
Wizering failed to complete
    at componentize (file:///Users/rajatjindal/go/src/github.com/rajatjindal/test-api/node_modules/@bytecodealliance/componentize-js/src/componentize.js:217:11)
    at async file:///Users/rajatjindal/go/src/github.com/rajatjindal/test-api/server/tests/componentize.mjs:6:23

error: failed to read test component 'test.wasm'

after the fix:

Error: Failed to initialize the compiled Wasm binary with Wizer:
Wizering failed to complete
    at componentize (file:///Users/rajatjindal/go/src/github.com/rajatjindal/test-api/node_modules/@bytecodealliance/componentize-js/src/componentize.js:217:11)
    at async file:///Users/rajatjindal/go/src/github.com/rajatjindal/test-api/server/tests/componentize.mjs:6:23

error: failed to build test component. exit status: 1