File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/@apphosting/adapter-angular/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ export async function checkStandaloneBuildConditions(cwd: string): Promise<void>
34
34
// dynamically load Angular so this can be used in an NPX context
35
35
const { NodeJsAsyncHost } : typeof import ( "@angular-devkit/core/node" ) = await import (
36
36
// TODO (sijinli): resolve paths under cwd to be safer later
37
- require . resolve ( "@angular-devkit/core/node/index.js" )
37
+ require . resolve ( "@angular-devkit/core/node/index.js" , { paths : [ cwd ] } )
38
38
) ;
39
39
const { workspaces } : typeof import ( "@angular-devkit/core" ) = await import (
40
- require . resolve ( "@angular-devkit/core/src/index.js" )
40
+ require . resolve ( "@angular-devkit/core/src/index.js" , { paths : [ cwd ] } )
41
41
) ;
42
42
43
43
const host = workspaces . createWorkspaceHost ( new NodeJsAsyncHost ( ) ) ;
You can’t perform that action at this time.
0 commit comments