gulp-sourcemaps: Cannot find module './src/init'

左心房为你撑大大i 提交于 2019-12-03 05:37:13
commandt

It's related to an issue with gulp-sourcemaps recent deployment https://github.com/floridoo/gulp-sourcemaps/issues/238

A project maintainer says at the end of the thread that he'll get to it today and

For the time being lock your version down to 2.0.x or 1.7.x

To fix, add specific version in your package.json until the issue is fixed:

{
  "devDependencies": {
    "gulp-sourcemaps": "1.7.x"
  }
}

Use npm shrinkwrap to prevent similar issues in the future.

This is caused by a recent change in gulp-sourcemaps. See bug here: https://github.com/floridoo/gulp-sourcemaps/issues/238

This is now fixed. Run npm install https://github.com/floridoo/gulp-sourcemaps/issues/238

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!