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

Unable to launch template #183

Closed
ScreamZ opened this issue Nov 14, 2024 · 2 comments · Fixed by #185
Closed

Unable to launch template #183

ScreamZ opened this issue Nov 14, 2024 · 2 comments · Fixed by #185
Assignees
Labels
bug Something isn't working released This issue/pull request has been released.

Comments

@ScreamZ
Copy link
Contributor

ScreamZ commented Nov 14, 2024

Hello @HipsterBrown,

Just tried on latest version

xs-dev init my-typed-project --typescript

and go

Generating Moddable project: my-typed-project
Command failed, Error: template not found /Users/screamz/Library/pnpm/global/5/.pnpm/[email protected][email protected]/node_modules/xs-dev/build/src/templates/manifest.json.ejs
    at Object.<anonymous> (/Users/screamz/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/gluegun/build/toolbox/template-tools.js:82:27)
    at step (/Users/screamz/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/gluegun/build/toolbox/template-tools.js:44:23)
    at Object.next (/Users/screamz/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/gluegun/build/toolbox/template-tools.js:25:53)
    at /Users/screamz/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/gluegun/build/toolbox/template-tools.js:19:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/screamz/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/gluegun/build/toolbox/template-tools.js:15:12)
    at Object.generate (/Users/screamz/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/gluegun/build/toolbox/template-tools.js:64:16)
    at Object.func (/Users/screamz/Library/pnpm/global/5/.pnpm/[email protected][email protected]/node_modules/xs-dev/build/src/commands/init.js:67:32)
    at async Fe (/Users/screamz/Library/pnpm/global/5/.pnpm/@[email protected]/node_modules/@stricli/core/dist/index.cjs:7:33)
    at async pn (/Users/screamz/Library/pnpm/global/5/.pnpm/@[email protected]/node_modules/@stricli/core/dist/index.cjs:23:672)                                                                                                    166ms
@HipsterBrown HipsterBrown self-assigned this Nov 14, 2024
@HipsterBrown HipsterBrown added the bug Something isn't working label Nov 14, 2024
@HipsterBrown
Copy link
Owner

Thanks for discovering this @ScreamZ . This is a regression from the move to Strcli as the front-end of the CLI. It would be easier to refactor the project templates from EJS templates to template strings in plain JS/TS files given how small they are at the moment.

Copy link
Contributor

🚀 Issue was released in v0.33.1 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released This issue/pull request has been released.
Projects
None yet
2 participants