chatie / app Goto Github PK
View Code? Open in Web Editor NEWChatBot Pocket Manager for Android & Ios, Powred by Ionic & Angular
Home Page: https://app.chatie.io
License: Apache License 2.0
ChatBot Pocket Manager for Android & Ios, Powred by Ionic & Angular
Home Page: https://app.chatie.io
License: Apache License 2.0
Currently, the icon.png has no alpha channel because of the limitation of IOS iTunes Connect.
However, when we add app.chatie.io
to the Android/Ios Desktop as a Progressive Web Apps, the icon is ugly if it's round corner is not transparent.
To be fixed.
Failed to load https://subscriptions.ap-northeast-1.graph.cool/v1/chatie: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access. The response had HTTP status code 400. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
2polyfills.js:3 GET https://subscriptions.ap-northeast-1.graph.cool/v1/chatie 400 (Bad Request)
(anonymous) @ polyfills.js:3
ClientRequest._onFinish @ request.js:148
(anonymous) @ request.js:61
EventEmitter.emit @ events.js:78
finishMaybe @ _stream_writable.js:620
endWritable @ _stream_writable.js:628
Writable.end @ _stream_writable.js:584
ClientRequest.end @ request.js:292
get @ index.js:44
https.get @ index.js:17
initAsClient @ WebSocket.js:621
WebSocket @ WebSocket.js:70
SubscriptionClient.connect @ client.js:355
...
...
...
407 @ main.ts:5
__webpack_require__ @ bootstrap b4376e0bbc44f7deb241:54
webpackJsonpCallback @ bootstrap b4376e0bbc44f7deb241:25
(anonymous) @ main.js:1
Error during template compile of 'AppModule' Function calls are not supported in decorators but 'AuthModule' was called.
$ npm run ionic:build --aot
> @chatie/[email protected] ionic:build /home/zixia/chatie/app
> ionic-app-scripts build
[02:12:05] ionic-app-scripts 3.1.8
[02:12:05] build dev started ...
[02:12:05] clean started ...
[02:12:05] clean finished in 1 ms
[02:12:05] copy started ...
[02:12:05] deeplinks started ...
[02:12:05] deeplinks finished in 84 ms
[02:12:05] ngc started ...
[02:12:09] typescript error
Error during template compile of 'AppModule' Function calls are not supported in decorators but 'AuthModule'
was called.
[02:12:09] ionic-app-script task: "build"
[02:12:09] Error: The Angular AoT build failed. See the issues above
Error: The Angular AoT build failed. See the issues above
at /home/zixia/chatie/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:237:55
at step (/home/zixia/chatie/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:32:23)
at Object.next (/home/zixia/chatie/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:13:53)
at fulfilled (/home/zixia/chatie/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:4:58)
at <anonymous>
$ npm run ionic:build --aot
> @chatie/[email protected] ionic:build /home/zixia/chatie/app
> ionic-app-scripts build
[13:19:00] ionic-app-scripts 3.1.8
[13:19:00] build dev started ...
[13:19:00] clean started ...
[13:19:00] clean finished in less than 1 ms
[13:19:00] copy started ...
[13:19:00] deeplinks started ...
[13:19:00] deeplinks finished in 55 ms
[13:19:00] ngc started ...
[13:19:07] ngc finished in 6.45 s
[13:19:07] preprocess started ...
[13:19:07] preprocess finished in less than 1 ms
[13:19:07] webpack started ...
[13:19:07] copy finished in 6.72 s
[13:19:15] ionic-app-script task: "build"
...
Module not found: Error: Can't resolve '@chatie/db/src/hostie/index' in '/home/zixia/chatie/app/src/pages/hostie-list'
resolve '@chatie/db/src/hostie/index' in '/home/zixia/chatie/app/src/pages/hostie-list'
Parsed request is a module
using description file: /home/zixia/chatie/app/package.json (relative path: ./src/pages/hostie-list)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /home/zixia/chatie/app/package.json (relative path: ./src/pages/hostie-list)
resolve as module
looking for modules in /home/zixia/chatie/app/node_modules
using description file: /home/zixia/chatie/app/package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /home/zixia/chatie/app/package.json (relative path: ./node_modules)
using description file: /home/zixia/chatie/app/node_modules/@chatie/db/package.json (relative path: ./src/hostie/index)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/zixia/chatie/app/node_modules/@chatie/db/src/hostie/index doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/zixia/chatie/app/node_modules/@chatie/db/src/hostie/index.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/zixia/chatie/app/node_modules/@chatie/db/src/hostie/index.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/zixia/chatie/app/node_modules/@chatie/db/src/hostie/index.json doesn't exist
as directory
/home/zixia/chatie/app/node_modules/@chatie/db/src/hostie/index doesn't exist
[/home/zixia/chatie/app/node_modules/@chatie/db/src/hostie/index]
[/home/zixia/chatie/app/node_modules/@chatie/db/src/hostie/index.ts]
[/home/zixia/chatie/app/node_modules/@chatie/db/src/hostie/index.js]
[/home/zixia/chatie/app/node_modules/@chatie/db/src/hostie/index.json]
[/home/zixia/chatie/app/node_modules/@chatie/db/src/hostie/index]
@ ./src/pages/hostie-list/hostie-list.ngfactory.js 14:0-75 51:0-51
@ ./src/app/app.module.ngfactory.js
@ ./src/app/main.ts
at new BuildError (/home/zixia/chatie/app/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28)
at callback (/home/zixia/chatie/app/node_modules/@ionic/app-scripts/dist/webpack.js:121:28)
at emitRecords.err (/home/zixia/chatie/app/node_modules/webpack/lib/Compiler.js:269:13)
at Compiler.emitRecords (/home/zixia/chatie/app/node_modules/webpack/lib/Compiler.js:375:38)
at emitAssets.err (/home/zixia/chatie/app/node_modules/webpack/lib/Compiler.js:262:10)
at applyPluginsAsyncSeries1.err (/home/zixia/chatie/app/node_modules/webpack/lib/Compiler.js:368:12)
at next (/home/zixia/chatie/app/node_modules/tapable/lib/Tapable.js:218:11)
at Compiler.compiler.plugin (/home/zixia/chatie/app/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4)
at Compiler.applyPluginsAsyncSeries1 (/home/zixia/chatie/app/node_modules/tapable/lib/Tapable.js:222:13)
at Compiler.afterEmit (/home/zixia/chatie/app/node_modules/webpack/lib/Compiler.js:365:9)
It's caused by @chatie/db
: Chatie/db#30
Usually this means you have a circular dependencies (might be caused by using 'barrel' index.ts files.
$ ionic cordova build browser --prod
? Looks like a fresh checkout! No ./node_modules directory found. Would you like to install project dependencies? Yes
Installing dependencies may take several minutes!
> npm i
โ Running command - done!
Running app-scripts build: --prod --platform browser --target cordova
[04:17:35] build prod started ...
[04:17:35] clean started ...
[04:17:35] clean finished in 1 ms
[04:17:35] copy started ...
[04:17:35] deeplinks started ...
[04:17:35] deeplinks finished in 57 ms
[04:17:35] ngc started ...
[04:17:38] typescript error
Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by
using 'barrel' index.ts files.
Error: The Angular AoT build failed. See the issues above
at /home/zixia/chatie/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:237:55
at step (/home/zixia/chatie/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:32:23)
at Object.next (/home/zixia/chatie/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:13:53)
at fulfilled (/home/zixia/chatie/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:4:58)
at <anonymous>
[04:17:39] copy finished in 3.40 s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.