You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
我使用vs code 只能使用 npm start 来启动项目。
平常使用vs code 可以调试 Express 的项目。
但是你的项目好像用了es6 的语法。启动调试的时候报
\app.js:1
(function (exports, require, module, __filename, __dirname) { import express from 'express'
^^^^^^^
SyntaxError: Unexpected identifier
查了原因好像是不支持 es6 的import 语法。
请问有没有解决办法?
The text was updated successfully, but these errors were encountered: