-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows环境下yarn build报错 #63
Comments
临时使用WIN10的LINUX子系统build |
安装了子系统在命令行bash转linux子系统后,build还是不行 |
win下install的node_modules不试用linux环境 |
万分感谢! |
问题定位: 临时方案: 下个patch 版本修复此问题 |
* docs: add issue and pr templates * fix(webpack): url parse error under proxy #34 * chore(release): publish v1.0.0-beta.2 * fix(beidou-webpack): remove hash name while not using module in css loader, add client alias * feat(babel-preset-beidou-client): support custom babel browserslist * fix(cli): init boilerpalte usage info config; doc: update router, view react, babel-client * fix(cli): ut(dev and debug) process not killed * fix(webpack): dump config error fix: ci broken * chore(release): publish v1.0.0-beta.3 * fix(webpack): ignore error while not found root file entry * docs: add 1.0.0 changelog * docs: README * chore(release): publish v1.0.0 * chore(eslint): upgrade eslint version * test: `getInitialProps view middleware` * fix: initialprops * add example with-react-loadable (#51) Example request: #46 * chore(release): publish v1.0.3 * examples: add hot reload patch, fix #45 (#56) * feat: framework config when running beidou build (#57) * feat: framework config when running beidou build * chore(release): publish v1.0.4 * fix: wrong bin file excuted in windows #63 (#65) * fix: wrong bin file excuted in windows #63 * fix(cli): build file path * chore(release): publish v1.0.5 * examples: typescript * chore: script bootstrap * exmaples: fix config of ts e.g. * docs: update * fix: build error when env is not `local` (#70) * chore(release): publish v1.0.6 * chore: travis env alt 9 -> 10 * fix(webpack): reload `loader.dirs` * chore(release): publish v1.0.7 * test: skip cli init test case for timeout * chore: update yarn lock files * test: skip cli test cases temporarily * chore: deps for unittest * fixed typo error (#73) * fix(webpack): isomorphic webpack set __webpack_public_path__ default value, fix #76 (#78) * chore(release): publish v1.0.8 * examples: add example react-redux-router-typescript (#89) * add example react-redux-router-typescript * chore: npm scripts & license * fix: public path & router * 缩进调整 * 调整配置 * Fix error code examples * fix: rax ut failed as enabled `beautify` option * chore: docs & lock files * chore: travis config * chore: skip rax test for weird `super` problem in travis CI * fix:缓存逻辑在win下面的bug修复 (#101) fix #71 * chore(release): publish v1.0.9 * chore: fix test * chore: upgrade lerna * feat: upgrade to babal 7 webpack 4 this is a BREAKING CHANGE * fix: unittest * fix: babel config combination * feat: enable babelrc files by default * chore: put common deps into root for dev usage * example: ugrade with-typescript example * fix(webpack): build option --dev * chore(webpack): unittest * chore(react): unittest * chore: code format * chore: code prettier * feat: set node-sass as optional dependency * feat: completely babel runtime for node (#123) fix: #122 * feat: support render to stream (#126) * feat: support render to stream #124 * examples: stream render * docs(view-react): add stream render doc * chore: fix codecov * feat: upgrade rax view plugin * fix: loader & rule test * unittest: fix fixture * feat: add new package `beidou` reference to `beidou-core` * chore(release): publish v2.0.0-alpha.0 * fix: A bug exsit in uglifyjs-webpack-plugin after v2.0.1 for webpack4,use terser-webpack-plugin instead * feat(webpack): entry loader depth support fix #48 * fix: remove static config in prod This config file forced users must provide config.{prod}.js to overwrite default config in framework. * unittest: webpack entry depth test * feat(cli): boilerplate tag config * example:fix pkg.json * chore(release): publish v2.0.0-alpha.1 * feat(cli): add `--skipInstall` option * chore: fix ci * chore: fix build cmd test * test: ci * test: dump ci test log * fix(router): path resolve * feat: zero config ts support * example: use less in default * chore: remove comments & unittest * fix(cli): fetch tarball with tag * chore: unittest * chore: fix CI empty cwd * feat: auto detect view extension * unittest: improve test coverage * example: update * example: update * chore(release): publish v2.0.0-beta.0 * chore: upgrade lerna * chore: version bump * feat: (unrelease) add beidou plugin for egg framework * feat: (unrelease)add the README * Revert "chore: version bump" This reverts commit 33e0fe2. * feat: export setGlobal function in beidou-isomorphic * Revert "Revert "chore: version bump"" This reverts commit 5704709. Revert "feat: (unrelease)add the README" This reverts commit d415b8c. Revert "feat: (unrelease) add beidou plugin for egg framework" This reverts commit cc54167. * fix(core): d.ts * fix(router): config * fix(cli): framework name reference * fix(webpack): default resolve exts * fix(webpack): optimize config of SplitChunksPlugin * fix(webpack): optimize config of SplitChunksPlugin * fix(webpack): cache groups enforce option * fix(router): config for exts * docs: README
Current behavior
yarn run v1.6.0
$ beidou build
[beidou-cli] v1.0.4
C:\Users\Administrator\web_project\node_modules.bin\beidou-build:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
⚠️ Error: C:\Users\Administrator\web_project\node_modules.bin\beidou-build --framework=beidou-core exit with code 1
⚠️ Command Error, enable
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:599:28)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
DEBUG=common-bin
for detailerror Command failed with exit code 1.
Expected behavior
The text was updated successfully, but these errors were encountered: