SyntaxError: Unexpected identifier

编程入门 行业动态 更新时间:2024-10-03 23:32:08

<a href=https://www.elefans.com/category/jswz/34/1771200.html style=SyntaxError: Unexpected identifier"/>

SyntaxError: Unexpected identifier

我正在尝试在 documentation

之后使用此命令在 Windows 中安装 shopify CLI
npm i -g @shopify/cli@pre @shopify/theme@pre

但是当我检查 CLI 版本时

shopify version

我收到此错误消息

C:\Program Files (x86)\Nodist\bin\node_modules\@shopify\cli\bin\run.js:5
import runCLI from '../dist/index.js'
       ^^^^^^

    SyntaxError: Unexpected identifier
        at Module._compile (internal/modules/cjs/loader.js:749:23)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:816:10)
        at Module.load (internal/modules/cjs/loader.js:672:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:612:12)
        at Function.Module._load (internal/modules/cjs/loader.js:604:3)
        at Function.Module.runMain (internal/modules/cjs/loader.js:868:12)
        at internal/main/run_main_module.js:21:11

我该如何解决这个问题?

回答如下:

更多推荐

SyntaxError: Unexpected identifier

本文发布于:2024-05-30 20:45:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1770905.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:SyntaxError   Unexpected   identifier

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!