nativescript-ui-samples-angular
nativescript-ui-samples-angular copied to clipboard
Doesn't Compile
Hi, when I try to run these projects I get this error. Anyone know what I need to do to run these samples? I do have angular cli installed globally, tried adding it into the project package.json and well but always get this error:
Preparing project...
Error: The "@angular/compiler-cli" package was not properly installed. Error: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/@angular/compiler/fesm2015/compiler.mjs
at Object.CompilerCliIsSupported (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/@ngtools/webpack/src/ngtools_api.js:25:15)
at new AngularCompilerPlugin (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:43:23)
at /Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/webpack-chain/src/Plugin.js:14:18
at Object.toConfig (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/webpack-chain/src/Plugin.js:78:22)
at /Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/webpack-chain/src/Config.js:129:63
at Array.map (<anonymous>)
at module.exports.toConfig (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/webpack-chain/src/Config.js:129:40)
at Object.resolveConfig (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/@nativescript/webpack/dist/index.js:160:34)
at module.exports (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/webpack.config.js:9:17)
at Command.<anonymous> (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/@nativescript/webpack/dist/bin/index.js:67:44)
at Command.listener [as _actionHandler] (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/commander/lib/command.js:488:17)
at /Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/commander/lib/command.js:1227:65
at Command._chainOrCall (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/commander/lib/command.js:1144:12)
at Command._parseCommand (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/commander/lib/command.js:1227:27)
at Command._dispatchSubcommand (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/commander/lib/command.js:1050:25)
at Command._parseCommand (/Users/jim/Git-Projects/nativescript-ui-samples-angular/sidedrawer/node_modules/commander/lib/command.js:1193:19)
No configuration!
Executing webpack failed with exit code 0.