@valbuild/server 0.13.4 → 0.13.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -766,7 +766,7 @@ class ValModuleLoader {
|
|
|
766
766
|
}
|
|
767
767
|
const matches = this.findMatchingJsFile(sourceFileName);
|
|
768
768
|
if (matches.match === false) {
|
|
769
|
-
throw Error(`Could not find matching js file for module "${requestedModuleName}". Tried:\n${matches.tried.join("\n")}`);
|
|
769
|
+
throw Error(`Could not find matching js file for module "${requestedModuleName}" requested by: "${containingFilePath}". Tried:\n${matches.tried.join("\n")}`);
|
|
770
770
|
}
|
|
771
771
|
const filePath = matches.match;
|
|
772
772
|
// resolve all symlinks (preconstruct for example symlinks the dist folder)
|
|
@@ -766,7 +766,7 @@ class ValModuleLoader {
|
|
|
766
766
|
}
|
|
767
767
|
const matches = this.findMatchingJsFile(sourceFileName);
|
|
768
768
|
if (matches.match === false) {
|
|
769
|
-
throw Error(`Could not find matching js file for module "${requestedModuleName}". Tried:\n${matches.tried.join("\n")}`);
|
|
769
|
+
throw Error(`Could not find matching js file for module "${requestedModuleName}" requested by: "${containingFilePath}". Tried:\n${matches.tried.join("\n")}`);
|
|
770
770
|
}
|
|
771
771
|
const filePath = matches.match;
|
|
772
772
|
// resolve all symlinks (preconstruct for example symlinks the dist folder)
|
|
@@ -753,7 +753,7 @@ class ValModuleLoader {
|
|
|
753
753
|
}
|
|
754
754
|
const matches = this.findMatchingJsFile(sourceFileName);
|
|
755
755
|
if (matches.match === false) {
|
|
756
|
-
throw Error(`Could not find matching js file for module "${requestedModuleName}". Tried:\n${matches.tried.join("\n")}`);
|
|
756
|
+
throw Error(`Could not find matching js file for module "${requestedModuleName}" requested by: "${containingFilePath}". Tried:\n${matches.tried.join("\n")}`);
|
|
757
757
|
}
|
|
758
758
|
const filePath = matches.match;
|
|
759
759
|
// resolve all symlinks (preconstruct for example symlinks the dist folder)
|
package/package.json
CHANGED
package/src/ValModuleLoader.ts
CHANGED
|
@@ -83,7 +83,7 @@ export class ValModuleLoader {
|
|
|
83
83
|
const matches = this.findMatchingJsFile(sourceFileName);
|
|
84
84
|
if (matches.match === false) {
|
|
85
85
|
throw Error(
|
|
86
|
-
`Could not find matching js file for module "${requestedModuleName}". Tried:\n${matches.tried.join(
|
|
86
|
+
`Could not find matching js file for module "${requestedModuleName}" requested by: "${containingFilePath}". Tried:\n${matches.tried.join(
|
|
87
87
|
"\n"
|
|
88
88
|
)}`
|
|
89
89
|
);
|