Coder Social home page Coder Social logo

Comments (5)

SturdyCat avatar SturdyCat commented on May 1, 2024 2

win下install的node_modules不试用linux环境
rm -rf node_modules
先删掉node_modules在linux环境重新install

from beidou.

animecc44 avatar animecc44 commented on May 1, 2024 1

万分感谢!

from beidou.

SturdyCat avatar SturdyCat commented on May 1, 2024

临时使用WIN10的LINUX子系统build

from beidou.

animecc44 avatar animecc44 commented on May 1, 2024

安装了子系统在命令行bash转linux子系统后,build还是不行

from beidou.

njugray avatar njugray commented on May 1, 2024

问题定位:
windows下 node_modules/.bin/目录下生成的 bin 文件为 beidou-webpack.cmdbeidou-webpack 分别对应 win cmd 和 linux shell 命令, 在 https://github.com/alibaba/beidou/blob/master/packages/beidou-cli/lib/commands/build.js#L50 中直接尝试运行了 linux shell 代码导致报错

临时方案:
修改 package.json 中 build script 为 beidou-build --framework=beidou-core 可以绕过此错误

下个patch 版本修复此问题

from beidou.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.