Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

starting app throws error about missing icon component #4

Open
knownasilya opened this issue Jul 10, 2022 · 1 comment
Open

starting app throws error about missing icon component #4

knownasilya opened this issue Jul 10, 2022 · 1 comment

Comments

@knownasilya
Copy link
Collaborator

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants