You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup a local server to run awcy.
Follows the steps in README.md
after I run in awcy home directory
npm install
I got these error:
npm ERR! Linux 4.8.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "tsc"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] tsc: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] tsc script 'tsc'.
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 awcy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs awcy
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls awcy
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/xiaolin/Work/awcy/npm-debug.log
Then I ran
npm start
I got these,
ERROR in /home/xiaolin/Work/awcy/www/node_modules/@types/flux/index.d.ts
(7,23): error TS2688: Cannot find type definition file for 'fbemitter'.
ERROR in /home/xiaolin/Work/awcy/www/node_modules/@types/flux/index.d.ts
(8,23): error TS2688: Cannot find type definition file for 'immutable'.
ERROR in /home/xiaolin/Work/awcy/www/node_modules/@types/react/index.d.ts
(165,11): error TS2559: Type 'Component<P, S>' has no properties in common with type 'ComponentLifecycle<P, S>'.
ERROR in ./src/stores/Stores.ts
(110,15): error TS2345: Argument of type 'string' is not assignable to parameter of type 'T | Thenable<T>'.
ERROR in ./src/components/AppStatus.tsx
(74,7): error TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<RefreshComponent> & { children?: ReactNode; } & void'.
Type '{}' is not assignable to type 'void'.
ERROR in ./src/index.tsx
(7,3): error TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<App> & { children?: ReactNode; } & void'.
Type '{}' is not assignable to type 'void'.
ERROR in ./src/App.tsx
(61,11): error TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<ShareComponent> & { children?: ReactNode; } & void'.
Type '{}' is not assignable to type 'void'.
ERROR in ./src/App.tsx
(69,11): error TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<FullReportComponent> & { children?: ReactNode; } &...'.
Type '{}' is not assignable to type 'void'.
ERROR in ./src/App.tsx
(74,11): error TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<AppLogsComponent> & { children?: ReactNode; } & void'.
Type '{}' is not assignable to type 'void'.
ERROR in ./src/App.tsx
(79,11): error TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<AppStatusComponent> & { children?: ReactNode; } & ...'.
Type '{}' is not assignable to type 'void'.
ERROR in ./src/App.tsx
(84,11): error TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<DebugComponent> & { children?: ReactNode; } & void'.
Type '{}' is not assignable to type 'void'.
ERROR in ./src/App.tsx
(89,11): error TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<LoginComponent> & { children?: ReactNode; } & void'.
Type '{}' is not assignable to type 'void'.
AWCY server started! Open a browser at http://localhost:3000
I'm trying to setup a local server to run awcy.
Follows the steps in README.md
after I run in awcy home directory
I got these error:
Then I ran
I got these,
However, when I open http://localhost:3000, I
The text was updated successfully, but these errors were encountered: