warp-drive-engineering / engage

Scaffolding for highly optimized applications built with Ember.js
MIT License
26 stars 0 forks source link

starting app throws error about missing icon component #4

Open knownasilya opened 2 years ago

knownasilya commented 2 years ago
Directory not found: /Users/..../<project-name>/apps/<app-name>/app/components/icon

Adding that folder fixes the error.

Also, starting the app after returns TS errors from node_modules, i.e.

node_modules/.pnpm/github.com+ember-intl+ember-intl@1f6c801994f7/node_modules/ember-intl/addon/-private/utils/flatten.ts:1:25 - error TS2307: Cannot find module 'ember-intl/-private/utils/empty-object' or its corresponding type declarations.

1 import EmptyObject from 'ember-intl/-private/utils/empty-object';

and others

runspired commented 2 years ago

The missing folder is because apparently the way we copy files currently does not handle a nested directory with a .gitkeep (`e.g. a .gitkeep in an emtpy folder in an otherwise also empty parent folder). Haven't figured out if we can fix this with a better copy command or if we need to utilize a post-install script to "fix" it more manually.

The TS errors are because we're starting with a strict config, and unfortunately some projects aren't quite ready to be type-checked in that way. Likely we should de-activate libCheck in the config until we've patched or fixes those.