Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run awcy #158

Open
XiaolinSh opened this issue Nov 16, 2017 · 1 comment
Open

Failed to run awcy #158

XiaolinSh opened this issue Nov 16, 2017 · 1 comment

Comments

@XiaolinSh
Copy link

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

However, when I open http://localhost:3000, I
screenshot from 2017-11-16 17-30-18

@ghost
Copy link

ghost commented May 15, 2018

Try the below command.
npm install --save @types/[email protected]
cd ./www
npm install --save [email protected]
npm install --save [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant