You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[@azure/template] started
>>> @azure/template
tsc -p . && rollup -c 2>&1
[@azure/keyvault] started
dist-esm/src/index.js → dist/index.js...
created dist/index.js in 45ms
dist-esm/src/index.js → browser/azure-template.js...
[!] (Rollup Core plugin) Error: Could not load events (imported by /home/vsts/work/1/s/sdk/template/template/dist-esm/src/index.js): ENOENT: no such file or directory, open 'events'
Error: Could not load events (imported by /home/vsts/work/1/s/sdk/template/template/dist-esm/src/index.js): ENOENT: no such file or directory, open 'events'
at Object.openSync (fs.js:443:3)
at Object.readFileSync (fs.js:343:35)
at Object.load (/home/vsts/work/1/s/common/temp/node_modules/.registry.npmjs.org/rollup/1.13.1/node_modules/rollup/dist/rollup.js:11224:23)
at Promise.resolve.then (/home/vsts/work/1/s/common/temp/node_modules/.registry.npmjs.org/rollup/1.13.1/node_modules/rollup/dist/rollup.js:15429:25)
0 of 11: [@azure/template] failed to build!
Looks as if rollup cannot find events and in other packages, buffer
The root cause of this specific issue was that a new version of a transitive dependency (which contained breaking changes for our repo) was published to npmjs.com. We assumed that all dependency versions (including transitive) were pinned via the Rush/PNPM pnpm-lock.yaml, but this was not actually the case. We're working with the Rush team on next steps (microsoft/rushstack#1142).
mikeharder
added a commit
to mikeharder/azure-sdk-for-js
that referenced
this issue
Jul 11, 2019
Describe the bug
Running local or CI builds for master are failing consistently after yesterday afternoon (Pacific time).
The first failure we saw in master happened at this build: https://dev.azure.com/azure-sdk/public/_build/results?buildId=42923
Some of the logs from the "Build libraries" step:
Looks as if rollup cannot find
events
and in other packages,buffer
A build from an earlier commit SHA which succeeded in the past (successful build: https://dev.azure.com/azure-sdk/public/_build/results?buildId=42761) now fails when built after this time (failing build: https://dev.azure.com/azure-sdk/public/_build/results?buildId=43082)... The failed build produces a similar error message.
To Reproduce
Steps to reproduce the behavior:
rush install
)rush build --verbose
)Expected behavior
Build succeeds without errors
Screenshots
Build fails with errors
Additional context
We have tried a few things and have not solved the build problems:
node:lts
docker container on a fresh clone of the repo does not succeedThe text was updated successfully, but these errors were encountered: