#Failed to fetch dynamically imported module

28 messages ยท Page 1 of 1 (latest)

green sleet
cobalt thorn
#

I had this kind of error when doing MPA navigations. Is it your case ?

green sleet
green sleet
#

I tried removing the useVisibleTask from the package "qwik-firebase" that I was refrencing, and then I could use the import. I know this is not a solution, but perhaps it can help narrow down the issue

cobalt thorn
green sleet
sullen comet
#

This is a bug in 1.6 and 1.7 version of Qwik

#

Although in version 1.7 the error is constant and unavoidable.

#

I recommend going back to version 1.5.7 for the time being.

grave berry
#

@green sleet this is fixed in 1.7.1

green sleet
grave berry
green sleet
# grave berry 1.7.1 for all qwik libraries, right? Since you're on windows, that's not as wel...

I just get a ton of these

Note: I can confirm that the file does exist

[QWIK PLUGIN: 304] resolveId(2074) Resolved C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-table/lib/usetablecreator_usetask_b0adgv5cso0.js from transformedOutputs
[QWIK PLUGIN: 304] resolveId(2075) Start ./usetable_usetask_gozetgcxjtk.js {
  from: 'C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-table/lib/index.qwik.mjs',
  for: 'client'
}
[QWIK PLUGIN: 304] resolveId(2075) Resolved C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-table/lib/usetable_usetask_gozetgcxjtk.js from transformedOutputs
[QWIK PLUGIN: 304] resolveId(2076) Start ./usetable_usevisibletask_uvtkl8yboce.js {
  from: 'C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-table/lib/index.qwik.mjs',
  for: 'client'
}
[QWIK PLUGIN: 304] resolveId(2076) Resolved C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-table/lib/usetable_usevisibletask_uvtkl8yboce.js from transformedOutputs
[QWIK PLUGIN: 304] resolveId(2077) Start @builder.io/qwik {
  from: 'C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-table/lib/index.qwik.mjs',
  for: 'client'
}
[QWIK PLUGIN: 304] resolveId(2077) falling back to default resolver
[QWIK PLUGIN: 304] resolveId(2078) Start @builder.io/qwik {
  from: 'C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-table/lib/index.qwik.mjs',
  for: 'client'
}
[QWIK PLUGIN: 304] resolveId(2078) falling back to default resolver
[QWIK PLUGIN: 304] resolveId(2079) Start C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-table/lib/index.qwik.mjs {
  from: 'C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-table/lib/index.qwik.mjs',
  for: 'client'
}
grave berry
#

You have to find the one that fails, search for the hash

green sleet
# grave berry You have to find the one that fails, search for the hash

Not sure what you are looking for, but I found this. "usefirebaseapp_usevisibletask_uiel8iubsdk" is also the file I am having issues with

[QWIK PLUGIN: 969] resolveId(390) falling back to default resolver
[QWIK PLUGIN: 969] load() Not found C:/Users/tilra/Documents/github/fitting-monorepo/node_modules/@builder.io/qwik-city/index.qwik.mjs
[QWIK PLUGIN: 969] transform() Transforming C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-firebase/lib/index.qwik.mjs (for: client, strip)
[QWIK PLUGIN: 969] transform() segment C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-firebase/lib/usefirebaseapp_usevisibletask_uiel8iubsdk.js useFirebaseApp_useVisibleTask
[QWIK PLUGIN: 969] transform() segment C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-firebase/lib/usefirebaseauth_usevisibletask_zlubcoakqsc.js useFirebaseAuth_useVisibleTask
[QWIK PLUGIN: 969] transform() segment C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-firebase/lib/usefirebaseauthprovider_usevisibletask_da4jy1ly6cs.js useFirebaseAuthProvider_useVisibleTask
[QWIK PLUGIN: 969] resolveId(391) Start C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-firebase/lib/usefirebaseapp_usevisibletask_uiel8iubsdk.js {
  from: 'C:\\Users\\tilra\\Documents\\github\\fitting-monorepo\\apps\\malik-storage-dashboard\\index.html',
  for: 'client'
}
grave berry
green sleet
# grave berry Looks like it worked here. You need to find where it's failing to get uiel...

This is the last mention of the file in the logs

[QWIK PLUGIN: 969] resolveId(666) falling back to default resolver
[QWIK PLUGIN: 969] load() Not found C:/C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-firebase/lib/usefirebaseapp_usevisibletask_uiel8iubsdk.js
[QWIK PLUGIN: 969] transform() Transforming C:/Users/tilra/Documents/github/fitting-monorepo/apps/malik-storage-dashboard/src/routes/admin/layout.tsx (for: client, strip)
[QWIK PLUGIN: 969] transform() segment C:/Users/tilra/Documents/github/fitting-monorepo/apps/malik-storage-dashboard/src/routes/admin/layout_component_ts4alwnymqq.js layout_component
[QWIK PLUGIN: 969] transform() segment C:/Users/tilra/Documents/github/fitting-monorepo/apps/malik-storage-dashboard/src/routes/admin/layout_component_usevisibletask_wiuex90kxuu.js layout_component_useVisibleTask
[QWIK PLUGIN: 969] resolveId(667) Start C:/Users/tilra/Documents/github/fitting-monorepo/apps/malik-storage-dashboard/src/routes/admin/layout_component_ts4alwnymqq.js {
  from: 'C:\\Users\\tilra\\Documents\\github\\fitting-monorepo\\apps\\malik-storage-dashboard\\index.html',
  for: 'client'
}

Looks like there is a "C:/C:/" in the path

grave berry
#

Indeed. Windows ๐Ÿ˜ž. Not sure where that gets added. Can you get the lines starting from the first resolveId(666) ?

green sleet
# grave berry Indeed. Windows ๐Ÿ˜ž. Not sure where that gets added. Can you get the lines starti...

Here you go, please let me know if there is anything else I can provide to help out ๐Ÿ™‚

[QWIK PLUGIN: 969] resolveId(665) falling back to default resolver
[QWIK PLUGIN: 969] resolveId(666) Start @builder.io/qwik {
  from: 'C:/Users/tilra/Documents/github/fitting-monorepo/apps/malik-storage-dashboard/node_modules/@modular-forms/qwik/dist/lifecycle_component_usevisibletask_lco2ogtea00.js',
  for: 'client'
}
[QWIK PLUGIN: 969] resolveId(666) falling back to default resolver
[QWIK PLUGIN: 969] load() Not found C:/C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-firebase/lib/usefirebaseapp_usevisibletask_uiel8iubsdk.js
[QWIK PLUGIN: 969] transform() Transforming C:/Users/tilra/Documents/github/fitting-monorepo/apps/malik-storage-dashboard/src/routes/admin/layout.tsx (for: client, strip)
[QWIK PLUGIN: 969] transform() segment C:/Users/tilra/Documents/github/fitting-monorepo/apps/malik-storage-dashboard/src/routes/admin/layout_component_ts4alwnymqq.js layout_component
[QWIK PLUGIN: 969] transform() segment C:/Users/tilra/Documents/github/fitting-monorepo/apps/malik-storage-dashboard/src/routes/admin/layout_component_usevisibletask_wiuex90kxuu.js layout_component_useVisibleTask
[QWIK PLUGIN: 969] resolveId(667) Start C:/Users/tilra/Documents/github/fitting-monorepo/apps/malik-storage-dashboard/src/routes/admin/layout_component_ts4alwnymqq.js {
  from: 'C:\\Users\\tilra\\Documents\\github\\fitting-monorepo\\apps\\malik-storage-dashboard\\index.html',
  for: 'client'
}
green sleet
grave berry
#

666 wasn't the one.

grave berry
#

But I need to know where it decides to add C:

#

I need all lines mentioning uiel

#

And their surrounding lines

green sleet
grave berry
#

Man resolving in windows is a drag
path.join on srcdir and relative dir:

[QWIK PLUGIN: 969] resolveId(273) Start /src\components/test_component_usevisibletask_btzfrgje5kg.js?_qrl_parent=test.tsx {

incoming id for transform has / not \ but does not start with /

[QWIK PLUGIN: 969] transform() Transforming C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-firebase/lib/index.qwik.mjs (for: client, strip)

after transform, the id got C:/ added but load gets it without it?

[QWIK PLUGIN: 969] resolveId(2099) Resolved C:/C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-firebase/lib/usefirebaseapp_usevisibletask_uiel8iubsdk.js from transformedOutputs
[QWIK PLUGIN: 969] load() Found C:/Users/tilra/Documents/github/fitting-monorepo/packages/qwik-firebase/lib/usefirebaseapp_usevisibletask_uiel8iubsdk.js