Advertisement
Guest User

Untitled

a guest
May 3rd, 2017
571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.60 KB | None | 0 0
  1. [pimenta@fedora-pimenta estrutura-sms]$ ionic run android --prod
  2.  
  3. > ionic-hello-world@0.0.0 ionic:build /home/pimenta/mobile/estrutura-sms
  4. > ionic-app-scripts build "--prod"
  5.  
  6. [09:08:33] ionic-app-scripts 1.3.6
  7. [09:08:33] build prod started ...
  8. [09:08:33] clean started ...
  9. [09:08:33] clean finished in 4 ms
  10. [09:08:33] copy started ...
  11. [09:08:33] ngc started ...
  12. [09:08:35] ionic-app-script task: "build"
  13. [09:08:35] Error: Type SendSmsPage in /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.ts is
  14. part of the declarations of 2 modules: AppModule in /home/pimenta/mobile/estrutura-sms/src/app/app.module.ts
  15. and SendSmsPageModule in /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.module.ts!
  16. Please consider moving SendSmsPage in
  17. /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.ts to a higher module that imports
  18. AppModule in /home/pimenta/mobile/estrutura-sms/src/app/app.module.ts and SendSmsPageModule in
  19. /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.module.ts. You can also create a
  20. new NgModule that exports and includes SendSmsPage in
  21. /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.ts then import that NgModule in
  22. AppModule in /home/pimenta/mobile/estrutura-sms/src/app/app.module.ts and SendSmsPageModule in
  23. /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.module.ts.
  24. Error: Type SendSmsPage in /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.ts is part of the declarations of 2 modules: AppModule in /home/pimenta/mobile/estrutura-sms/src/app/app.module.ts and SendSmsPageModule in /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.module.ts! Please consider moving SendSmsPage in /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.ts to a higher module that imports AppModule in /home/pimenta/mobile/estrutura-sms/src/app/app.module.ts and SendSmsPageModule in /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.module.ts. You can also create a new NgModule that exports and includes SendSmsPage in /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.ts then import that NgModule in AppModule in /home/pimenta/mobile/estrutura-sms/src/app/app.module.ts and SendSmsPageModule in /home/pimenta/mobile/estrutura-sms/src/pages/send-sms-page/send-sms-page.module.ts.
  25. at Error (native)
  26. at syntaxError (/home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:1513:34)
  27. at CompileMetadataResolver._addTypeToModule (/home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:14131:31)
  28. at /home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:14019:27
  29. at Array.forEach (native)
  30. at CompileMetadataResolver.getNgModuleMetadata (/home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:14010:54)
  31. at addNgModule (/home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:22555:58)
  32. at /home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:22566:14
  33. at Array.forEach (native)
  34. at _createNgModules (/home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:22565:26)
  35.  
  36. npm ERR! Linux 4.10.13-200.fc25.x86_64
  37. npm ERR! argv "/usr/bin/node" "/bin/npm" "run" "ionic:build" "--" "--prod"
  38. npm ERR! node v6.10.0
  39. npm ERR! npm v3.10.10
  40. npm ERR! code ELIFECYCLE
  41. npm ERR! ionic-hello-world@0.0.0 ionic:build: `ionic-app-scripts build "--prod"`
  42. npm ERR! Exit status 1
  43. npm ERR!
  44. npm ERR! Failed at the ionic-hello-world@0.0.0 ionic:build script 'ionic-app-scripts build "--prod"'.
  45. npm ERR! Make sure you have the latest version of node.js and npm installed.
  46. npm ERR! If you do, this is most likely a problem with the ionic-hello-world package,
  47. npm ERR! not with npm itself.
  48. npm ERR! Tell the author that this fails on your system:
  49. npm ERR! ionic-app-scripts build "--prod"
  50. npm ERR! You can get information on how to open an issue for this project with:
  51. npm ERR! npm bugs ionic-hello-world
  52. npm ERR! Or if that isn't available, you can get their info via:
  53. npm ERR! npm owner ls ionic-hello-world
  54. npm ERR! There is likely additional logging output above.
  55.  
  56. npm ERR! Please include the following file with any support request:
  57. npm ERR! /home/pimenta/mobile/estrutura-sms/npm-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement