账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    npm run dev:weapp
    33
    0

    npm run dev:weapp

    taro-msparis@1.0.0 dev:weapp H:taro-msparis-inittaro-msparis-init
    npm run build:weapp -- --watch
    taro-msparis@1.0.0 build:weapp H:taro-msparis-inittaro-msparis-init
    taro build --type weapp "--watch"

    'taro' ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒
    ▒▒▒▒▒▒▒▒▒ļ▒▒▒
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! taro-msparis@1.0.0 build:weapp: taro build --type weapp "--watch"
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the taro-msparis@1.0.0 build:weapp script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:UsersAdministratorAppDataRoamingnpm-cache_logs2019-05-21T04_04_24_722Z-debug.log
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! taro-msparis@1.0.0 dev:weapp: npm run build:weapp -- --watch
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the taro-msparis@1.0.0 dev:weapp script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:UsersAdministratorAppDataRoamingnpm-cache_logs2019-05-21T04_04_24_752Z-debug.log

    问题描述

    运行npm run dev:weapp 报错

    问题出现的环境背景及自己尝试过哪些方法

    尝试过重装npm install

    相关代码

    // 请把代码文本粘贴到下方(请勿用图片代替代码)

    你期待的结果是什么?实际看到的错误信息又是什么?

    0
    打赏
    收藏
    点击回答
    您的回答被采纳后将获得:提问者悬赏的 10 元积分
        全部回答
    • 0
    • 花龄残伤丶 普通会员 1楼

      This command is used to run the development server of the WeChat WeApp. It runs the following commands:

      1. npm run build: This command compiles the code into a production-ready bundle and generates a production-ready build.
      2. npm run start: This command starts the development server on http://localhost:8080.
      3. npm run dev: This command runs the development server without any flags or options, which means it starts the development server on the default port 8080.

      Note that the npm run dev command is only useful when you are using the WeChat WeApp CLI to run your development server. If you are using the command npm run dev:weapp, it will run the development server for WeChat WeApp and will not generate a production-ready build.

    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部