ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

Angular ngcc warning: Unable to fully load source-map files #1447

Open funder7 opened 4 years ago

funder7 commented 4 years ago

Tell us about the problem

Imported the plugin in a project based on angular@^10, it reports two warnings during ngcc compile

Which platform(s) does your issue occur on?

Both

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.

  1. ng new -c=@nativescript/schematics test-ui-autocomplete-project --shared --style=scss
  2. npm i --save nativescript-ui-autocomplete@rc
  3. npx rimraf hooks node_modules package-lock.json platforms && npm i
  4. Warning will show during ngcc execution:

nativescript-ui-autocomplete-angular.js.map

Warning: Unable to fully load <...>/node_modules/nativescript-ui-autocomplete/angular/fesm2015/nativescript-ui-autocomplete-angular.js for source-map flattening: ENOENT: no such file or directory, open '<...>/node_modules/nativescript-ui-autocomplete/angular/fesm2015/nativescript-ui-autocomplete-angular.js.map'

nativescript-ui-dataform-angular.js.map

Warning: Unable to fully load <...>/node_modules/nativescript-ui-dataform/angular/fesm2015/nativescript-ui-dataform-angular.js for source-map flattening: ENOENT: no such file or directory, open '<...>/node_modules/nativescript-ui-dataform/angular/fesm2015/nativescript-ui-dataform-angular.js.map'
jessorlisa commented 4 years ago

Same warning with nativescript-ui-listview and nativescript-ui-sidedrawer and latest platform versions:

> ngcc --properties es2015 module main --first-only
...
Warning: Unable to fully load <...>/node_modules/nativescript-ui-listview/angular/fesm2015/nativescript-ui-listview-angular.js for source-map flattening: ENOENT: no such file or directory, open '<...>/node_modules/nativescript-ui-listview/angular/fesm2015/nativescript-ui-listview-angular.js.map'
Warning: Unable to fully load <...>/node_modules/nativescript-ui-sidedrawer/angular/fesm2015/nativescript-ui-sidedrawer-angular.js for source-map flattening: ENOENT: no such file or directory, open '<...>/node_modules/nativescript-ui-sidedrawer/angular/fesm2015/nativescript-ui-sidedrawer-angular.js.map'

Environment

mcalc001 commented 4 years ago

Sam issue with nativescript-ui-gauge since upgrading to angular 10 and NS7

Warning: Unable to fully load /Users/corey/Documents/Development/***/node_modules/nativescript-ui-gauge/angular/fesm2015/nativescript-ui-gauge-angular.js

"scripts": { "clean": "npx rimraf hooks platforms node_modules package-lock.json && npm i", "lint": "tslint \"app/*/.ts\"", "ngcc": "ngcc --properties es2015 module main --first-only", "postinstall": "npm run ngcc", "snyk-protect": "snyk protect", "prepare": "npm run snyk-protect", "test": "snyk test" }, "dependencies": { "@angular/animations": "~10.1.0", "@angular/common": "~10.1.0", "@angular/compiler": "~10.1.0", "@angular/core": "~10.1.0", "@angular/forms": "~10.1.0", "@angular/platform-browser": "~10.1.0", "@angular/platform-browser-dynamic": "~10.1.0", "@angular/router": "~10.1.0", "@nativescript/angular": "~10.1.7", "@nativescript/core": "~7.0.12", "@nativescript/firebase": "^11.0.0", "@nativescript/secure-storage": "~3.0.0", "@nstudio/nativescript-pulltorefresh": "3.0.1", "@types/node": "^12.12.12", "html-encoder-decoder": "^1.3.8", "jwt-decode": "^2.2.0", "nativescript-appversion": "^1.4.4", "nativescript-awesome-webview-with-custom-menu-items": "^50.1.1", "nativescript-email": "^1.6.0", "nativescript-https": "^1.2.2", "nativescript-iqkeyboardmanager": "^1.5.1", "nativescript-ngx-fonticon": "^7.0.0", "nativescript-root-detection": "^1.0.0", "nativescript-taptic-engine": "^2.1.0", "nativescript-ui-gauge": "^7.0.2", "reflect-metadata": "~0.1.12", "nativescript-secure-storage": "^2.6.0", "nativescript-watchos-connector": "^1.0.11", "rxjs": "^6.6.0", "rxjs-compat": "^6.5.3", "zone.js": "~0.11.1", "snyk": "^1.335.0" }, "devDependencies": { "@angular/compiler-cli": "~10.1.0", "@nativescript/android": "7.0.1", "@nativescript/types": "~7.0.4", "@nativescript/webpack": "~3.0.8", "@ngtools/webpack": "~10.0.0", "codelyzer": "~5.2.0", "node-sass": "^4.13.1", "tslint": "~5.20.1", "typescript": "~3.9.0", "webpack-obfuscator": "^0.27.2" },

saschaarthur commented 3 years ago

+1 , should just be a simple option during build? :(

PaoloMarconi95 commented 3 years ago

Same Here

FelOrtiz commented 3 years ago

Still waiting for an answer as well. :(

Aden-Kurmanov commented 3 years ago

The same error only with /node_modules/nativescript-ripple/angular/fesm2015/nativescript-ripple-angular.js