首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装主管新闻室的问题

安装主管新闻室的问题
EN

Stack Overflow用户
提问于 2018-07-02 20:43:28
回答 1查看 212关注 0票数 0

我试图用NPM安装从https://github.com/superdesk/newsroom中安装newsromm,我有以下错误:

代码语言:javascript
复制
npm WARN deprecated babel-preset-es2015@6.24.1:   Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! 
npm WARN deprecated nomnom@1.6.2: Package no longer supported. Contact support@npmjs.com for more info.

> node-sass@4.9.0 install /root/newsroom/node_modules/node-sass
> node scripts/install.js

internal/modules/cjs/loader.js:596
    throw err;
    ^

Error: Cannot find module '/root/newsroom/node_modules/node-sass/scripts/install.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
    at Function.Module._load (internal/modules/cjs/loader.js:520:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:744:10)
    at startup (internal/bootstrap/node.js:240:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:564:3)
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN newsroom No repository field.
npm WARN newsroom No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.9.0 install: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-sass@4.9.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-07-01T18_21_45_224Z-debug.log

用纱线安装,一切看起来都很好:

代码语言:javascript
复制
yarn install v1.7.0
(node:40422) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > react-toggle@4.0.2" has unmet peer dependency "prop-types@^15.3.0".
[4/4] Building fresh packages...
Done in 236.13s.

但当我启动应用程序时,我会发出这样的信息:

代码语言:javascript
复制
honcho start -p 5050
18:17:07 system      | web.1 started (pid=52710)
18:17:07 system      | websocket.1 started (pid=52711)
18:17:08 websocket.1 | /usr/bin/python: No module named superdesk
18:17:08 system      | websocket.1 stopped (rc=1)
18:17:08 system      | sending SIGTERM to web.v

我怎么解决这个问题?

区块报价

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-10-12 12:42:21

新闻编辑室只是超级办公桌的一个插件。您还需要从https://github.com/superdesk/superdesk安装Superdesk。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51143472

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档