导航

    Taro 社区

    Taro

    • 注册
    • 登录
    • 搜索
    • 版块
    • 最新
    • 话题
    • 热门
    • 群组
    1. 主页
    2. a1371605683
    A
    • 资料
    • 关注
    • 粉丝
    • 主题
    • 帖子
    • 最佳
    • 群组

    a1371605683

    @a1371605683

    0
    声望
    3
    帖子
    3040
    资料浏览
    0
    粉丝
    0
    关注
    注册时间 最后登录

    a1371605683 关注

    a1371605683 发布的帖子

    • taro ui安装报错

      node version 10.16.3
      taro-cli安装,没用ts,没css预处理器,默认模版。在初始化的工程下,安装taro-cli,报下面的错,是版本问题吗:

      npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'D:\code\jingdong-web\node_modules.staging\fsevents-3beb7add\node_modules\abbrev' -> 'D:\code\jingdong-web\node_modules.staging\abbrev-645f1737'

      npm ERR! code ENOENT
      npm ERR! syscall rename
      npm ERR! path D:\code\jingdong-web\node_modules\object.assign\node_modules\object-keys
      npm ERR! dest D:\code\jingdong-web\node_modules\define-properties\node_modules\object-keys
      npm ERR! errno -4058
      npm ERR! enoent ENOENT: no such file or directory, rename 'D:\code\jingdong-web\node_modules\object.assign\node_modules\object-keys' -> 'D:\code\jingdong-web\node_modules\define-properties\node_modules\object-keys'
      npm ERR! enoent This is related to npm not being able to find a file.
      npm ERR! enoent

      npm ERR! A complete log of this run can be found in:
      npm ERR! C:\Users\sigezhao\AppData\Roaming\npm-cache_logs\2019-10-13T12_22_56_860Z-debug.log

      package.json文件内容:

      {
        "name": "jingdong-web",
        "version": "1.0.0",
        "private": true,
        "description": "jingdong web",
        "templateInfo": {
          "name": "default",
          "typescript": false,
          "css": "none"
        },
        "scripts": {
          "build:weapp": "taro build --type weapp",
          "build:swan": "taro build --type swan",
          "build:alipay": "taro build --type alipay",
          "build:tt": "taro build --type tt",
          "build:h5": "taro build --type h5",
          "build:rn": "taro build --type rn",
          "build:qq": "taro build --type qq",
          "build:quickapp": "taro build --type quickapp",
          "dev:weapp": "npm run build:weapp -- --watch",
          "dev:swan": "npm run build:swan -- --watch",
          "dev:alipay": "npm run build:alipay -- --watch",
          "dev:tt": "npm run build:tt -- --watch",
          "dev:h5": "npm run build:h5 -- --watch",
          "dev:rn": "npm run build:rn -- --watch",
          "dev:qq": "npm run build:qq -- --watch",
          "dev:quickapp": "npm run build:quickapp -- --watch"
        },
        "author": "",
        "license": "MIT",
        "dependencies": {
          "@tarojs/components": "1.3.19",
          "@tarojs/router": "1.3.19",
          "@tarojs/taro": "1.3.19",
          "@tarojs/taro-alipay": "1.3.19",
          "@tarojs/taro-h5": "1.3.19",
          "@tarojs/taro-qq": "1.3.19",
          "@tarojs/taro-quickapp": "1.3.19",
          "@tarojs/taro-swan": "1.3.19",
          "@tarojs/taro-tt": "1.3.19",
          "@tarojs/taro-weapp": "1.3.19",
          "nervjs": "^1.4.0",
          "nerv-devtools": "^1.4.0"
        },
        "devDependencies": {
          "@types/react": "^16.4.6",
          "@types/webpack-env": "^1.13.6",
          "@tarojs/plugin-babel": "1.3.19",
          "@tarojs/plugin-csso": "1.3.19",
          "@tarojs/plugin-uglifyjs": "1.3.19",
          "@tarojs/webpack-runner": "1.3.19",
          "babel-plugin-transform-class-properties": "^6.24.1",
          "babel-plugin-transform-decorators-legacy": "^1.3.4",
          "babel-plugin-transform-jsx-stylesheet": "^0.6.5",
          "babel-plugin-transform-object-rest-spread": "^6.26.0",
          "babel-preset-env": "^1.6.1",
          "babel-eslint": "^8.2.3",
          "eslint": "^5.16.0",
          "eslint-config-taro": "1.3.19",
          "eslint-plugin-react": "^7.8.2",
          "eslint-plugin-react-hooks": "^1.6.1",
          "eslint-plugin-import": "^2.12.0",
          "stylelint": "9.3.0",
          "stylelint-config-taro-rn": "1.3.19",
          "stylelint-taro-rn": "1.3.19",
          "eslint-plugin-taro": "1.3.19"
        }
      }
      
      发布在 Taro UI
      A
      a1371605683
    • ERR! missing script: tsc

      刚刚入坑前端,很多东西还没贯通,如果问题太小白,请见谅。今天执行下面命令:
      npx @tarojs/cli init jingdong
      npx taro build --type weapp --watch

      安装编译后,在微信小程序开发工具点编译,报题目错误。
      查看package.json文件,"typescript": "^3.0.1" 这个是存在的。
      taro版本:Taro v1.3.19
      小程序保错如下:
      84c37b43-5944-4707-b63d-539c47a3ad29-image.png

      发布在 Taro 实践 + 案例
      A
      a1371605683
    • taro可以开发公众号的页面吗?

      对公众号的网页开发不了解,咨询一下懂的大牛

      发布在 吐槽灌水
      A
      a1371605683