We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71167d5 commit d614db8Copy full SHA for d614db8
src/utils.ts
@@ -46,7 +46,9 @@ export const schematicRunner = new SchematicTestRunner(
46
export const getSourceFile = (host: Tree, path: string): ts.SourceFile => {
47
const buffer = host.read(path);
48
if (!buffer) {
49
- throw new SchematicsException(`Could not find bootstrapped module.`);
+ throw new SchematicsException(
50
+ `Could not find file at ${path}. See https://github.com/NativeScript/nativescript-schematics/issues/172.`
51
+ );
52
}
53
const content = buffer.toString();
54
const source = ts.createSourceFile(path, content, ts.ScriptTarget.Latest, true);
0 commit comments