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

how install and to build? #22

Open
abolabo opened this issue Jun 7, 2024 · 0 comments
Open

how install and to build? #22

abolabo opened this issue Jun 7, 2024 · 0 comments
Assignees

Comments

@abolabo
Copy link

abolabo commented Jun 7, 2024

Hello,
please advise how to build your project.

I tried to

  1. git clone [email protected]:ricafolio/react-collage-maker-app.git
  2. removed package-lock.json
  3. npm install
  4. npm run build
    and got an error during build

$ npm run build

[email protected] build
tsc && vite build

/var/www/react-collage-maker-app/node_modules/typescript/lib/tsc.js:93
for (let i = startIndex ?? 0; i < array.length; i++) {
^

SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/var/www/react-collage-maker-app/node_modules/typescript/bin/tsc:2:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

Where can i find any instructions?

BR

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

No branches or pull requests

2 participants