Error: Cannot find external module "@agoric/vat-data" #7143
-
Hello everyone 🙂 Request: Context: When executing a test, the following error message is printed:
Although, I verified that the imported package is linked to the correct index.js, exporting the desired methods. A solution proposed by @dckc was to replace The error returned was:
Thank you very much in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@Jorge-Lopes i'm seeing now that this file from zoe just exports the test set up from swingset-vat, but FWIW, i often import it |
Beta Was this translation helpful? Give feedback.
-
One clue I heard: Is swingset doing the bundling that wants to pull this in? Is that swingset told to use |
Beta Was this translation helpful? Give feedback.
-
another hypothesis is that something has not been published in npm correctly. (I have only a vague notion of what this means.) |
Beta Was this translation helpful? Give feedback.
One clue I heard:
Is swingset doing the bundling that wants to pull this in? Is that swingset told to use
config.includeDevDependencies = true
? Is@agoric/vat-data
included in the enclosing package's package.json underdependencies:
or underdevDependencies:
? OurbundleSource
defaults to only looking atdependencies
without that extra option.