0

The error says: exports[f] is not a function.

Not sure why when I try to run....

import smartpy as sp

@sp.add_test(name = "First test")
def test():
    scenario = sp.test_scenario()
    scenario.p("<h1>First Output</h1>")

1 Answer 1

0

This is a load error of the page. You need to reload the page or turn off and on your browser, something like that. It can come from a cache problem in the browser.

1
  • I think this is correct. Since, it started working in chrome without changing any code.
    – icp
    Dec 22, 2021 at 23:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.