Comments (6)
服务端js文件是用过ts编译出来的 你这里看到的和我这里的不一样 是不是自己改过了 还是你的ts版本太低?
from node-vue-server-webpack.
tsc 错误信息如下:
server/lib/apiService.ts(7,1): error TS1128: Declaration or statement expected.
server/lib/apiService.ts(7,14): error TS1005: ';' expected.
server/lib/apiService.ts(24,1): error TS1128: Declaration or statement expected.
server/lib/apiService.ts(24,14): error TS1005: ';' expected.
server/routes/cookbook.ts(9,1): error TS1128: Declaration or statement expected.
server/routes/cookbook.ts(9,14): error TS1005: ';' expected.
server/routes/cookbook.ts(17,29): error TS1005: ',' expected.
server/routes/cookbook.ts(17,45): error TS1005: '=' expected.
server/routes/cookbook.ts(17,46): error TS1109: Expression expected.
server/routes/cookbook.ts(18,26): error TS1005: ',' expected.
server/routes/cookbook.ts(18,41): error TS1005: '=' expected.
server/typings/request/request.d.ts(23,31): error TS1005: '=' expected.
server/typings/request/request.d.ts(27,33): error TS1005: '=' expected.
server/typings/request/request.d.ts(31,34): error TS1005: '=' expected.
server/typings/request/request.d.ts(35,33): error TS1005: '=' expected.
server/typings/request/request.d.ts(39,34): error TS1005: '=' expected.
server/typings/request/request.d.ts(43,35): error TS1005: '=' expected.
server/typings/request/request.d.ts(47,33): error TS1005: '=' expected.
server/typings/request/request.d.ts(104,41): error TS1005: ';' expected.
from node-vue-server-webpack.
同样启动错误,tsc版本:message TS6029: Version 1.5.3
tsd版本: tsd 0.6.5,是不是这两个版本过低?
from node-vue-server-webpack.
我的ts版本是1.8.7
tsc版本是1.7.5
tsd版本是0.6.5
from node-vue-server-webpack.
我安装也遇到相同的问题!
from node-vue-server-webpack.
@confidence68 Vue2.0 原生支持服务端渲染了 去看2.0的文档吧 这个项目不维护了。。。
from node-vue-server-webpack.
Related Issues (4)
- tsc编译报错 HOT 3
- ./env ? where go? HOT 1
- 访问提供的地址列表,返回的时候并没有记住history位置
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-vue-server-webpack.