npm run build
then npm run publish
with environment variable for authentication (https://github.com/koltyakov/node-sp-auth-config#environment-variables). Please leave an issue with the request to add Azure DevOps sample in the repository I’ll add a generic sample, but it’s really just binding env vars for auth (making sure prod mode is on) and the ordinary frontend project pipeline actions specifics.
Hi @koltyakov ,
I am having some issues on the establishing connection
Below is the code I am using
# Creating private file from multiline variable from matrix
# Encoding secrets in private file
- script: |
touch ./config/private.json && cat <<EOF > ./config/private.json
$(private.json)
EOF
SPAUTH_ENV=production gulp config
displayName: 'Establishing connection'
The error is showing:
<< was unexpected at this time.
I am not sure if it is due to my private.json?
Thank you
Hey!
I just started out using your amazing package.
Now im having a problem:
I wanted to go through your samples, and it worked fine till i wanted to create a list item.
Here is my Code: https://i.imgur.com/bxYWB1g.png
I get the following Error: HTTPError: Response code 400 (Bad Request)
at EventEmitter.<anonymous> (C:\Users\mathe\source\repos\CryptoChat\node_modules\sp-request\node_modules\got\dist\source\as-promise.js:118:31).
Also im really new to nodejs (?and rest?). So if i want for example to read out the number of list items for example. Where can i find the headers i need for that etc?
Im happy for every response!
Sincerly Matheo
can pnp not authenticate on-prem on its own?
Sure thing, no.