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

v1 版本安装不上 #545

Closed
Aprilor opened this Issue Jun 25, 2018 · 20 comments

Comments

Projects
None yet
4 participants
@Aprilor

Aprilor commented Jun 25, 2018

当我和数据库对接后 点击下一步 浏览器就显示“OK”这两个字母 也没有什么反应 页面也不跳转
大佬 请问这是什么问题

@Aprilor Aprilor closed this Jun 25, 2018

@Aprilor Aprilor reopened this Jun 25, 2018

@Aprilor

This comment has been minimized.

Show comment
Hide comment
@Aprilor

Aprilor commented Jun 25, 2018

image

@Aprilor

This comment has been minimized.

Show comment
Hide comment
@Aprilor

Aprilor Jun 25, 2018

image
这是我在Mac安装的

Aprilor commented Jun 25, 2018

image
这是我在Mac安装的

@lizheming

This comment has been minimized.

Show comment
Hide comment
@lizheming

lizheming Jun 25, 2018

Collaborator

F12 看一下静态资源的加载是否有问题?看起来你之前的安装有问题有一些参数没有录入。

Collaborator

lizheming commented Jun 25, 2018

F12 看一下静态资源的加载是否有问题?看起来你之前的安装有问题有一些参数没有录入。

@haima2

This comment has been minimized.

Show comment
Hide comment
@haima2

haima2 Jun 26, 2018

现在安装依赖的时候sqlite3装不上,源码下载地址403了,他们也没更新,GG咯。

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.5.0 (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.5.0 (node-v64 ABI) (falling back to source compile with node-gyp)

haima2 commented Jun 26, 2018

现在安装依赖的时候sqlite3装不上,源码下载地址403了,他们也没更新,GG咯。

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.5.0 (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.5.0 (node-v64 ABI) (falling back to source compile with node-gyp)

@lizheming

This comment has been minimized.

Show comment
Hide comment
@lizheming

lizheming Jun 26, 2018

Collaborator

@haima2 我的问题...我之后发个版本把这个依赖删掉。目前你可以手动去 package.json 里面把 think-model-sqlite 这个依赖删除来解决。

Collaborator

lizheming commented Jun 26, 2018

@haima2 我的问题...我之后发个版本把这个依赖删掉。目前你可以手动去 package.json 里面把 think-model-sqlite 这个依赖删除来解决。

@haima2

This comment has been minimized.

Show comment
Hide comment
@haima2

haima2 Jun 26, 2018

好的,谢谢

haima2 commented Jun 26, 2018

好的,谢谢

@Aprilor

This comment has been minimized.

Show comment
Hide comment
@Aprilor

Aprilor Jun 28, 2018

2018-06-28 10 26 27
是安装的时候出了问题,但是安装v0版本的 npm install 都是可以的,到v1就有错误,这是什么原因

Aprilor commented Jun 28, 2018

2018-06-28 10 26 27
是安装的时候出了问题,但是安装v0版本的 npm install 都是可以的,到v1就有错误,这是什么原因

@haima2

This comment has been minimized.

Show comment
Hide comment
@haima2

haima2 Jun 28, 2018

跑的好好的为啥Nginx返回502呢,端口也监听了啊,依赖也去掉了啊,

# lsof -i tcp:8360
COMMAND   PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
node    20008 root   13u  IPv4 5529205      0t0  TCP *:8360 (LISTEN)
# pm2 logs firekylin --lines 100
[TAILING] Tailing last 100 lines for [firekylin] process (change the value with --lines option)
/root/.pm2/logs/firekylin-out-0.log last 100 lines:
/root/.pm2/logs/firekylin-error-0.log last 100 lines:
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)

@lizheming 这咋整 而且还是有SQLite3

haima2 commented Jun 28, 2018

跑的好好的为啥Nginx返回502呢,端口也监听了啊,依赖也去掉了啊,

# lsof -i tcp:8360
COMMAND   PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
node    20008 root   13u  IPv4 5529205      0t0  TCP *:8360 (LISTEN)
# pm2 logs firekylin --lines 100
[TAILING] Tailing last 100 lines for [firekylin] process (change the value with --lines option)
/root/.pm2/logs/firekylin-out-0.log last 100 lines:
/root/.pm2/logs/firekylin-error-0.log last 100 lines:
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
0|firekyli | Error: Cannot find module '/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node'
0|firekyli |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:520:25)
0|firekyli |     at Module.require (internal/modules/cjs/loader.js:650:17)
0|firekyli |     at require (internal/modules/cjs/helpers.js:20:18)
0|firekyli |     at Object.<anonymous> (/www/wwwroot/www.haimablog.ooo/firekylin/node_modules/sqlite3/lib/sqlite3.js:4:15)
0|firekyli |     at Module._compile (internal/modules/cjs/loader.js:702:30)
0|firekyli |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
0|firekyli |     at Module.load (internal/modules/cjs/loader.js:612:32)
0|firekyli |     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
0|firekyli |     at Function.Module._load (internal/modules/cjs/loader.js:543:3)

@lizheming 这咋整 而且还是有SQLite3

@haima2

This comment has been minimized.

Show comment
Hide comment
@haima2

haima2 Jun 28, 2018

现在好了,但是css和js都返回404,实际文件是存在的,而且直接访问也没问题,,,,但是在页面里调用的就返回404

haima2 commented Jun 28, 2018

现在好了,但是css和js都返回404,实际文件是存在的,而且直接访问也没问题,,,,但是在页面里调用的就返回404

@wei

This comment has been minimized.

Show comment
Hide comment
@wei

wei Jun 28, 2018

Collaborator

直接访问没问题 nginx访问有问题就是nginx配置问题 请贴conf

Collaborator

wei commented Jun 28, 2018

直接访问没问题 nginx访问有问题就是nginx配置问题 请贴conf

@haima2

This comment has been minimized.

Show comment
Hide comment
@haima2

haima2 Jun 28, 2018

nginx的conf如下

server
{
    listen 80;
	listen 443 ssl http2;
    server_name www.haimablog.ooo haimablog.ooo;
    index index.js index.php index.html index.htm default.php default.htm default.html;
    root /www/wwwroot/www.haimablog.ooo/firekylin;
    set $node_port 8360;
    #SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则
    #error_page 404/404.html;
    #HTTP_TO_HTTPS_START
    if ($server_port !~ 443){
        rewrite ^(/.*)$ https://$host$1 permanent;
    }
    #HTTP_TO_HTTPS_END
    ssl_certificate    /etc/letsencrypt/live/www.haimablog.ooo/fullchain.pem;
    ssl_certificate_key    /etc/letsencrypt/live/www.haimablog.ooo/privkey.pem;
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:!aNULL:!MD5:!RC4:!DHE:!WEEK:!NULL:!aWEEK:!eNULL:!EXPORT:!DES:!PSK:!3DES:!SHA:!TLSv1.0;
    ssl_prefer_server_ciphers on;
    ssl_session_cache shared:SSL:10m;
    ssl_session_timeout 10m;
    error_page 497  https://$host$request_uri;

    #SSL-END
    
    #ERROR-PAGE-START  错误页配置,可以注释、删除或修改
    error_page 404 /404.html;
    error_page 502 /502.html;
    #ERROR-PAGE-END
    
    #PHP-INFO-START  PHP引用配置,可以注释或修改
   # include enable-php-00.conf;
    #PHP-INFO-END
    
    #REWRITE-START URL重写规则引用,修改后将导致面板设置的伪静态规则失效
    include /www/server/panel/vhost/rewrite/www.haimablog.ooo.conf;
    #REWRITE-END
    
    #禁止访问的文件或目录
    location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
    {
        return 404;
    }
    
    #一键申请SSL证书验证目录相关设置
    location ~ \.well-known{
        try_files $uri = 404;
    }
    
    location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
    {
        expires      30d;
        error_log off;
        access_log off;
    }
    
    location ~ .*\.(js|css)?$
    {
        expires      12h;
        error_log off;
        access_log off; 
    }
    
     location / {
        proxy_http_version 1.1;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_pass http://127.0.0.1:$node_port$request_uri;
        proxy_redirect off;
    }

    location = /development.js {
        deny all;
    }
    location = /testing.js {
        deny all;
    }

    location = /production.js {
        deny all;
    }


    location ~ /static/ {
        etag         on;
        expires      max;
    }



	#add_header Accept-Encoding "br";
    
    #安全配置-开始
    #安全配置-结束
    access_log  off;
    error_log  /www/wwwlogs/www.haimablog.ooo.error.log;
}

haima2 commented Jun 28, 2018

nginx的conf如下

server
{
    listen 80;
	listen 443 ssl http2;
    server_name www.haimablog.ooo haimablog.ooo;
    index index.js index.php index.html index.htm default.php default.htm default.html;
    root /www/wwwroot/www.haimablog.ooo/firekylin;
    set $node_port 8360;
    #SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则
    #error_page 404/404.html;
    #HTTP_TO_HTTPS_START
    if ($server_port !~ 443){
        rewrite ^(/.*)$ https://$host$1 permanent;
    }
    #HTTP_TO_HTTPS_END
    ssl_certificate    /etc/letsencrypt/live/www.haimablog.ooo/fullchain.pem;
    ssl_certificate_key    /etc/letsencrypt/live/www.haimablog.ooo/privkey.pem;
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:!aNULL:!MD5:!RC4:!DHE:!WEEK:!NULL:!aWEEK:!eNULL:!EXPORT:!DES:!PSK:!3DES:!SHA:!TLSv1.0;
    ssl_prefer_server_ciphers on;
    ssl_session_cache shared:SSL:10m;
    ssl_session_timeout 10m;
    error_page 497  https://$host$request_uri;

    #SSL-END
    
    #ERROR-PAGE-START  错误页配置,可以注释、删除或修改
    error_page 404 /404.html;
    error_page 502 /502.html;
    #ERROR-PAGE-END
    
    #PHP-INFO-START  PHP引用配置,可以注释或修改
   # include enable-php-00.conf;
    #PHP-INFO-END
    
    #REWRITE-START URL重写规则引用,修改后将导致面板设置的伪静态规则失效
    include /www/server/panel/vhost/rewrite/www.haimablog.ooo.conf;
    #REWRITE-END
    
    #禁止访问的文件或目录
    location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
    {
        return 404;
    }
    
    #一键申请SSL证书验证目录相关设置
    location ~ \.well-known{
        try_files $uri = 404;
    }
    
    location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
    {
        expires      30d;
        error_log off;
        access_log off;
    }
    
    location ~ .*\.(js|css)?$
    {
        expires      12h;
        error_log off;
        access_log off; 
    }
    
     location / {
        proxy_http_version 1.1;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_pass http://127.0.0.1:$node_port$request_uri;
        proxy_redirect off;
    }

    location = /development.js {
        deny all;
    }
    location = /testing.js {
        deny all;
    }

    location = /production.js {
        deny all;
    }


    location ~ /static/ {
        etag         on;
        expires      max;
    }



	#add_header Accept-Encoding "br";
    
    #安全配置-开始
    #安全配置-结束
    access_log  off;
    error_log  /www/wwwlogs/www.haimablog.ooo.error.log;
}
@wei

This comment has been minimized.

Show comment
Hide comment
@wei

wei Jun 28, 2018

Collaborator
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
    expires      30d;
    error_log off;
    access_log off;
}

location ~ .*\.(js|css)?$
{
    expires      12h;
    error_log off;
    access_log off; 
}

目测这两个和下面的static冲突了 把他们先删掉

如果不行请使用官方提供的conf再把你自己的规则慢慢加回去

Collaborator

wei commented Jun 28, 2018

location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
    expires      30d;
    error_log off;
    access_log off;
}

location ~ .*\.(js|css)?$
{
    expires      12h;
    error_log off;
    access_log off; 
}

目测这两个和下面的static冲突了 把他们先删掉

如果不行请使用官方提供的conf再把你自己的规则慢慢加回去

@haima2

This comment has been minimized.

Show comment
Hide comment
@haima2

haima2 Jun 28, 2018

去掉了也不行呀,还是404呀,目前的conf如下

server
{
    listen 80;
	listen 443 ssl http2;
    server_name www.haimablog.ooo haimablog.ooo;
    index index.js index.php index.html index.htm default.php default.htm default.html;
    root /www/wwwroot/www.haimablog.ooo/firekylin;
    set $node_port 8360;
    #SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则
    #error_page 404/404.html;
    #HTTP_TO_HTTPS_START
    if ($server_port !~ 443){
        rewrite ^(/.*)$ https://$host$1 permanent;
    }
    #HTTP_TO_HTTPS_END
    ssl_certificate    /etc/letsencrypt/live/www.haimablog.ooo/fullchain.pem;
    ssl_certificate_key    /etc/letsencrypt/live/www.haimablog.ooo/privkey.pem;
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:!aNULL:!MD5:!RC4:!DHE:!WEEK:!NULL:!aWEEK:!eNULL:!EXPORT:!DES:!PSK:!3DES:!SHA:!TLSv1.0;
    ssl_prefer_server_ciphers on;
    ssl_session_cache shared:SSL:10m;
    ssl_session_timeout 10m;
    error_page 497  https://$host$request_uri;

    #SSL-END
    
    #ERROR-PAGE-START  错误页配置,可以注释、删除或修改
    error_page 404 /404.html;
    error_page 502 /502.html;
    #ERROR-PAGE-END
    
    #PHP-INFO-START  PHP引用配置,可以注释或修改
   # include enable-php-00.conf;
    #PHP-INFO-END
    
    #REWRITE-START URL重写规则引用,修改后将导致面板设置的伪静态规则失效
    include /www/server/panel/vhost/rewrite/www.haimablog.ooo.conf;
    #REWRITE-END
    
    #禁止访问的文件或目录
    location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
    {
        return 404;
    }
    
    #一键申请SSL证书验证目录相关设置
    location ~ \.well-known{
        try_files $uri = 404;
    }
      
     location / {
        proxy_http_version 1.1;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_pass http://127.0.0.1:$node_port$request_uri;
        proxy_redirect off;
    }

    location = /development.js {
        deny all;
    }
    location = /testing.js {
        deny all;
    }

    location = /production.js {
        deny all;
    }


    location ~ /static/ {
        etag         on;
        expires      max;
    }



	#add_header Accept-Encoding "br";
    
    #安全配置-开始
    #安全配置-结束
    access_log  off;
    error_log  /www/wwwlogs/www.haimablog.ooo.error.log;
}

haima2 commented Jun 28, 2018

去掉了也不行呀,还是404呀,目前的conf如下

server
{
    listen 80;
	listen 443 ssl http2;
    server_name www.haimablog.ooo haimablog.ooo;
    index index.js index.php index.html index.htm default.php default.htm default.html;
    root /www/wwwroot/www.haimablog.ooo/firekylin;
    set $node_port 8360;
    #SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则
    #error_page 404/404.html;
    #HTTP_TO_HTTPS_START
    if ($server_port !~ 443){
        rewrite ^(/.*)$ https://$host$1 permanent;
    }
    #HTTP_TO_HTTPS_END
    ssl_certificate    /etc/letsencrypt/live/www.haimablog.ooo/fullchain.pem;
    ssl_certificate_key    /etc/letsencrypt/live/www.haimablog.ooo/privkey.pem;
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:!aNULL:!MD5:!RC4:!DHE:!WEEK:!NULL:!aWEEK:!eNULL:!EXPORT:!DES:!PSK:!3DES:!SHA:!TLSv1.0;
    ssl_prefer_server_ciphers on;
    ssl_session_cache shared:SSL:10m;
    ssl_session_timeout 10m;
    error_page 497  https://$host$request_uri;

    #SSL-END
    
    #ERROR-PAGE-START  错误页配置,可以注释、删除或修改
    error_page 404 /404.html;
    error_page 502 /502.html;
    #ERROR-PAGE-END
    
    #PHP-INFO-START  PHP引用配置,可以注释或修改
   # include enable-php-00.conf;
    #PHP-INFO-END
    
    #REWRITE-START URL重写规则引用,修改后将导致面板设置的伪静态规则失效
    include /www/server/panel/vhost/rewrite/www.haimablog.ooo.conf;
    #REWRITE-END
    
    #禁止访问的文件或目录
    location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
    {
        return 404;
    }
    
    #一键申请SSL证书验证目录相关设置
    location ~ \.well-known{
        try_files $uri = 404;
    }
      
     location / {
        proxy_http_version 1.1;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_pass http://127.0.0.1:$node_port$request_uri;
        proxy_redirect off;
    }

    location = /development.js {
        deny all;
    }
    location = /testing.js {
        deny all;
    }

    location = /production.js {
        deny all;
    }


    location ~ /static/ {
        etag         on;
        expires      max;
    }



	#add_header Accept-Encoding "br";
    
    #安全配置-开始
    #安全配置-结束
    access_log  off;
    error_log  /www/wwwlogs/www.haimablog.ooo.error.log;
}
@wei

This comment has been minimized.

Show comment
Hide comment
@wei

wei Jun 28, 2018

Collaborator

请尝试一下官方的conf

Collaborator

wei commented Jun 28, 2018

请尝试一下官方的conf

@haima2

This comment has been minimized.

Show comment
Hide comment
@haima2

haima2 commented Jun 28, 2018

嗯嗯

@haima2

This comment has been minimized.

Show comment
Hide comment
@haima2

haima2 Jun 28, 2018

还是不行诶

haima2 commented Jun 28, 2018

还是不行诶

@haima2

This comment has been minimized.

Show comment
Hide comment
@haima2

haima2 Jun 28, 2018

怎么重装emmm,我重装一下试试看,现在这个路径很迷,https://www.haimablog.ooo/theme//res/css/all.css
主题名没了,,,,

haima2 commented Jun 28, 2018

怎么重装emmm,我重装一下试试看,现在这个路径很迷,https://www.haimablog.ooo/theme//res/css/all.css
主题名没了,,,,

@lizheming

This comment has been minimized.

Show comment
Hide comment
@lizheming

lizheming Jun 29, 2018

Collaborator

各位 sqlite 那个我已经去除了 https://firekylin.org/release/v1/latest.tar.gz 你们再试试

Collaborator

lizheming commented Jun 29, 2018

各位 sqlite 那个我已经去除了 https://firekylin.org/release/v1/latest.tar.gz 你们再试试

@Aprilor

This comment has been minimized.

Show comment
Hide comment
@Aprilor

Aprilor Jun 29, 2018

@lizheming 根本的问题还是没有解决,在浏览器安装的时候,对接数据库有点问题是不是对接不上,第二个安装页面,我把账户什么都设置好了,点击开始安装后就出现上面 图2 的一串错误,我去查看数据库,里面竟然是空的,一个表都没有

Aprilor commented Jun 29, 2018

@lizheming 根本的问题还是没有解决,在浏览器安装的时候,对接数据库有点问题是不是对接不上,第二个安装页面,我把账户什么都设置好了,点击开始安装后就出现上面 图2 的一串错误,我去查看数据库,里面竟然是空的,一个表都没有

@lizheming lizheming closed this in 61308b8 Jul 1, 2018

@lizheming

This comment has been minimized.

Show comment
Hide comment
@lizheming

lizheming Jul 1, 2018

Collaborator

@Aprilor 你的问题已 fix 详见相关 commit,请重新下载包安装即可,感谢反馈。

Collaborator

lizheming commented Jul 1, 2018

@Aprilor 你的问题已 fix 详见相关 commit,请重新下载包安装即可,感谢反馈。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment