• renren-fast-vue无法运行相关问题解决办法n ./src/assets/scss/index.scss Module build failed: Error: ENOENT: no su


    in ./src/assets/scss/index.scss

    Module build failed: Error: ENOENT: no such file or directory, scandir ‘C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassvendor’
    at Object.fs.readdirSync (fs.js:861:3)
    at Object.getInstalledBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibextensions.js:129:13)
    at foundBinariesList (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:20:15)
    at foundBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:15:5)
    at Object.module.exports.missingBinary (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:45:5)
    at module.exports (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibinding.js:15:30)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibindex.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modulessass-loaderlibloader.js:3:14)
    at Module._compile (internal/modules/cjs/loader.js:678:30)

    @ ./src/assets/scss/index.scss 4:14-212 13:3-17:5 14:22-220
    @ ./src/main.js
    @ multi (webpack)-dev-server/client?http://localhost:8001 webpack/hot/dev-server babel-polyfill ./src/main.js

    error in ./src/views/demo/ueditor.vue

    Module build failed: Error: ENOENT: no such file or directory, scandir ‘C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassvendor’
    at Object.fs.readdirSync (fs.js:861:3)
    at Object.getInstalledBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibextensions.js:129:13)
    at foundBinariesList (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:20:15)
    at foundBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:15:5)
    at Object.module.exports.missingBinary (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:45:5)
    at module.exports (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibinding.js:15:30)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibindex.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modulessass-loaderlibloader.js:3:14)
    at Module._compile (internal/modules/cjs/loader.js:678:30)

    @ ./node_modules/vue-style-loader!./node_modules/css-loader?{“sourceMap”:false}!./node_modules/vue-loader/lib/style-compiler?{“vue”:true,“id”:“data-v-9baacec6”,“scoped”:false,“hasInlineConfig”:false}!./node_modules/sass-loader/lib/loader.js?{“sourceMap”:false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0&bustCache!./src/views/demo/ueditor.vue 4:14-399 13:3-17:5 14:22-407
    @ ./src/views/demo/ueditor.vue
    @ ./src/views ^./.*.vue$
    @ ./src/router/import-development.js
    @ ./src/router/index.js
    @ ./src/main.js
    @ multi (webpack)-dev-server/client?http://localhost:8001 webpack/hot/dev-server babel-polyfill ./src/main.js

    error in ./src/views/common/login.vue

    Module build failed: Error: ENOENT: no such file or directory, scandir ‘C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassvendor’
    at Object.fs.readdirSync (fs.js:861:3)
    at Object.getInstalledBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibextensions.js:129:13)
    at foundBinariesList (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:20:15)
    at foundBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:15:5)
    at Object.module.exports.missingBinary (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:45:5)
    at module.exports (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibinding.js:15:30)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibindex.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modulessass-loaderlibloader.js:3:14)
    at Module._compile (internal/modules/cjs/loader.js:678:30)

    @ ./node_modules/vue-style-loader!./node_modules/css-loader?{“sourceMap”:false}!./node_modules/vue-loader/lib/style-compiler?{“vue”:true,“id”:“data-v-20137d6c”,“scoped”:false,“hasInlineConfig”:false}!./node_modules/sass-loader/lib/loader.js?{“sourceMap”:false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0&bustCache!./src/views/common/login.vue 4:14-397 13:3-17:5 14:22-405
    @ ./src/views/common/login.vue
    @ ./src/views ^./.*.vue$
    @ ./src/router/import-development.js
    @ ./src/router/index.js
    @ ./src/main.js
    @ multi (webpack)-dev-server/client?http://localhost:8001 webpack/hot/dev-server babel-polyfill ./src/main.js

    error in ./src/views/demo/echarts.vue

    Module build failed: Error: ENOENT: no such file or directory, scandir ‘C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassvendor’
    at Object.fs.readdirSync (fs.js:861:3)
    at Object.getInstalledBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibextensions.js:129:13)
    at foundBinariesList (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:20:15)
    at foundBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:15:5)
    at Object.module.exports.missingBinary (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:45:5)
    at module.exports (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibinding.js:15:30)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibindex.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modulessass-loaderlibloader.js:3:14)
    at Module._compile (internal/modules/cjs/loader.js:678:30)

    @ ./node_modules/vue-style-loader!./node_modules/css-loader?{“sourceMap”:false}!./node_modules/vue-loader/lib/style-compiler?{“vue”:true,“id”:“data-v-2c1ebb75”,“scoped”:false,“hasInlineConfig”:false}!./node_modules/sass-loader/lib/loader.js?{“sourceMap”:false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0&bustCache!./src/views/demo/echarts.vue 4:14-399 13:3-17:5 14:22-407
    @ ./src/views/demo/echarts.vue
    @ ./src/views ^./.*.vue$
    @ ./src/router/import-development.js
    @ ./src/router/index.js
    @ ./src/main.js
    @ multi (webpack)-dev-server/client?http://localhost:8001 webpack/hot/dev-server babel-polyfill ./src/main.js

    error in ./src/views/common/404.vue

    Module build failed: Error: ENOENT: no such file or directory, scandir ‘C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassvendor’
    at Object.fs.readdirSync (fs.js:861:3)
    at Object.getInstalledBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibextensions.js:129:13)
    at foundBinariesList (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:20:15)
    at foundBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:15:5)
    at Object.module.exports.missingBinary (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:45:5)
    at module.exports (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibinding.js:15:30)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibindex.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modulessass-loaderlibloader.js:3:14)
    at Module._compile (internal/modules/cjs/loader.js:678:30)

    @ ./node_modules/vue-style-loader!./node_modules/css-loader?{“sourceMap”:false}!./node_modules/vue-loader/lib/style-compiler?{“vue”:true,“id”:“data-v-405c530a”,“scoped”:false,“hasInlineConfig”:false}!./node_modules/sass-loader/lib/loader.js?{“sourceMap”:false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0&bustCache!./src/views/common/404.vue 4:14-395 13:3-17:5 14:22-403
    @ ./src/views/common/404.vue
    @ ./src/views ^./.*.vue$
    @ ./src/router/import-development.js
    @ ./src/router/index.js
    @ ./src/main.js
    @ multi (webpack)-dev-server/client?http://localhost:8001 webpack/hot/dev-server babel-polyfill ./src/main.js

    error in ./src/views/modules/sys/menu-add-or-update.vue

    Module build failed: Error: ENOENT: no such file or directory, scandir ‘C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassvendor’
    at Object.fs.readdirSync (fs.js:861:3)
    at Object.getInstalledBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibextensions.js:129:13)
    at foundBinariesList (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:20:15)
    at foundBinaries (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:15:5)
    at Object.module.exports.missingBinary (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sassliberrors.js:45:5)
    at module.exports (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibinding.js:15:30)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modules ode-sasslibindex.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object. (C:Usersxyy’sDesktop enren-fast-vue ode_modulessass-loaderlibloader.js:3:14)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    npm install安装失败 导致renren-fast-vue项目无法启动相关问题
    (网上很多办法
    1比如让安装windows-build-tools失败
    2让用npm install失败
    3最后install成功之后 依然项目无法启动 报错依然未改变)
    解决办法:
    1.npm config set registry https://registry.npm.taobao.org
    切换淘宝镜像 然后npm install成功的话无需看步骤2
    (install时我有两步卡着了
    下载chromedriver_win32.zip卡住了 用:npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver
    第二步方法一样 卡在那搜哪直到install安装成功)
    2install失败,先切换node版本,然后重新操作步骤1
    3安装成功项目依然报上边的错 直接npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/然后重新启动项目即可

    第一次发文章 能帮大家解决问题最好

  • 相关阅读:
    稠密光流
    分水岭分割
    Haar小波分析
    内积空间
    矩阵LU分解
    opencv笔记---contours
    Deformable Templates For Eye Detection
    最小二乘法
    字符集及编码
    层次聚类
  • 原文地址:https://www.cnblogs.com/zbliao/p/14142045.html
Copyright © 2020-2023  润新知