module.js:356
Module._extensions[extension](this, filename);
^
Error: Module version mismatch. Expected 11, got 1.
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js
当我开发了角7的代码时,我得到了适当的结果。今天,我更新了角-cli,角材料和角版本为10。在更新之后,我的代码停止执行。我在网络控制台上得到以下错误:-
*
core.js:4197 ERROR Error: Uncaught (in promise): Error: Your minutes - 56 doesn't match your minutesGap - 5
Error: Your minutes - 56 doesn't match your minutesGap - 5
at Function.isTimeAvailable (time-adapter
在创建了一个新的VueJS项目(使用TypeScript,类)之后,我在使用npm启动它时会出错。我看到了需要安装webpack-cli的不同主题,所以我安装了它,但我仍然得到了相同的错误:
Error: Cannot find module 'webpack/bin/config-yargs'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at requ
我是angular 2的新手。我已经设置了我的项目,并试图通过npm启动它,以前它工作正常,然后在我启动它的几天后,它在命令提示符中给出了以下错误。
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (m
我试图添加这个插件,但是当我运行命令时,我看到了以下错误:
Error during processing of action! Attempting to revert...
Failed to install 'com.mobileapptracking.matplugin':TypeError: Uh oh!
Arguments to path.resolve must be strings
at Object.exports.resolve (path.js:313:15)
at module.exports.framework.install (/u
我正在尝试使用dojo.gridx和dojo.JsonRest作为我的内存存储。由于行的一些约束需要在提交前完全填写,因此我使用了lazyEdit功能。
我有一个按钮和延迟对象,定义如下
grid.startup();
// var gridDeferred = new Deferred(function(reason){
// do something when the Deferred is cancelled
// alert("canceled");
// });
var saveButton = n
我正在使用json包更新package.json文件。
使用以下命令
json -f package.json -I -e this.dependencies.data-version=\"1.0.0.1\"
获取以下错误消息
undefined:2
this.dependencies.'data-version'="1.0.0.1"
^^^^^^^^^^
SyntaxError: Unexpected string
at new Function (<anonymous>)
at
我正在尝试安装i18next-conv,但是,当我运行sudo npm install i18next-conv -g时,会得到以下错误:
Error: Cannot find module 'readable-stream'
at Function._resolveFilename (module.js:337:11)
at Function._load (module.js:279:25)
at Module.require (module.js:359:17)
at require (module.js:375:17)
at Object.<anonymous>
我目前正在尝试安装美国宇航局的Open MCT (),但在安装过程中已经遇到错误。运行npm install后,我得到以下错误消息:
{ Error: Parse error using esprima for file: C:/Users/MCTUser/openmct/node_modules/painterro/build/painterro.min.js
Error: Line 258: Unexpected token *
at C:\Users\MCTUser\openmct\node_modules\requirejs\bin\r.js:29563:47
at C
由于最近更新了linux (或者可能是可视代码),我发现写入stderr会引发一个未捕获的错误,例如: 来自第291行的//events.js Exception has occurred: Error: write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js:156:25)
at writeGeneric (internal/stream_base_commons.js:147:3)
at Socket._writeGeneric (net.js:784:11)
at Socket
在运行node app.js时,快递服务器连接正常,MongoDB连接正常,但如上所述,我在节点模块中遇到了一个问题。
完整的日志粘贴在下面:
throw new TypeError("expecting a function but got " + util.classString(fn));
^
TypeError: expecting a function but got [object Undefined]
at Function.Promise.promisify (D:\Project\DD-NODEJS\node_modu
我在尝试使用模块时遇到以下错误。(我不能理解)
Error: Cannot find module 'app'
at Module._resolveFilename (module.js:455:15)
at Function.Module._resolveFilename (C:\path\Electron\music-player\node_modules\electron\dist\resources\electron.as
ar\common\reset-search-paths.js:35:12)
at Function.Module._loa
我发布了一个问题(人们没有正当理由关闭这个问题- )
它们指的是一个解决方案,因为我得到了这个错误,所以它不起作用:
npm http GET https://registry.npmjs.org/cordova
npm ERR! Error: failed to fetch from registry: cordova
npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-clie
我有一个可以正常工作的基于karma的测试实现,并且我决定在它变得太大之前,我应该在它中添加requirejs。
我不确定我做了什么,但我现在收到一条我不理解的错误消息。
我对其中一些框架的一个抱怨是,当出现问题时,诊断有点神秘。
这是我在信息层看到的:
INFO [karma]: Karma v0.10.2 server started at http://localhost:9876/
INFO [launcher]: Starting browser Chrome
WARN [watcher]: Pattern "<projectroot>/src/test/weba
我无法解决此错误。我都不知道是什么引起的。我有最新版本的npm和最稳定的节点版本。
$ nvm use 0.10.40
/Users/Test/.nvm/v0.10.40/lib/node_modules/npm/lib/utils/unsupported.js:27
console.error(`a bug known to break npm. Please update to at least ${r
^
SyntaxError: Unexpected token ILLEGAL
at Module._compile (module.js:439:2