Skip to content
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

TypeError: value.split is not a function #142

Open
Kilims opened this issue Feb 10, 2021 · 0 comments
Open

TypeError: value.split is not a function #142

Kilims opened this issue Feb 10, 2021 · 0 comments

Comments

@Kilims
Copy link

Kilims commented Feb 10, 2021

I am going to setup my own scaffold,and here is the project repo

https://github.com/Kilims/typescript_antd_antdMobile

while running with yarn run start, it could work perfectly

but when i go with yarn run build, it shows errors below

TypeError: value.split is not a function
    at OriginalSource.node (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/webpack-sources/lib/OriginalSource.js:34:21)
    at /Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/webpack-sources/lib/ConcatSource.js:59:50
    at Array.map (<anonymous>)
    at ConcatSource.node (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/webpack-sources/lib/ConcatSource.js:58:63)
    at ConcatSource.proto.sourceAndMap (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/webpack-sources/lib/SourceAndMapMixin.js:29:18)
    at CachedSource.sourceAndMap (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/webpack-sources/lib/CachedSource.js:58:31)
    at OptimizeCssAssetsWebpackPlugin.processCss (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/optimize-css-assets-webpack-plugin/src/index.js:44:44)
    at Object.processor (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/optimize-css-assets-webpack-plugin/src/index.js:13:18)
    at /Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/last-call-webpack-plugin/src/index.js:150:10
    at arrayEach (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/lodash/_arrayEach.js:15:9)
    at forEach (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/lodash/forEach.js:38:10)
    at OptimizeCssAssetsWebpackPlugin.process (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/last-call-webpack-plugin/src/index.js:147:5)
    at /Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/last-call-webpack-plugin/src/index.js:178:28
    at _next0 (eval at create (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:7:17)
    at eval (eval at create (/Users/yejinlei/Documents/playground/personal/typescript/my-app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:25:1)

could kindly help with that ? tons of thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant