Cloud 9上的错误尝试安装和运行MEAN堆栈时

时间:2015-08-31 22:23:50

标签: gruntjs bower mean-stack cloud9-ide

我已经在cloud 9服务器上安装了bower和grunt的平均堆栈,但每次我尝试运行时都会:

gwenf1@basejump_voting:~/workspace $ grunt serve

我得到了以下错误:

Running "serve" task

Running "clean:server" (clean) task

Running "env:all" (env) task

Running "concurrent:server" (concurrent) task

Running "injector:scripts" (injector) task
Missing option `template`, using `dest` as template instead
Injecting js files (13 files)

Running "injector:css" (injector) task
Missing option `template`, using `dest` as template instead
Injecting css files (5 files)

Running "wiredep:target" (wiredep) task
client/index.html modified.
Loading "autoprefixer.js" tasks...ERROR
>> Error: Cannot find module 'caniuse-db/features-json/transforms2d'
Warning: Task "autoprefixer" failed. Use --force to continue.

Aborted due to warnings.

Execution Time (2015-08-31 04:28:36 UTC)
loading tasks      173ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 18%
serve               15ms  ▇▇ 2%
clean:server        26ms  ▇▇▇ 3%
env:all             12ms  ▇▇ 1%
concurrent:server   13ms  ▇▇ 1%
injector:scripts   103ms  ▇▇▇▇▇▇▇▇▇▇▇ 11%
injector:css        17ms  ▇▇ 2%
wiredep:target     613ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 63%
Total 976ms

gwenf1@basejump_voting:~/workspace $ grunt serve
Running "serve" task

Running "clean:server" (clean) task

Running "env:all" (env) task

Running "concurrent:server" (concurrent) task

Running "injector:scripts" (injector) task
Missing option `template`, using `dest` as template instead
Injecting js files (13 files)

Running "injector:css" (injector) task
Missing option `template`, using `dest` as template instead
Injecting css files (5 files)

Running "wiredep:target" (wiredep) task
Loading "autoprefixer.js" tasks...ERROR
>> Error: Cannot find module 'caniuse-db/features-json/transforms2d'
Warning: Task "autoprefixer" failed. Use --force to continue.

Aborted due to warnings.

我尝试安装不同版本的所有内容并删除工作区并重新开始。

0 个答案:

没有答案