-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn run dev 报错 #59
Comments
关注这个项目一年了,每次都报错,没有一次能成功运行的,是我的电脑不行吗? |
請問你編譯的版本是最新的 commit 嗎?或許你可以試試看用 VSCode 打開專案並在裡面的 Terminal 編譯,並在告知我是否可以正常編譯。謝謝! |
請問你專案載下來的方式是?我推測你是直接下載 zip 檔,但要使用 |
果然是這個原因,下載項目的方式換成 git 拉取,發現沒有任何問題了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yarn install --ignore-engines 正常
yarn run build:dll 正常
yarn run dev 报错如下:
`ERROR in src/main/api/lulumi-extension.ts:15:20
TS2306: File 'C:/Users/tt/Desktop/lulumi-browser-master/src/main/constants.ts' is not a module.
13 | import * as mimeTypes from 'mime-types';
14 |
ERROR in src/main/constants.ts
TS1085: Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '0o0'.
ERROR in src/main/index.ts:27:23
TS2306: File 'C:/Users/tt/Desktop/lulumi-browser-master/src/main/constants.ts' is not a module.
25 | import localshortcut from 'electron-localshortcut';
26 | import autoUpdater from './lib/auto-updater';
ERROR in src/main/lib/view.ts:8:23
TS2306: File 'C:/Users/tt/Desktop/lulumi-browser-master/src/main/constants.ts' is not a module.
6 | import * as path from 'path';
7 | import urlUtil from '../../renderer/lib/url-util';
ERROR in src/main/constants.ts:1:1
no-unused-expressions: Expected an assignment or function call and instead saw an expression.
ERROR in src/main/constants.ts:1:1
no-octal: Octal literals should not be used.
ERROR in src/main/constants.ts:1:41
eol-last: Newline required at end of file but not found.
ERROR in src/main/constants.ts:1:41
semi: Missing semicolon.
The text was updated successfully, but these errors were encountered: