NativeScript / nativescript-ui-charts

NativeScript wrapper around HiCharts library
Apache License 2.0
26 stars 6 forks source link

Cannot build Angular example #5

Closed cjohn001 closed 3 years ago

cjohn001 commented 4 years ago

@shiv19 the readme is somewhat difficult to interpret for this plugin. Should the angular demo be runnable? I unfortunately cannot build the demo. I have also tried to build the native demo, this also does not build and prints plenty of errors. In case the demo builds for you, please add a comment to the README what is needed. The build scripts in the src/package.json do not work for me.

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

-clone repository

> @ ngcc /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular
> ngcc --properties es2015 module main --first-only

Compiling @angular/core : es2015 as esm2015
Compiling @angular/animations : es2015 as esm2015
Compiling @angular/compiler/testing : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @angular/animations/browser : es2015 as esm2015
Compiling @angular/core/testing : es2015 as esm2015
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @angular/common/http : es2015 as esm2015
Compiling @angular/animations/browser/testing : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/forms : es2015 as esm2015
Compiling @angular/common/testing : es2015 as esm2015
Compiling @angular/platform-browser/testing : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
Compiling @angular/platform-browser/animations : es2015 as esm2015
Compiling @angular/common/http/testing : es2015 as esm2015
Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015
Compiling @angular/router/testing : es2015 as esm2015
Compiling @nativescript/angular : es2015 as esm2015
Compiling @nativescript/angular/testing : es2015 as esm2015
Compiling nativescript-angular : es2015 as esm2015
Compiling @nativescript/ui-charts-angular : es2015 as esm2015
Warning: Unable to fully load /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/node_modules/@nativescript/ui-charts/angular/fesm2015/nativescript-ui-charts-angular.js for source-map flattening: ENOENT: no such file or directory, open '/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/node_modules/@nativescript/ui-charts/angular/fesm2015/nativescript-ui-charts-angular.js.map'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for watchpack-chokidar2@2.0.0: wanted: {"node":"<8.10.0"} (current: {"node":"12.16.1","npm":"6.14.8"})
npm WARN notsup Not compatible with your version of node/npm: watchpack-chokidar2@2.0.0

added 729 packages from 415 contributors and audited 729 packages in 48.114s

27 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Copying template files...
⠏ (node:16026) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
⠙ ⸨       ░░░░░░░░░░░⸩ ⠹ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠹ ⸨       ░░░░░░░░░░░⸩ ⠹ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠸ ⸨       ░░░░░░░░░░░⸩ ⠹ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠼ ⸨       ░░░░░░░░░░░⸩ ⠹ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠴ ⸨       ░░░░░░░░░░░⸩ ⠹ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠦ ⸨       ░░░░░░░░░░░⸩ ⠹ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠧ ⸨       ░░░░░░░░░░░⸩ ⠹ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠇ ⸨       ░░░░░░░░░░░⸩ ⠹ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠏ ⸨       ░░░░░░░░░░░⸩ ⠹ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠋ ⸨       ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠙ ⸨       ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠹ ⸨       ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠸ ⸨       ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠼ ⸨       ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip⠴ ⸨       ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/cjohn/.npm/_locks/staging-a2a8f526aae9a197.lock for /Users/cjohn/Entwicklung/IMS_Help/nativescrip+ tns-ios@6.5.2
added 1 package from 1 contributor and audited 730 packages in 4.962s
⠸ 
27 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Platform ios successfully added. v6.5.2
Preparing project...
File change detected. Starting incremental webpack compilation...

webpack is watching the files…

Insufficient number of arguments or no entry found.
Alternatively, run 'webpack(-cli) --help' for usage info.

Hash: adf727c9e53d9f2703a1
Version: webpack 4.44.2
Time: 8557ms
Built at: 09/18/2020 2:54:05 PM
                                              Asset       Size                                            Chunks             Chunk Names
                                       package.json  112 bytes                                                    [emitted]  
                                         runtime.js   13.9 KiB                                           runtime  [emitted]  runtime
tns_modules/@nativescript/core/inspector_modules.js  797 bytes  tns_modules/@nativescript/core/inspector_modules  [emitted]  tns_modules/@nativescript/core/inspector_modules
                                          vendor.js   4.46 MiB                                            vendor  [emitted]  vendor
Entrypoint tns_modules/@nativescript/core/inspector_modules = runtime.js vendor.js tns_modules/@nativescript/core/inspector_modules.js
[~/package.json] external "~/package.json" 42 bytes {tns_modules/@nativescript/core/inspector_modules} [optional] [built]
    + 250 hidden modules

ERROR in Entry module not found: Error: Can't resolve '@nativescript/webpack/moduleid-compat-loader' in '/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/src'
Webpack compilation complete. Watching for file changes.
Webpack build done!
Installing pods...
Analyzing dependencies
Downloading dependencies
Installing Highcharts (8.1.2)
Installing MDFInternationalization (2.0.0)
Installing MaterialComponents (94.5.0)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `demoangular.xcworkspace` for this project from now on.
Pod installation complete! There are 2 dependencies from the Podfile and 3 total pods installed.
Project successfully prepared (ios)
Building project...
Xcode build...
./.build_env_vars.sh: line 452: declare: UID: readonly variable
NSLD: Swift bridging header '*-Swift.h' not found under '/Users/cjohn/Library/Developer/Xcode/DerivedData/demoangular-gimgjufmfsxfeadvrahypnosuyix/Build/Intermediates.noindex/demoangular.build/Debug-iphonesimulator/demoangular.build/Objects-normal/i386'
Generating metadata...~/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal/metadata-generator/bin ~/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios
Python version: 2.7.17 (default, Dec  1 2019, 23:22:04) 
[GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.12)]
Generating metadata for i386
Metadata Generator Arguments: 
./objc-metadata-generator -verbose -output-bin /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/metadata-i386.bin -output-umbrella /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/umbrella-i386.h -docset-path /Users/cjohn/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.iOS.docset Xclang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.7.sdk -arch i386 -mios-simulator-version-min=9.0 -std=gnu99 -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/include -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MDFInternationalization/MDFInternationalization.framework/Headers -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MaterialComponents/MaterialComponents.framework/Headers -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal/Swift-Modules -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../App_Resources/iOS/src -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/ui-charts/platforms/ios/src -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal/ -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MDFInternationalization -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MaterialComponents -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/Pods/Highcharts/development -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/core/platforms/ios -DCOCOAPODS=1 -DDEBUG=1 
Clang Arguments: 
"-v", "-x", "objective-c", "-fno-objc-arc", "-fmodule-maps", "-ferror-limit=0", "-Wno-unknown-pragmas", "-Wno-ignored-attributes", "-Wno-nullability-completeness", "-Wno-expansion-to-defined", "-D__NATIVESCRIPT_METADATA_GENERATOR=1", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.7.sdk", "-arch", "i386", "-mios-simulator-version-min=9.0", "-std=gnu99", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/include", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MDFInternationalization/MDFInternationalization.framework/Headers", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MaterialComponents/MaterialComponents.framework/Headers", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal/Swift-Modules", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../App_Resources/iOS/src", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/ui-charts/platforms/ios/src", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal/", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MDFInternationalization", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MaterialComponents", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/Pods/Highcharts/development", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/core/platforms/ios", "-DCOCOAPODS=1", "-DDEBUG=1", 
Merged 765 categories.
Result: 43404 declarations from 141 top level modules
Done! Running time: 6.54485 sec 
Saving metadata generation's stderr stream to: /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/metadata-generation-stderr-i386.txt
Generating metadata for x86_64
Metadata Generator Arguments: 
./objc-metadata-generator -verbose -output-bin /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/metadata-x86_64.bin -output-umbrella /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/umbrella-x86_64.h -docset-path /Users/cjohn/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.iOS.docset Xclang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.7.sdk -arch x86_64 -mios-simulator-version-min=9.0 -std=gnu99 -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/include -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MDFInternationalization/MDFInternationalization.framework/Headers -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MaterialComponents/MaterialComponents.framework/Headers -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal/Swift-Modules -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../App_Resources/iOS/src -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src -I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/ui-charts/platforms/ios/src -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal/ -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MDFInternationalization -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MaterialComponents -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/Pods/Highcharts/development -F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/core/platforms/ios -DCOCOAPODS=1 -DDEBUG=1 
Clang Arguments: 
"-v", "-x", "objective-c", "-fno-objc-arc", "-fmodule-maps", "-ferror-limit=0", "-Wno-unknown-pragmas", "-Wno-ignored-attributes", "-Wno-nullability-completeness", "-Wno-expansion-to-defined", "-D__NATIVESCRIPT_METADATA_GENERATOR=1", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.7.sdk", "-arch", "x86_64", "-mios-simulator-version-min=9.0", "-std=gnu99", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/include", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MDFInternationalization/MDFInternationalization.framework/Headers", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MaterialComponents/MaterialComponents.framework/Headers", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal/Swift-Modules", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../App_Resources/iOS/src", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/core/platforms/ios/src", "-I/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/ui-charts/platforms/ios/src", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/internal/", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MDFInternationalization", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/MaterialComponents", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/Pods/Highcharts/development", "-F/Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/../../node_modules/@nativescript/core/platforms/ios", "-DCOCOAPODS=1", "-DDEBUG=1", 
Merged 765 categories.
Result: 43403 declarations from 141 top level modules
Done! Running time: 5.81211 sec 
Saving metadata generation's stderr stream to: /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/metadata-generation-stderr-x86_64.txt
~/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios
ld: warning: ignoring file /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/Pods/Highcharts/development/Highcharts.framework/Highcharts, missing required architecture i386 in file /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/Pods/Highcharts/development/Highcharts.framework/Highcharts (4 slices)
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Project successfully built.
The build result is located at: /Users/cjohn/Entwicklung/IMS_Help/nativescript-ui-charts/demo-angular/platforms/ios/build/Debug-iphonesimulator/demoangular.app
Installing on device 95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E...
Successfully installed on device with identifier '95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E'.
Successfully transferred package.json on device 95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E.
Successfully transferred runtime.js on device 95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E.
Successfully transferred tns_modules on device 95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E.
Successfully transferred @nativescript on device 95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E.
Successfully transferred core on device 95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E.
Successfully transferred inspector_modules.js on device 95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E.
Successfully transferred vendor.js on device 95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E.
Restarting application on device 95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E...
Successfully synced application org.nativescript.chartsdemoangular on device 95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E.
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1   0x10333162e NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2   0x103383524 -[TNSRuntime executeModule:referredBy:]
3   0x102bee093 main
4   0x10929fd81 start
JavaScript stack trace:
resolve([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at asyncFunctionResume([native code])
JavaScript error:
[native code]: JS ERROR Error: Could not find module './'. Computed path '/Users/cjohn/Library/Developer/CoreSimulator/Devices/95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E/data/Containers/Bundle/Application/2BE02F71-9A05-4FE2-BFEB-7291521B8B00/demoangular.app/app'.
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Could not find module './'. Computed path '/Users/cjohn/Library/Developer/CoreSimulator/Devices/95A0BF20-03E3-4CB5-9A60-0A9F6FF8944E/data/Containers/Bundle/Application/2BE02F71-9A05-4FE2-BFEB-7291521B8B00/demoangular.app/app'.
at
resolve([native code])
at [native code]
at asyncFunctionResume([native code])
at [native code]
at asyncFunctionResume([native code])
', reason: '(null)'
*** First throw call stack:
(
0   CoreFoundation                      0x0000000108cc212b __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x0000000107c14f41 objc_exception_throw + 48
2   NativeScript                        0x0000000103331b6f _ZN12NativeScript30reportFatalErrorBeforeShutdownEPN3JSC9ExecStateEPNS0_9ExceptionEb + 1631
3   NativeScript                        0x0000000103383524 -[TNSRuntime executeModule:referredBy:] + 660
4   demoangular                         0x0000000102bee093 main + 179
5 <…>
NativeScript caught signal 6.
Native Stack:
1   0x103382171 sig_handler(int)
2   0x1096ea5fd _sigtramp
3   0x0
4   0x1093710eb abort
5   0x10911791f __cxa_bad_cast
6   0x109117abb default_unexpected_handler()
7   0x107c151be _objc_terminate()
8   0x109133159 std::__terminate(void (*)())
9   0x109132bff __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*)
10  0x107c15068 _objc_exception_destructor(void*)
11  0x103331b6f NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
12  0x103383524 -[TNSRuntime executeModule:referredBy:]
13  0x102bee093 main
14  0x10929fd81 start
JS Stack:
shiv19 commented 4 years ago

Hi @cjohn001 Thanks for reporting this, after merging the {N} 7 upgrade PR I haven't run the demo on this project. The readme def needs an upgrade, I'll do that this weekend and let you know on this thread :)