首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >咕噜“错误:找不到模块‘./时间/转换’(仅在窗口上)

咕噜“错误:找不到模块‘./时间/转换’(仅在窗口上)
EN

Stack Overflow用户
提问于 2013-11-10 03:38:37
回答 1查看 1.4K关注 0票数 2

在linux下建立一个新的角项目。将其提交给git并将其克隆到windows。使用bower和npm,我成功地加载了所有的东西,除了,我有一个错误(仅在windows上)。

项目中用于../time/转换的递归grep向我展示:

代码语言:javascript
复制
./node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/mout/date/diff.js:var convert = require('../time/convert');
./node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/mout/src/date/diff.js:define(['./totalDaysInMonth', './totalDaysInYear', '../time/convert'], function(totalDaysInMonth, totalDaysInYear, convert){
./node_modules/grunt-contrib-imagemin/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/mout/date/diff.js:var convert = require('../time/convert');
./node_modules/grunt-contrib-imagemin/node_modules/pngquant-bin/node_modules/bin-wrapper/node_modules/mout/date/diff.js:var convert = require('../time/convert');
./node_modules/grunt-contrib-imagemin/node_modules/pngquant-bin/node_modules/bin-wrapper/node_modules/mout/src/date/diff.js:define(['./totalDaysInMonth', './totalDaysInYear', '../time/conve

但是ls -l显示:

代码语言:javascript
复制
$ ls ./node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/mout/time
convert.js  now.js  parseMs.js  toTimeString.js

上面写着convert.js实际上在那里。对于咕哝和棱角分明,我感到困惑,这可能是从哪里来的,以及如何排除它。

在这之后我被困在这里:

代码语言:javascript
复制
Running "karma:unit" (karma) task
INFO [karma]: Karma v0.10.4 server started at http://localhost:8080/
INFO [launcher]: Starting browser Chrome
WARN [watcher]: Pattern ".../test/mock/**/*.js" does not match any file
WARN [launcher]: Chrome have not captured in 60000 ms, killing.
INFO [launcher]: Trying to start Chrome again.
WARN [launcher]: Chrome have not captured in 60000 ms, killing.
INFO [launcher]: Trying to start Chrome again.

想知道在Windows上用咕噜做角功是不是不可能.

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-05-12 15:47:44

我的解决方案是停止使用窗口。将开发工作转移到linux,不再出现类似的疯狂问题。哦,我的机器现在看起来也快多了。

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

https://stackoverflow.com/questions/19886013

复制
相关文章

相似问题

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