在meteor项目中安装自然节点时出错

在meteor项目中安装自然节点时出错,meteor,nlp,Meteor,Nlp,请把我引向这个方向。这个错误正在成为一种递归错误。我在这个问题上伤了脑筋,但还是坚持不住。提前感谢您有一个名为Natural(不确定是哪个)的软件包,它不是按照正确的软件包规格构建的,或者是以某种方式修改的 这不是那么容易修复的,您必须联系软件包的作者来修复它或自己修改它。我在atmosphere上找不到NaturalNode,所以它可能是一个定制包 不过,您可能希望让应用程序的其余部分能够进行调试和修复。为此,您需要删除此软件包 删除~/.meteorite/packages 查看您的包sma

请把我引向这个方向。这个错误正在成为一种递归错误。我在这个问题上伤了脑筋,但还是坚持不住。提前感谢

您有一个名为
Natural
(不确定是哪个)的软件包,它不是按照正确的软件包规格构建的,或者是以某种方式修改的

这不是那么容易修复的,您必须联系软件包的作者来修复它或自己修改它。我在atmosphere上找不到
NaturalNode
,所以它可能是一个定制包

不过,您可能希望让应用程序的其余部分能够进行调试和修复。为此,您需要删除此软件包

删除
~/.meteorite/packages

查看您的包smart.json并删除有问题的包(natural)。然后运行
mrt更新
。并删除应用程序中与natural相关的其他代码,这些代码可能会阻止应用程序启动

从您克隆的
https://github.com/NaturalNode/natural
不知怎的变成了陨石。你必须为《流星》而努力

您使用的文件是一个npm模块,如果您在中复制文件,则不只是与meteor一起使用。你必须使它的工作兼容陨石包。或者直接使用应用程序中的npm模块


还可以帮助您开始学习如何制作npm模块的包装器,以便与meteor一起使用

当我运行“mrt add npm”时,出现以下错误:/usr/local/lib/node_modules/meteorite/lib/meteor.js:154 throw“运行命令时出错:“+error;”运行命令时出错:错误:命令失败:=>扫描程序包时出错:构建程序包时路由器时出错:错误:没有这样的程序包:“page js ie support”错误:没有这样的程序包:“HTML5 History API”…如何防止此情况发生?Akshat!。。。从~/.meteorite/packages和smart.json中删除了natural包。现在运行应用程序时,它显示以下错误:W20140603-13:34:10.496(1)?(STDERR)/home/priya/.meteor/tools/c2a0453c51/lib/node_modules/fibers/future.js:173 W20140603-13:34:10.497(1)?(标准)投掷(ex);W20140603-13:34:10.497(1)?(标准)^W20140603-13:34:10.498(1)?(标准)参考错误:要求未定义W20140603-13:34:10.498(1)?(STDERR)在app/node_modules/natural/node_modules/instrument/lib/instrument/classifier/bayes_classifier.js:23:12……现在该怎么办?它列出的package.js位于以下目录中:…~/gbproject/packages/npm/package.js。因为之前,我在项目中未搜索此文件时出错。可以看到npm.require('path')。我是否需要在该文件中添加“npm.require('natural')”,或者在我想使用该软件包的地方添加?可能的副本
I am working on a meteor project. Have to use natural package for natural language facility. I installed that using 'npm install natural'. But when ran the project, got error as 'ReferenceError: require is not defined'.

Added this line: var abc=Meteor.require('natural'); in the file in which have to use it. But when I am running the project, it is showing error as:=> Started proxy.
=> Meteor 0.8.1.3 is available. Update this project with 'meteor update'.
=> Started MongoDB.     
=> Errors prevented startup:

    While building package `router`:
    error: no such package: 'page-js-ie-support'
    error: no such package: 'HTML5-History-API'

-- When tried to install the above listed missing packages, showing error as: 

smart.json changed.. installing from smart.json, I got the following error after successfully installing various packages like natural, iron-router, paginated-subscription, router, accounts-ui-bootstrap-dropdown, spin. But after that showing following error. Why so?

/usr/local/lib/node_modules/meteorite/lib/dependencies/package.js:106
      throw('Could not locate package.js within path ' + self.source.packagePa
                                                       ^
Could not locate package.js within path /home/priya/.meteorite/packages/natural/NaturalNode/natural/d541ca394659521498ed36a7f6e03fef93163e53


-- The packages in my project are: I don't understand here as router package is already listed then why showing error while running the project.??

 meteor list --using
standard-app-packages
bootstrap
router
accounts-ui-bootstrap-dropdown
accounts-password
spin
paginated-subscription
email
insecure
iron-router
npm