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

Readme indicates yarn only needed if editing, but then also says you have to start with yarn start #1

Open
sbweeden opened this issue Mar 4, 2020 · 2 comments
Assignees

Comments

@sbweeden
Copy link

sbweeden commented Mar 4, 2020

Can non-yarn-based startup be documented?

@sbweeden
Copy link
Author

sbweeden commented Mar 4, 2020

Also related to startup - I tried npm run and got:

[nodemon] starting `node ./server-build/index.js`
fs.js:114
    throw err;
    ^

Error: ENOENT: no such file or directory, open '../SAMLkey.key'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at eval (webpack:///./server/index.js?:64:19)
    at Module../server/index.js (/Users/sweeden/git/ajcase/CI-SAML-Sample/server-build/index.js:157:1)
    at __webpack_require__ (/Users/sweeden/git/ajcase/CI-SAML-Sample/server-build/index.js:20:30)
    at /Users/sweeden/git/ajcase/CI-SAML-Sample/server-build/index.js:84:18
    at Object.<anonymous> (/Users/sweeden/git/ajcase/CI-SAML-Sample/server-build/index.js:87:10)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
[nodemon] app crashed - waiting for file changes before starting...

I don't know what the default start directory is, but it seems to be something other than a level below the repo root where those files live.

@jonpharry
Copy link
Collaborator

I removed the ../ from references to ../SAMLkey.key and ../SAMLCertificate.pem and I was then able to start the application using either yarn start or npm start.

@ajcase ajcase self-assigned this Mar 4, 2020
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

3 participants