Advertisement
evanjs

node2nix angular build error

Jun 1st, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. builder for '/nix/store/j8qqiyhm82f6yzbfbzk7jswwqq0fm6rs-node_copilot-frontend-0.0.0.drv' failed with exit code 1; last 10 log lines:
  2. @ multi ./src/main.ts
  3. ERROR in ./src/environments/environment.ts
  4. Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
  5. Error: /nix/store/31gbvi4lfbcfy4h2bn0k5k1qwv08wgd6-node_copilot-frontend-0.0.0/lib/node_modules/copilot-frontend/src/environments/environment.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
  6. The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
  7. at AngularCompilerPlugin.getCompiledFile (/nix/store/31gbvi4lfbcfy4h2bn0k5k1qwv08wgd6-node_copilot-frontend-0.0.0/lib/node_modules/copilot-frontend/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:909:23)
  8. at plugin.done.then (/nix/store/31gbvi4lfbcfy4h2bn0k5k1qwv08wgd6-node_copilot-frontend-0.0.0/lib/node_modules/copilot-frontend/node_modules/@ngtools/webpack/src/loader.js:41:31)
  9. at process._tickCallback (internal/process/next_tick.js:68:7)
  10. @ ./src/main.ts 2:0-57 5:4-15
  11. @ multi ./src/main.ts
  12. [4 built (1 failed), 0.0 MiB DL]
  13. error: build of '/nix/store/j8qqiyhm82f6yzbfbzk7jswwqq0fm6rs-node_copilot-frontend-0.0.0.drv' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement