NativeScript / plugin-seed

Build NativeScript Plugins Fast ⚡
https://docs.nativescript.org/plugins/plugin-workspace-guide
Apache License 2.0
45 stars 11 forks source link

Build all error #38

Closed abdallahkadour closed 2 months ago

abdallahkadour commented 7 months ago

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?

NathanWalker commented 2 months ago

Resolved in latest.