WuTheFWasThat / vimflowy

An open source productivity tool drawing inspiration from workflowy and vim

Home Page:https://www.wuthejeff.com/vimflowy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assets does not build

benoitjpnet opened this issue · comments

npm run build or npm run build -- --outdir /home/note/vimflowy/static/build/ result in nothing getting built.

Any ideas where to look for debuging?


npm run build

> vimflowy@0.0.1 build /home/note/vimflowy
> ts-node src/server/build.ts

ℹ 「atl」: Using typescript@3.1.6 from typescript
ℹ 「atl」: Using tsconfig.json from /home/note/vimflowy/tsconfig.json
ℹ 「atl」: Checking started in a separate process...
ℹ 「atl」: Time: 2118ms

npm run startprod -- --db sqlite --dbfolder /home/note/db --password xxx
> vimflowy@0.0.1 startprod /home/note/vimflowy
> ts-node src/server/prod.ts "--db" "sqlite" "--dbfolder" "/home/note/db" "--password" "xxx"


        No assets found at /home/note/vimflowy/static/build/!
        Try running `npm run build -- --outdir /home/note/vimflowy/static/build/` first.
        Or specify where they should be found with --staticDir $somedir.

what versions of node and npm do you have?

node --version
v13.9.0

npm --version
6.13.7
root@note:~# node --version
v14.15.3
root@note:~# npm --version
6.14.9

maybe try downgrading node, not sure. I recommend nvm for managing multiple versions

Is there any way to have a verbose mode enabled?

ok, i struggled for awhile with this problem. I'm not sure how to track it down but something changed about the behavior of my webpack configuration

#358 was probably related

@benpro could you try again on master?

feel free to reopen if not solved

Indeed fixed. Thanks!