Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [pimenta@fedora-pimenta estrutura-sms]$ ionic run android --prod
- > ionic-hello-world@0.0.0 ionic:build /home/pimenta/mobile/estrutura-sms
- > ionic-app-scripts build "--prod"
- [09:08:33] ionic-app-scripts 1.3.6
- [09:08:33] build prod started ...
- [09:08:33] clean started ...
- [09:08:33] clean finished in 4 ms
- [09:08:33] copy started ...
- [09:08:33] ngc started ...
- [09:08:35] ionic-app-script task: "build"
- [09:08:35] 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.
- 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.
- at Error (native)
- at syntaxError (/home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:1513:34)
- at CompileMetadataResolver._addTypeToModule (/home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:14131:31)
- at /home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:14019:27
- at Array.forEach (native)
- at CompileMetadataResolver.getNgModuleMetadata (/home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:14010:54)
- at addNgModule (/home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:22555:58)
- at /home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:22566:14
- at Array.forEach (native)
- at _createNgModules (/home/pimenta/mobile/estrutura-sms/node_modules/@angular/compiler/bundles/compiler.umd.js:22565:26)
- npm ERR! Linux 4.10.13-200.fc25.x86_64
- npm ERR! argv "/usr/bin/node" "/bin/npm" "run" "ionic:build" "--" "--prod"
- npm ERR! node v6.10.0
- npm ERR! npm v3.10.10
- npm ERR! code ELIFECYCLE
- npm ERR! ionic-hello-world@0.0.0 ionic:build: `ionic-app-scripts build "--prod"`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the ionic-hello-world@0.0.0 ionic:build script 'ionic-app-scripts build "--prod"'.
- npm ERR! Make sure you have the latest version of node.js and npm installed.
- npm ERR! If you do, this is most likely a problem with the ionic-hello-world package,
- npm ERR! not with npm itself.
- npm ERR! Tell the author that this fails on your system:
- npm ERR! ionic-app-scripts build "--prod"
- npm ERR! You can get information on how to open an issue for this project with:
- npm ERR! npm bugs ionic-hello-world
- npm ERR! Or if that isn't available, you can get their info via:
- npm ERR! npm owner ls ionic-hello-world
- npm ERR! There is likely additional logging output above.
- npm ERR! Please include the following file with any support request:
- npm ERR! /home/pimenta/mobile/estrutura-sms/npm-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement