Skip to content
Discussion options

You must be logged in to vote

Hi,

You should use the new vite Viewer template rather than the create react app version linked in that tutorial. (We will update that information.)

That doesn't get you past npx in powershell, however. Are all terminals disallowing npx commands (cmd, windows terminal using gitbash, for instance)?

If it is only npx commands that are blocked, you can attempt to install degit globally with pnpm install -g degit and then provision the template:
degit iTwin/viewer/packages/templates/web#master my-app-name

If none of the above works, you can try using a cloud environment like GitHub Codespaces, Code Sandbox, or another cloud IDE like Stackblitz.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ArvydasSlekaitis
Comment options

@ben-polinsky
Comment options

Answer selected by ArvydasSlekaitis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants