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
thrownewError(`bug: embroider resolver's meta is not propagating`);
}
request=request.rehome(originalFromFile);
pkg=movedPkg;
}
And with a bit more debug, I figured it was coming from this file: web/app/domain/supporting/tina/index.ts, which when renamed into index.gts it worked.
Which is weird, because on node_modules/.embroider/rewritten-app I can see, the gts files are already correctly transpiled to .ts (using template() from @ember/template-compiler).
The text was updated successfully, but these errors were encountered:
Oh, renaming ts files that re-export gts files to gts, aka index.ts -> index.gts. Then I run into very unreliable errors:
Renaming this from ts to gts... is only a patch, and not even a helpful one. It seems like it is only forwarding the issue to another problem, which is described in detail in #1800 (with a reproduction).
I'm running into this error:
The main idea was to use
webpack.resolve.alias
to point to code that I moved somewhere else.Repro:
After checkout:
POI in the code:
web/app/domain/
where I moved my code intoweb/ember-cli-build.js
for the aliasweb/tsconfig.ts
with itspaths
which made it possible at first at least in the editorI traced it here:
embroider/packages/core/src/module-resolver.ts
Lines 1058 to 1065 in 289f83d
And with a bit more debug, I figured it was coming from this file:
web/app/domain/supporting/tina/index.ts
, which when renamed intoindex.gts
it worked.Which is weird, because on
node_modules/.embroider/rewritten-app
I can see, thegts
files are already correctly transpiled to.ts
(usingtemplate()
from@ember/template-compiler
).The text was updated successfully, but these errors were encountered: