Quantcast
Channel: Kaltura - Latest posts
Viewing all articles
Browse latest Browse all 7410

Tried to install Kaltura-NG, but failed

$
0
0

Hello Community,

Is there anyone who tried to get Kaltura-NG to run?

I did the installation steps described here:

The following steps went through without error:

clone our repo

git clone https://github.com/kaltura/kmc-ng.git

change directory to your app

cd kmc-ng

checkout latest standalone code

npm run standalone

sync dependencies to the new branch

npm install

After trying to run the application, it fails (webpack failed to compile)

run the application in the browser (port 4200)

npm run start – -o

Output is:

kmc-ng@4.2.0 start /root/kmc-ng
ng serve --preserve-symlinks “-o”

** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
10% building modules 3/4 modules 1 active …rver/client/index.js?http://0.0.0.0:0(node:4134) UnhandledPromiseRejectionWarning: Error: Exited with code 3
at ChildProcess.cp.once.code (/root/kmc-ng/node_modules/opn/index.js:82:13)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:567:12)
(node:4134) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4134) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Date: 2018-04-30T10:39:38.283Z Hash: fe7c76f6ae15b9b58148
Time: 56742ms
chunk {administration-roles-app.module} administration-roles-app.module.chunk.js () 301 kB [rendered]
chunk {administration-users-app.module} administration-users-app.module.chunk.js () 254 kB [rendered]
chunk {analytics-kava-app.module} analytics-kava-app.module.chunk.js () 15.4 kB [rendered]
chunk {analytics-live-app.module} analytics-live-app.module.chunk.js () 18.1 kB [rendered]
chunk {common} common.chunk.js (common) 333 kB [rendered]
chunk {content-bulk-log-app.module} content-bulk-log-app.module.chunk.js () 289 kB [rendered]
chunk {content-categories-app.module} content-categories-app.module.chunk.js () 1.87 MB [rendered]
chunk {content-drop-folders-app.module} content-drop-folders-app.module.chunk.js () 315 kB [rendered]
chunk {content-entries-app.module} content-entries-app.module.chunk.js () 3.11 MB [rendered]
chunk {content-moderation-app.module} content-moderation-app.module.chunk.js () 211 kB [rendered]
chunk {content-playlists-app.module} content-playlists-app.module.chunk.js () 943 kB [rendered]
chunk {content-syndication-app.module} content-syndication-app.module.chunk.js () 600 kB [rendered]
chunk {content-upload-control-app.module} content-upload-control-app.module.chunk.js () 109 kB [rendered]
chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 2.96 MB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 1.62 MB [initial] [rendered]
chunk {scripts} scripts.bundle.js (scripts) 18.8 kB [initial] [rendered]
chunk {settings-access-control-app.module} settings-access-control-app.module.chunk.js () 375 kB [rendered]
chunk {settings-account-information-app.module} settings-account-information-app.module.chunk.js () 88.4 kB [rendered]
chunk {settings-account-settings-app.module} settings-account-settings-app.module.chunk.js () 85.5 kB [rendered]
chunk {settings-custom-data-app.module} settings-custom-data-app.module.chunk.js () 394 kB [rendered]
chunk {settings-integration-settings-app.module} settings-integration-settings-app.module.chunk.js () 213 kB [rendered]
chunk {settings-my-user-settings-app.module} settings-my-user-settings-app.module.chunk.js () 149 kB [rendered]
chunk {settings-transcoding-settings-app.module} settings-transcoding-settings-app.module.chunk.js () 753 kB [rendered]
chunk {studio-app.module} studio-app.module.chunk.js () 27 kB [rendered]
chunk {styles} styles.bundle.js (styles) 540 kB [initial] [rendered]
chunk {usage-dashboard-app.module} usage-dashboard-app.module.chunk.js () 18.2 kB [rendered]
chunk {vendor} vendor.bundle.js (vendor) 23.7 MB [initial] [rendered]

WARNING in ./src/kmc-app/components/app-menu/app-menu.component.scss
(Emitted value instead of an instance of Error) postcss-url: /root/kmc-ng/src/kmc-app/styles/scss/_kmc-logo.scss:9:4: Can’t read file ‘/root/kmc-ng/src/kmc-app/styles/assets/beta.svg’, ignoring

WARNING in ./src/kmc-app/components/login/login.component.scss
(Emitted value instead of an instance of Error) postcss-url: /root/kmc-ng/src/kmc-app/styles/scss/_kmc-logo.scss:9:4: Can’t read file ‘/root/kmc-ng/src/kmc-app/styles/assets/beta.svg’, ignoring

ERROR in ./src/kmc-app/components/app-menu/app-menu.component.scss
(Emitted value instead of an instance of Error) CssSyntaxError: /root/kmc-ng/src/kmc-app/styles/scss/_kmc-logo.scss:9:16: Can’t resolve ‘…/…/styles/assets/beta.svg’ in ‘/root/kmc-ng/src/kmc-app/components/app-menu’

7 | }
8 | .k-beta-logo {
9 | background: url(’…/…/styles/assets/beta.svg’) no-repeat left center;
| ^
10 | display:inline-block;
11 | }

ERROR in ./src/kmc-app/components/login/login.component.scss
(Emitted value instead of an instance of Error) CssSyntaxError: /root/kmc-ng/src/kmc-app/styles/scss/_kmc-logo.scss:9:16: Can’t resolve ‘…/…/styles/assets/beta.svg’ in ‘/root/kmc-ng/src/kmc-app/components/login’

7 | }
8 | .k-beta-logo {
9 | background: url(’…/…/styles/assets/beta.svg’) no-repeat left center;
| ^
10 | display:inline-block;
11 | }

webpack: Failed to compile.

Any idea why the webpack fails to compile?

Thanks in advance
Daniel


Viewing all articles
Browse latest Browse all 7410

Trending Articles