plugin-seed icon indicating copy to clipboard operation
plugin-seed copied to clipboard

Build all error

Open abdallahkadour opened this issue 1 year ago • 0 comments

I am facing the following issue while building the plugin seed repo:

Cannot read properties of undefined (reading 'projects')

TypeError: Cannot read properties of undefined (reading 'projects')
    at tscExecutor_1 (/Users/-/Desktop/gitrepo/-/node_modules/@nrwl/js/src/executors/tsc/tsc.impl.js:63:69)

changing the line

const { sourceRoot, root } = context.projectsConfigurations.projects[context.projectName];
to 
        const { sourceRoot, root } = context.workspace.projects[context.projectName];

will solve the problem. Any ideas please?

abdallahkadour avatar Feb 20 '24 11:02 abdallahkadour