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
这个API 是不是有问题,const apiHost = 'http://127.0.0.1:5000/api' ,反正是报错的,是我打开的方式不对,还是要添加什么?
const apiHost = 'http://127.0.0.1:5000/api'
The text was updated successfully, but these errors were encountered:
尝试一下 npm run compile_serve && npm start
npm run compile_serve && npm start
@Brooooooklyn 好像有点问题;
npm run compile_serve报错,只能使用npm run dev了;
npm run compile_serve
npm run dev
npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "compile_serve" npm ERR! node v7.5.0 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE
tsc ./server/index.ts ./server/global.d.ts -m commonjs --outDir lib --target ES2015 --experimentalDecorators --moduleResolution node --noImplicitAny --noImplicitThis --noImplicitReturns --noUnusedParameters --suppressImplicitAnyIndexErrors
单独运行 tsc ./server/index.ts ./server/global.d.ts -m commonjs --outDir lib --target ES2015 --experimentalDecorators --moduleResolution node --noImplicitAny --noImplicitThis --noImplicitReturns --noUnusedParameters --suppressImplicitAnyIndexErrors 会报错吗
这个API 是不是有问题,
const apiHost = 'http://127.0.0.1:5000/api'
,反正是报错的,是我打开的方式不对,还是要添加什么?The text was updated successfully, but these errors were encountered: