zhoushaw / instagram Goto Github PK
View Code? Open in Web Editor NEWA web-app with some feature like Instagram!!😉📸😊
Home Page: https://instagram-olive.vercel.app
A web-app with some feature like Instagram!!😉📸😊
Home Page: https://instagram-olive.vercel.app
utf8mb4_0900_ai_ci 替换为:utf8_general_ci 如果你是mysql5
import React from 'react';
import PropTypes from "prop-types";
class MyComponent extend React.component {
constructor(props, context){
super(props, context)
}
static contextTypes = {
router: PropTypes.object
}
}
在/service文件下
npm install
npm run dev
zhoushaw:你好!你的项目很棒,我很喜欢它。
我在运行你的项目时候,遇到一些麻烦。
我已经顺利完成前面所有安装,包括成功执行npm install
安装完后端的依赖包
现在卡在 执行npm run dev
启动后端,下面是报错截图和报错日志。您可以给我一些建议嘛?
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle [email protected]~predev: [email protected]
6 info lifecycle [email protected]~dev: [email protected]
7 verbose lifecycle [email protected]~dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~dev: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/www/Instagram/service/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
9 verbose lifecycle [email protected]~dev: CWD: /www/Instagram/service
10 silly lifecycle [email protected]~dev: Args: [ '-c', 'egg-bin dev -r egg-ts-helper/register' ]
11 silly lifecycle [email protected]~dev: Returned: code: 1 signal: null
12 info lifecycle [email protected]~dev: Failed to exec dev script
13 verbose stack Error: [email protected] dev: `egg-bin dev -r egg-ts-helper/register`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd /www/Instagram/service
16 verbose Linux 3.10.0-1127.18.2.el7.x86_64
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
18 verbose node v10.22.0
19 verbose npm v6.14.6
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dev: `egg-bin dev -r egg-ts-helper/register`
22 error Exit status 1
23 error Failed at the [email protected] dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
提前感谢!
请问如果要上线的话还能用七牛云吗
能不能兼容到最新版,node npm
Hi can you please add english support?
Also is it possible to like specific posting with your web app?
react项目中不同环境是怎么配置的,通过增加.env文件怎么获取不到env中的变量名称?除了通过hostname方式来区分环境,还有没有其他的方式来配置环境
🤔🚬😏👍❤️🤔👍🥰👍👍👍😡🚬
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.