LoginSignup
0
0

More than 5 years have passed since last update.

Angularのプロジェクト名に#をつけるとビルドできず死ぬ

Last updated at Posted at 2018-01-26

ng buildを発行するディレクトリのフルパスの中に#があると、ビルド中にエラーになる。
気を付けよう!(完

ERROR in Error: Could not resolve module C:/Users/hogegege/
    at StaticSymbolResolver.getSymbolByModule (C:\Users\hogegege\#120\hoge\node_modules\@angular\compiler\bundles\compiler.umd.js:29758:30)
    at StaticReflector.resolveExternalReference (C:\Users\hogegege\#120\hoge\node_modules\@angular\compiler\bundles\compiler.umd.js:31595:62)
    at parseLazyRoute (C:\Users\hogegege\#120\hoge\node_modules\@angular\compiler\bundles\compiler.umd.js:29043:55)
    at AotCompiler.listLazyRoutes (C:\Users\hogegege\#120\hoge\node_modules\@angular\compiler\bundles\compiler.umd.js:31135:43)
    at AngularCompilerProgram.listLazyRoutes (C:\Users\hogegege\#120\hoge\node_modules\@angular\compiler-cli\src\transformers\program.js:156:30)
    at Function.NgTools_InternalApi_NG_2.listLazyRoutes (C:\Users\hogegege\#120\hoge\node_modules\@angular\compiler-cli\src\ngtools_api.js:44:36)
    at AngularCompilerPlugin._getLazyRoutesFromNgtools (C:\Users\hogegege\#120\hoge\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:248:66)
    at Promise.resolve.then.then (C:\Users\hogegege\#120\hoge\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:565:50)
    at <anonymous>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0