You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
Unable to resolve some modules:
"imports/utils/meteor"in /Users/ssilvestri/dev/trumid/studio/packages/ui/imports/components/Buttons/SystemRefresh.js (web.browser)
What's interesting here is the generated code, for the imports look as follows:
varReact=require("react");varmeteor_1=require("imports/utils/meteor");// <---- the outliervarButton_1=require("material-ui/Button");varDialog_1=require("material-ui/Dialog");varTypography_1=require("material-ui/Typography");varstyles_1=require("material-ui/styles");
which of course makes sense, imports/utils/meteor doesn't make sense here so of course it can't resolve it. But if we look at all the other modules that have been generated from TypeScript we see this imports similar to this
Hm, the initial import statement seems to work now, I'm not sure what dependencies have been updated since I opened this that would change the behavior 😕
Hi,
Given the following import statement
and the following tsconfig.json
An error occurs saying
What's interesting here is the generated code, for the imports look as follows:
which of course makes sense,
imports/utils/meteor
doesn't make sense here so of course it can't resolve it. But if we look at all the other modules that have been generated from TypeScript we see this imports similar to thiswhere the statement has been translated to have a
/
in front, which meteor understands.Why are some being transformed into the statements with a leading slash and others not?
The text was updated successfully, but these errors were encountered: