Skip to content

Instantly share code, notes, and snippets.

@DimaDaxDadeco
Created February 20, 2017 13:12
Show Gist options
  • Save DimaDaxDadeco/41f7b77ea5d35cd278c7d5f81b72aa32 to your computer and use it in GitHub Desktop.
Save DimaDaxDadeco/41f7b77ea5d35cd278c7d5f81b72aa32 to your computer and use it in GitHub Desktop.
ERROR in /media/dax/Новый том/projects/Cian/front/frontend-mainpage/src/app/tests/mainpage_helper.test.ts
(25,13): error TS2322: Type '{ groups: { id: string; title: string; offers: { title: string; price: { amount: number; }; price...' is not assignable to type 'ITopThreeItem[]'.
Type '{ groups: { id: string; title: string; offers: { title: string; price: { amount: number; }; price...' is not assignable to type 'ITopThreeItem'.
Types of property 'groups' are incompatible.
Type '{ id: string; title: string; offers: { title: string; price: { amount: number; }; priceAmount: nu...' is not assignable to type 'ITopGroup[] | undefined'.
Type '{ id: string; title: string; offers: { title: string; price: { amount: number; }; priceAmount: nu...' is not assignable to type 'ITopGroup[]'.
Type '{ id: string; title: string; offers: { title: string; price: { amount: number; }; priceAmount: nu...' is not assignable to type 'ITopGroup'.
Property 'trackingProductData' is missing in type '{ id: string; title: string; offers: { title: string; price: { amount: number; }; priceAmount: nu...'.
ERROR in ./src/server/index.tsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../../build/assets/manifest.json in /media/dax/Новый том/projects/Cian/front/frontend-mainpage/src/server
@ ./src/server/index.tsx 20:15-58
> cian-client@1.0.0 start /media/dax/Новый том/projects/Cian/front/frontend-mainpage
> node build/server.js
/media/dax/Новый том/projects/Cian/front/frontend-mainpage/build/server.js:107
var manifest = __webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module \"../../build/assets/manifest.json\""); e.code = 'MODULE_NOT_FOUND'; throw e; }()));
^
Error: Cannot find module "../../build/assets/manifest.json"
at webpackMissingModule (/media/dax/Новый том/projects/Cian/front/frontend-mainpage/build/server.js:107:81)
at Object.<anonymous> (/media/dax/Новый том/projects/Cian/front/frontend-mainpage/build/server.js:107:190)
at __webpack_require__ (/media/dax/Новый том/projects/Cian/front/frontend-mainpage/build/server.js:21:30)
at Object.<anonymous> (/media/dax/Новый том/projects/Cian/front/frontend-mainpage/build/server.js:50:2)
at __webpack_require__ (/media/dax/Новый том/projects/Cian/front/frontend-mainpage/build/server.js:21:30)
at /media/dax/Новый том/projects/Cian/front/frontend-mainpage/build/server.js:41:18
at Object.<anonymous> (/media/dax/Новый том/projects/Cian/front/frontend-mainpage/build/server.js:44:10)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
npm ERR! Linux 4.8.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "start"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! cian-client@1.0.0 start: `node build/server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cian-client@1.0.0 start script 'node build/server.js'.
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 cian-client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build/server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs cian-client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls cian-client
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /media/dax/Новый том/projects/Cian/front/frontend-mainpage/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment