Windows 10,节点模块没有这样的文件

时间:2016-12-02 18:33:29

标签: node.js npm gulp

我收到以下错误,但我不知道为什么。

我试过了npm rebuild node-sass。还尝试删除节点模块并使用npm install

我在Windows 10上使用npm@4.0.2,node@6.9.1,gulp@3.9.1

gulp serve
fs.js:951
  return binding.readdir(pathModule._makeLong(path), options.encoding);
                 ^

Error: ENOENT: no such file or directory, scandir 'C:\Users\Eduardo Pisapia\Documents\sgb-app-test\C:\Users\Eduardo Pisapia\Documents\sgb-app-test\node_modules\megazord-sdk\app'
    at Error (native)
    at Object.fs.readdirSync (fs.js:951:18)
    at Object.module.exports.load (C:\Users\Eduardo Pisapia\Documents\sgb-app-test\node_modules\megazord-sdk\gulp-load.js:31:4)
    at Object.module.exports.registerAppTasks (C:\Users\Eduardo Pisapia\Documents\sgb-app-test\node_modules\megazord-sdk\megazord-sdk.js:14:12)
    at Object.<anonymous> (C:\Users\Eduardo Pisapia\Documents\sgb-app-test\gulpfile.js:7:10)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

0 个答案:

没有答案