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

CLI 运行时报错 #1

Open
1 task done
Meqn opened this issue Mar 21, 2024 · 1 comment
Open
1 task done

CLI 运行时报错 #1

Meqn opened this issue Mar 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Meqn
Copy link
Owner

Meqn commented Mar 21, 2024

Existing Issue

  • I have searched the existing issues

Configuration

const { defineConfig } = require('pipflow')
module.exports = defineConfig({
  base: './src',
  publicDir: 'public',
  build: {
    fileHash: process.env.NODE_ENV === 'production',
    sourcemap: process.env.NODE_ENV === 'production',
    minify: process.env.NODE_ENV === 'production',
    imageMinify: false
  },
  tasks: [
    {
      type: 'html',
      input: './src/**/*.{html,htm,art}',
      watch: true,
      compiler: 'artTemplate',
      compilerOptions: {
        data: {
          title: 'pipflow',
          description: 'A web developer workflow based on Gulp.'
        }
      }
    },
    {
      type: 'script',
      input: './src/scripts/**/*.{js,mjs}',
      watch: true,
      compiler: 'babel'
    },
    {
      type: 'style',
      input: './src/styles/**/*.{css,sass,scss}',
      watch: true,
      compiler: 'sass'
    },
    {
      type: 'static',
      input: './src/assets/**',
      watch: true
    }
  ]
})

Environment

Environment Info:

  System:
    OS: Windows 10 10.0.19045
    CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
    Memory: 7.28 GB / 15.94 GB
  Binaries:
    Node: 20.11.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - C:\Program Files\nodejs\yarn.CMD
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.15.4 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Chromium (122.0.2365.92)
  npmPackages:
    @pipflow/cli: Not Found
    @pipflow/core: Not Found
    @pipflow/utils: Not Found
    gulp: ^4.0.2 => 4.0.2
    pipflow: latest => 1.0.4
  npmGlobalPackages:
    @pipflow/cli: Not Found

Current Behavior

运行 pipflow dev

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

windows

  1. git bash 模式下 gulpfile.js 文件找不到
  2. pnpm安装,需要安装gulp
  3. 单独运行 pipflow server ,Ctrl+C 关闭后终端无法输入
  4. 运行CLI,速度慢
  5. ......
@Meqn Meqn added the bug Something isn't working label Mar 21, 2024
@Meqn
Copy link
Owner Author

Meqn commented Mar 21, 2024

webpack-stream Error :
ERROR in scripts\index
Module not found: Error: Can't resolve 'string-replace-loader'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant