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

problem whit run #4

Open
Hesamp opened this issue Oct 11, 2018 · 6 comments
Open

problem whit run #4

Hesamp opened this issue Oct 11, 2018 · 6 comments

Comments

@Hesamp
Copy link

Hesamp commented Oct 11, 2018

Hesam@DESKTOP-R19RBHJ MINGW64 /d/GitHub projects/blockchain-js (master)
$ ./build.sh
building rencontres...
yarn run v1.9.4
$ ./node_modules/.bin/tsc && ./node_modules/.bin/browserify dist/gui.js -o dist/bundle.js
Done in 3.14s.
building core...
yarn run v1.9.4
$ ./node_modules/.bin/tsc && ./node_modules/.bin/browserify dist/blockchain-browser.js -o dist/bundle.js
Done in 5.38s.
building UI...
yarn run v1.9.4
$ ng build --prod
Date: 2018-10-11T08:31:01.690Z
Hash: 5556ea86807eaf1cabae
Time: 4415ms
chunk {0} styles.9c0ad738f18adc3d19ed.bundle.css (styles) 79 bytes [initial] [rendered]
chunk {1} polyfills.3bc34265385d52184eab.bundle.js (polyfills) 86 bytes [initial] [rendered]
chunk {2} main.e402deade8b026b7d50e.bundle.js (main) 84 bytes [initial] [rendered]
chunk {3} inline.22b7623ed7c5ac6f9a35.bundle.js (inline) 1.45 kB [entry] [rendered]
ERROR in src\app\supply-chain\supply-chain.component.html(60,10): : Property 'selectedGroupWork' does not exist on type 'SupplyChainComponent
'.
src\app\supply-chain\group-work-summary.component.html(13,22): : Property 'userId' does not exist on type 'GroupWorkSummaryComponent'.
src\app\supply-chain\group-work-summary.component.html(18,22): : Property 'userId' does not exist on type 'GroupWorkSummaryComponent'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@ltearno
Copy link
Owner

ltearno commented Oct 11, 2018 via email

@ltearno
Copy link
Owner

ltearno commented Oct 11, 2018

Should be ok now, master is reset to the commit 9946a7c
Sorry for the inconvenience (you will have a message warning that a push force has been made on the master branch)

@ltearno
Copy link
Owner

ltearno commented Oct 11, 2018

Can you fix the issue when ok for you please ?

@Hesamp
Copy link
Author

Hesamp commented Oct 13, 2018

new :
`Hesam@DESKTOP-R19RBHJ MINGW64 /d/GitHub projects/blockchain-js-2/rencontres (master)
$ node dist/index.js
fs.js:115
throw err;
^

Error: ENOENT: no such file or directory, open 'key.pem'
at Object.openSync (fs.js:436:3)
at Object.readFileSync (fs.js:341:35)
at createExpressApp (D:\GitHub projects\blockchain-js-2\rencontres\dist\index.js:68:17)
at Object. (D:\GitHub projects\blockchain-js-2\rencontres\dist\index.js:195:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)`

can not found key.pm
i create new file with name : key.pm and cert.pem
but Displayed a new error :
`_tls_common.js:123
c.context.setCert(cert);
^

Error: error:0906D06C:PEM routines:PEM_read_bio:no start line
at Object.createSecureContext (_tls_common.js:123:17)
at Server (_tls_wrap.js:868:27)
at new Server (https.js:62:14)
at Object.createServer (https.js:84:10)
at createExpressApp (D:\GitHub projects\blockchain-js-2\rencontres\dist\index.js:67:24)
at Object. (D:\GitHub projects\blockchain-js-2\rencontres\dist\index.js:195:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)`

@ltearno
Copy link
Owner

ltearno commented Nov 5, 2018

Ok sorry, I will set use of TLS certificates optional

@ltearno
Copy link
Owner

ltearno commented Nov 5, 2018

They are not needed for local development

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