You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before you open this issue, please complete the following tasks:
use the search bar at the top of the page to search this repository for similar issues or discussions that have already been opened.
if you are looking for help from the gulp team or community, open a discussion.
if you think there is a problem with the plugin you're using, open a discussion.
if you think there is a bug in our code, open this issue.
What were you expecting to happen?
in gulp file. the import series, and parallel should works.
What actually happened?
error: error TS2305: Module '"gulp"' has no exported member
Please give us a sample of your gulpfile
importdelPathfrom'../utils/delpath'import{series,parallel,src,dest}from'gulp'import{pkgPath,componentPath}from'../utils/paths'importlessfrom'gulp-less'importautoprefixerfrom'gulp-autoprefixer'importrunfrom'../utils/run'//删除kuiexportconstremoveDist=()=>{returndelPath(`${pkgPath}/kui`)}//打包样式exportconstbuildStyle=()=>{returnsrc(`${componentPath}/src/**/style/**.less`).pipe(less()).pipe(autoprefixer()).pipe(dest(`${pkgPath}/kui/lib/src`)).pipe(dest(`${pkgPath}/kui/es/src`))}//打包组件exportconstbuildComponent=async()=>{run('pnpm run build',componentPath)}exportdefaultseries(async()=>removeDist(),parallel(async()=>buildStyle(),async()=>buildComponent()))
Terminal output / screenshots
$ gulp
Please provide the following information:
OS & version [e.g. MacOS Catalina 12.6]:
node version (run node -v): v16.16.0
npm version (run npm -v): 8.11.0
gulp version (run gulp -v): CLI version: 2.3.0 Local version: 4.0.2
Additional information
The text was updated successfully, but these errors were encountered:
I have uninstalled the old version of gulp and install gulp4 and new version of gulp-cli. But there is still error, can't find new gulp functions(parallel and series). Some can help this. Please infer blow snapshot.
Before you open this issue, please complete the following tasks:
What were you expecting to happen?
in gulp file. the import series, and parallel should works.
What actually happened?
error: error TS2305: Module '"gulp"' has no exported member
Please give us a sample of your gulpfile
Terminal output / screenshots
Please provide the following information:
node -v
): v16.16.0npm -v
): 8.11.0gulp -v
): CLI version: 2.3.0 Local version: 4.0.2Additional information
The text was updated successfully, but these errors were encountered: