Code Monkey home page Code Monkey logo

Comments (6)

feichao93 avatar feichao93 commented on May 3, 2024

看起来像是缺少 core-js 这个库 我看看我本地清空 node_modules 能不能复现这个情况
似乎和 zloirock/core-js#500 这个有关系

from ali-react-table.

zhuzhuaicoding avatar zhuzhuaicoding commented on May 3, 2024

看起来像是缺少 core-js 这个库 我看看我本地清空 node_modules 能不能复现这个情况
似乎和 zloirock/core-js#500 这个有关系

我重新拉你的代码,重新npm install后还是不行:(

from ali-react-table.

feichao93 avatar feichao93 commented on May 3, 2024

@earlymeme yarn add --dev core-js@3 试一下呢? 手动安装 core-js 之后然后跑一下storybook 试一下

from ali-react-table.

zhuzhuaicoding avatar zhuzhuaicoding commented on May 3, 2024

@shinima 又报这个了。。。

ERROR in ./src/biz/CustomColumnsDialog.tsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: E:\code\ali-react-table\src\biz\CustomColumnsDialog.tsx: Unexpected token (231:108)

  229 |     if (typeof STORYBOOK_REACT_CLASSES !== "undefined")
  230 |         // @ts-ignore
> 231 |         STORYBOOK_REACT_CLASSES["src/biz/CustomColumnsDialog.tsx#default.makeStyledDrawer"] = { docgenInfo: , default: .makeStyledDrawer.__docgenInfo, name: "default.makeStyledDrawer", path: "src/biz/CustomColumnsDialog.tsx#default.makeStyledDrawer" };
      |                                                                                                             ^
  232 | }
  233 | catch (__react_docgen_typescript_loader_error) { }
  234 | try {
    at Object._raise (E:\code\ali-react-table\node_modules\@babel\parser\src\parser\error.js:60:45)
    at Object.raiseWithData (E:\code\ali-react-table\node_modules\@babel\parser\src\parser\error.js:55:17)
    at Object.raise (E:\code\ali-react-table\node_modules\@babel\parser\src\parser\error.js:39:17)
    at Object.unexpected (E:\code\ali-react-table\node_modules\@babel\parser\src\parser\util.js:152:16)

from ali-react-table.

feichao93 avatar feichao93 commented on May 3, 2024

@earlymeme 拉取一下最新代码,checkout enhance-doc 分支,这个分支我本地是 ok 的

from ali-react-table.

zhuzhuaicoding avatar zhuzhuaicoding commented on May 3, 2024

可以了

from ali-react-table.

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.