报错信息:运行`npm run dev`时遇到了错误
<p><br /></p>
<pre class="brush:php;toolbar:false;">C:UserssamyJobssahl_project>npm run dev</pre>
<blockquote>
<p>sahl_project@1.0.0 dev
vite</p>
</blockquote>
<pre class="brush:php;toolbar:false;">X [ERROR] 期望在JSON中找到字符串,但是找到了"<<"。
../package.json:2:0:
2 │ <<<<<<< HEAD
╵ ~~
无法从C:UserssamyJobssahl_projectvite.config.js加载配置文件
启动开发服务器时出错:
错误:构建失败,有1个错误:
../package.json:2:0: ERROR: 期望在JSON中找到字符串,但是找到了"<<"
at failureErrorWithLog (C:UserssamyJobssahl_projectnode_modulesesbuildlibmain.js:1649:15)
at C:UserssamyJobssahl_projectnode_modulesesbuildlibmain.js:1058:25
at runOnEndCallbacks (C:UserssamyJobssahl_projectnode_modulesesbuildlibmain.js:1484:45)
at buildResponseToResult (C:UserssamyJobssahl_projectnode_modulesesbuildlibmain.js:1056:7)
at C:UserssamyJobssahl_projectnode_modulesesbuildlibmain.js:1085:16
at responseCallbacks.<computed> (C:UserssamyJobssahl_projectnode_modulesesbuildlibmain.js:703:9)
at handleIncomingPacket (C:UserssamyJobssahl_projectnode_modulesesbuildlibmain.js:762:9)
at Socket.readFromStdout (C:UserssamyJobssahl_projectnode_modulesesbuildlibmain.js:679:7)
at Socket.emit (node:events:513:28)
at addChunk (node</pre>
<p>:internal/streams/readable:324:12)</p>
<p>我尝试删除<code>package-lock.json</code>和<code>node_modules</code>文件夹,并执行<code>npm install</code>,但是没有起作用。</p>