Skip to content
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 build:win32 报错 #48

Open
82318179 opened this issue Feb 3, 2020 · 7 comments
Open

yarn run build:win32 报错 #48

82318179 opened this issue Feb 3, 2020 · 7 comments

Comments

@82318179
Copy link

82318179 commented Feb 3, 2020

yarn 没有问题
yarn run build:dll 没有问题
$ yarn run dev 没有问题
yarn run build:win32 报错
`
ERROR in E:/lulumi/lulumi-browser-master/src/main/api/lulumi-extension.ts
ERROR in E:/lulumi/lulumi-browser-master/src/main/api/lulumi-extension.ts(11,20):
TS2306: File 'E:/lulumi/lulumi-browser-master/src/main/constants.ts' is not a module.

ERROR in E:/lulumi/lulumi-browser-master/src/main/constants.ts
ERROR in E:/lulumi/lulumi-browser-master/src/main/constants.ts(1,1):
TS1085: Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '0o0'.

ERROR in E:/lulumi/lulumi-browser-master/src/main/index.ts
ERROR in E:/lulumi/lulumi-browser-master/src/main/index.ts(23,23):
TS2306: File 'E:/lulumi/lulumi-browser-master/src/main/constants.ts' is not a module.

ERROR in E:/lulumi/lulumi-browser-master/src/main/constants.ts
ERROR in E:/lulumi/lulumi-browser-master/src/main/constants.ts(1,41):
eofline: file should end with a newline

ERROR in E:/lulumi/lulumi-browser-master/src/main/constants.ts
ERROR in E:/lulumi/lulumi-browser-master/src/main/constants.ts(1,41):
semicolon: Missing semicolon

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

E:\lulumi\lulumi-browser-master>`

@qazbnm456
Copy link
Member

Thanks for trying out! I'll look into it as soon as possible. 😄

@liuhao16
Copy link

我的也报错了 不过这个真的是一个伟大的项目

@qazbnm456
Copy link
Member

@jiumengs Thanks for liking this project! I'm currently revamping the building process and moving the codebase to support Electron v9. You may revisit this project later to make your build succeed.

謝謝支持!我現在正在針對程式碼的構建及底層支援部分進行重寫以遷移至 Electron 版本 9。或許過些時日您們就可以再次重新進行構建,那時應該就不會再有問題了! 一旦有新的進展我會再更新至這個 issue 中,謝謝。

@liuhao16
Copy link

很期待

@liuhao16
Copy link

@qazbnm456
Is the new version electron version 9 considering using javascript instead of Typescript

新版本electron版本9是否考虑使用javascript而不再使用typescript

@qazbnm456
Copy link
Member

@jiumengs No. It will still stick to TypeScript cause it provides better readability and security. There are no drawbacks to using TypeScript so far.

沒有打算換掉 TypeScript 喔!目前使用 TS 沒有任何壞處。

@liuhao16
Copy link

@qazbnm456 Well, I'm going to typescript It's a sad story
那好吧 我要去看typescript了 真是一个悲伤的故事

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants