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

switch to yarn for publishing #12

Merged
merged 1 commit into from
Sep 22, 2017
Merged

Conversation

fearthecowboy
Copy link
Member

No description provided.

@msftclas
Copy link

@fearthecowboy,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@fearthecowboy fearthecowboy merged commit 67f3ea4 into Azure:master Sep 22, 2017
@olydis
Copy link
Contributor

olydis commented Sep 22, 2017

publish job

failed

npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

> dotnet-2.0.0@1.2.0 postinstall C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler\node_modules\dotnet-2.0.0
> node -e "try { fs.statSync('./dist/app.js') ; require('./dist/app.js')} catch (e){}"

Recording package path for platform-specific runtime: C:\Users\ci\.net\2.0.0\node_modules\dotnet-2.0.0-win\

> dotnet-sdk-2.0.0@1.2.0 postinstall C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler\node_modules\dotnet-sdk-2.0.0
> node -e "try { fs.statSync('./dist/app.js') ; require('./dist/app.js')} catch (e){}"

Recording package path for platform-specific runtime: C:\Users\ci\.net\2.0.0\node_modules\dotnet-sdk-2.0.0-win\

> @microsoft.azure/autorest.modeler@2.0.0 prepare C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler
> gulp build

[15:25:23] Using gulpfile ~\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler\gulpfile.js
[15:25:23] Starting 'init'...
[15:25:23] Finished 'init' after 356 μs
[15:25:23] Starting 'clear-cache-on-force'...
[15:25:23] Finished 'clear-cache-on-force' after 48 μs
[15:25:23] Starting 'restore'...
[15:25:23] Starting 'version-number'...
[15:25:24] Finished 'version-number' after 1.61 s
           C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler :: dotnet restore C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler\src\autorest.modeler.csproj /nologo
           C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler :: dotnet restore C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler\test\autorest.modeler.test.csproj /nologo
[15:25:39] Finished 'restore' after 16 s
[15:25:39] Starting 'build/dotnet'...
           C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler :: dotnet build -c Debug C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler/autorest.modeler.sln /nologo /clp:NoSummary /p:VersionPrefix=2.0.15
           C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler :: dotnet publish -c Debug C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler/src/ --output C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler/src//bin/netcoreapp2.0 /nologo /clp:NoSummary /p:VersionPrefix=2.0.15
[15:26:25] Finished 'build/dotnet' after 46 s
[15:26:25] Starting 'build'...
Building project in C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler
[15:26:25] Finished 'build' after 322 μs
npm notice created a lockfile as package-lock.json. You should commit this file.
added 288 packages in 123.438s

> @microsoft.azure/autorest.modeler@2.0.0 publish-preview C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler
> gulp publish-preview

[15:26:29] Using gulpfile ~\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler\gulpfile.js
[15:26:29] Starting 'init'...
[15:26:29] Finished 'init' after 319 μs
[15:26:29] Starting 'version-number'...
[15:26:29] Finished 'version-number' after 218 ms
[15:26:29] Starting 'publish-preview'...
           C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler :: C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler/node_modules/.bin/yarn publish --tag preview
Exec Failed C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler :: C:\Users\ci\AppData\Local\Temp\PUBLISHugt8j\12_20170922T222418\autorest.modeler/node_modules/.bin/yarn publish --tag preview
(stderr)
  error An unexpected error occurred: "Can't answer a question unless a user TTY".


(stdout)
yarn publish v1.0.2
[1/4] Bumping version...
info Current version: 2.0.15
info If you think this is a bug, please open a bug report with the information provided in "C:\\Users\\ci\\AppData\\Local\\Temp\\PUBLISHugt8j\\12_20170922T222418\\autorest.modeler\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.


Task Failed:  Execute Task failed, fast exit

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @microsoft.azure/autorest.modeler@2.0.0 publish-preview: `gulp publish-preview`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @microsoft.azure/autorest.modeler@2.0.0 publish-preview script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ci\AppData\Roaming\npm-cache\_logs\2017-09-22T22_26_31_234Z-debug.log

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

Successfully merging this pull request may close these issues.

3 participants