This message was deleted.
# contribute
s
This message was deleted.
e
It looks like read should be working for nodejs. it expects a function
read(id string, urn string, props any)
which should return a struct like you've got above (with id and props)
a
Sorry for the late response, but I am still facing the same error "Preview failed: provider does not support importing resources; please try updating the 'ubuntu' plugin". I only found the message is same as in pkg>resource>deploy>step.go line:1040. Is there any example with working nodejs read method that is working or any place in which you think would be better to search for the error?
e
Can you raise an issue at https://github.com/pulumi/pulumi/issues, preferably with a snippet showing what your read method currently looks like.