Git Product home page Git Product logo

Comments (34)

w-okada avatar w-okada commented on June 24, 2024

Did you set aws credential?

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

I can not reproduce your problem. please show me full of your error message.

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

can you share C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2021-06-05T10_47_22_160Z-debug.log ?

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

2021-06-05T10_47_22_160Z-debug.log

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

Oh,,, I have never seen this log. My environment is linux, so I can not understand.

Could you run the command?

npm run build

If this command is succeeded, then run

cdk deploy --outputs-file cfn_outputs.json

BTW, It is better that I provide docker image to build it, I think...

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

okay thanks

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

when i run

cdk deploy --outputs-file cfn_outputs.json

Do you wish to deploy these changes (y/n)? y
edubackendstack: deploying...
[0%] start: Publishing 5371a7079361588cdef19c0a645ba83aa54e1bd533adb5edaf6fbf5757007f44:current
[25%] success: Published 5371a7079361588cdef19c0a645ba83aa54e1bd533adb5edaf6fbf5757007f44:current
[25%] start: Publishing a00114a0a88dde70b16e46196fc93dd39e4d0ce78abc618cf38edab946b469ef:current
[50%] success: Published a00114a0a88dde70b16e46196fc93dd39e4d0ce78abc618cf38edab946b469ef:current
[50%] start: Publishing 699254cd76d16c12f83cdb49d45c074bacb3927f00f233fb1ceea10c08cbbf9b:current
[75%] success: Published 699254cd76d16c12f83cdb49d45c074bacb3927f00f233fb1ceea10c08cbbf9b:current
[75%] start: Publishing 7ea132d8c35ffdc7b70ce4f2720d4c790031df13480dac958c0b1555839a9cf6:current
Error: write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js:156:25)
at writeGeneric (internal/stream_base_commons.js:147:3)
at Socket._writeGeneric (net.js:785:11)
at Socket._write (net.js:797:8)
at writeOrBuffer (internal/streams/writable.js:358:12)
at Socket.Writable.write (internal/streams/writable.js:303:10)
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\aws-cdk\node_modules\cdk-assets\lib\private\shell.ts:28:19
at new Promise ()
at Object.shell (C:\Users\Administrator\AppData\Roaming\npm\node_modules\aws-cdk\node_modules\cdk-assets\lib\private\shell.ts:26:10)
at Docker.execute (C:\Users\Administrator\AppData\Roaming\npm\node_modules\aws-cdk\node_modules\cdk-assets\lib\private\docker.ts:75:13)

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

Thanks.
Oh,,, I may see...

 Docker.execute (C:\Users\Administrator\AppData\Roaming\npm\node_modules\aws-cdk\node_modules\cdk-assets\lib\private\docker.ts:75:13)

We need docker.
aws/aws-cdk#8133

Can you install docker??

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

Or If you are OK, you can use older version before using dokcer.

git clone [email protected]:w-okada/flect-chime-sdk-demo.git -b v0.1.6

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

Hi, thanks for response
I changed windows to Linux, docker also installed now i ma getting these errors

npm notice
npm notice New minor version of npm available! 7.15.1 -> 7.17.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.17.0
npm notice Run npm install -g [email protected] to update!
npm notice
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /recording/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/recording/package.json '
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-06-11T05_04_47_896Z-debug.log
The command '/bin/sh -c npm install && chmod +x /recording/run.sh && chmod +x / recording/index.js' returned a non-zero code: 254
[100%] fail: docker build --tag cdkasset-faa75e7290cb88fecef1b865b866bf25f32ae0d 20cb8d649e59207f1027f1b61 . exited with error code 254: The command '/bin/sh -c npm install && chmod +x /recording/run.sh && chmod +x /recording/index.js' retu rned a non-zero code: 254

eduf-BackendStack failed: Error: Failed to publish one or more assets. See the error messages above for more information.
at Object.publishAssets (/usr/lib/node_modules/aws-cdk/lib/util/asset-publis hing.ts:25:11)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at Object.deployStack (/usr/lib/node_modules/aws-cdk/lib/api/deploy-stack.ts :232:3)
at CdkToolkit.deploy (/usr/lib/node_modules/aws-cdk/lib/cdk-toolkit.ts:180:2 4)
at initCommandLine (/usr/lib/node_modules/aws-cdk/bin/cdk.ts:210:9)
Failed to publish one or more assets. See the error messages above for more info rmation.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build_all: npm run build; cdk deploy --outputs-file cfn_ outputs.json
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build_all script.
npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-06-11T05_04_48_676Z-debug.log

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

Thnks!

I think the resason is the below message. But in my environment, it desn't happen ....

npm ERR! enoent ENOENT: no such file or directory, open '/recording/package.json '

Did you pull latest version of the repository??

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

https://github.com/w-okada/flect-chime-sdk-demo

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

i am using this

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

did you git pull

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

git clone https://github.com/w-okada/flect-chime-sdk-demo

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

Hi,
if i give you my pc credential can you please deploy this on pc

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

Hi please reply me, i will pay you for this

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

Do you mean give me your linux pc account?
If so I can try. But I don't know if I can because the reason is various.

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

okay give me your personal emailaddress or skype id where to share my pc details

from flect-chime-sdk-demo.

shaikhquader15 avatar shaikhquader15 commented on June 24, 2024

Hi, I am waiting for your response

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

If you have twitter account, give DM me.
@DannadoriYellow

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

I tried in plain debian VM and I can build backend with no problem.

I'll close.

from flect-chime-sdk-demo.

ruzanowski avatar ruzanowski commented on June 24, 2024

I can reproduce the same issue on Windows, latest version. Docker is turned.

When you run manually in cmd npm run build && cdk deploy --outputs-file cfn_outputs.json it proceeds further.

from flect-chime-sdk-demo.

ruzanowski avatar ruzanowski commented on June 24, 2024

image when I run it via script npm run build_all.

from flect-chime-sdk-demo.

ruzanowski avatar ruzanowski commented on June 24, 2024

After proceeding I get this error:
image

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

Oh....
I am researching...

from flect-chime-sdk-demo.

ruzanowski avatar ruzanowski commented on June 24, 2024

For reference, I will tell you that https://github.com/cata86/flect-chime-sdk-demo repo, a fork based on your repository turned out to be working for me - however, on your current version I was always stuck on the step I sent.

I have Windows's latest version with Docker for Windows.

from flect-chime-sdk-demo.

ruzanowski avatar ruzanowski commented on June 24, 2024

More than that, there was no information about react-scripts - I needed to install it manually with yarn, good to document it as well

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

I update readme for windows.
please follow the document.

from flect-chime-sdk-demo.

ruzanowski avatar ruzanowski commented on June 24, 2024

Hello, it is me again.

Thank you for the changes. 👍

I followed the backend script again, and I needed to add in backend\bin\config.ts
export const USE_CDN = false

otherwise backend\lib\backend-stack does not know what USE_CDN means.

after that, deployment of backend-stack was successful :)

from flect-chime-sdk-demo.

w-okada avatar w-okada commented on June 24, 2024

Thank you for your comment.
I fixed README.

and USE_CDN means whether you use CDN(cloudfront) or not.

from flect-chime-sdk-demo.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.