2017-03-24から1日間の記事一覧
結論からいうとnode実行ディレクトリからのパスを渡さないと読み込めなかった。 TypeScriptを使ってるので、こんな構成なんです。 app –server.ts dist –server.js –webapp —-index.html —-main.js package.json tsconfig.json npm startで./app/server.tsを…
結論からいうとnode実行ディレクトリからのパスを渡さないと読み込めなかった。 TypeScriptを使ってるので、こんな構成なんです。 app –server.ts dist –server.js –webapp —-index.html —-main.js package.json tsconfig.json npm startで./app/server.tsを…