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

启动node服务有问题看这里 #11

Open
mynameisjohnahahah opened this issue Jun 11, 2019 · 7 comments
Open

启动node服务有问题看这里 #11

mynameisjohnahahah opened this issue Jun 11, 2019 · 7 comments

Comments

@mynameisjohnahahah
Copy link

  1. 首先把文件里的node_modules删除重新下载一次(可能不需要,不过我还是这么做了)

  2. 找到文件所有的mysql.createPool,把参数改成你自己数据库的参数

  3. npm start 或者 set DEBUG=myapp:* npm start

@mynameisjohnahahah
Copy link
Author

导入表的问题看这个 才能启动服务

@wwenj
Copy link
Owner

wwenj commented Jun 12, 2019

很棒棒哦😁

@673523000
Copy link

673523000 commented Jun 12, 2019 via email

@webwhy
Copy link

webwhy commented Jun 13, 2019

老哥厉害,我自己弄了两天,终于搞懂了一丢丢

@SSSDNSY
Copy link

SSSDNSY commented Jun 20, 2019

首先把文件里的node_modules删除重新下载一次(可能不需要,不过我还是这么做了)

就是删掉 然后重新 npm install
然后再 npm start 就可以了

@Sashimi1125
Copy link

跨域问题怎么破

@pangpangchen
Copy link

set DEBUG=myapp:* npm start进行这个命令之后,
Set-Variable : 找不到接受实际参数“start”的位置
所在位置 行:1 字符: 1
就会有这个错误,而且网上也找不到类似的错误

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

7 participants