question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to find AutoRest.dll with version 1.0.1-20170310-2300-nightly

See original GitHub issue

This error is happening on both my machine and in build labs.

Repro:

autorest --version 1.0.1-20170310-2300-nightly --help

https://travis-ci.org/Azure/azure-rest-api-specs/jobs/210142400

Error: Unable to find AutoRest.dll.

    at AutoRestDllPath (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/interop/autorest-dotnet.js:27:11)

    at Object.SpawnLegacyAutoRest (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/interop/autorest-dotnet.js:39:49)

    at /home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:29:47

    at next (native)

    at /home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:8:71

    at __awaiter (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:4:12)

    at legacyMain (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:28:12)

    at /home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:87:23

    at next (native)

    at /home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:8:71

    at __awaiter (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:4:12)

    at main (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:82:12)

    at Object.<anonymous> (/home/travis/.autorest/plugins/autorest/1.0.1-20170310-2300-nightly/node_modules/autorest-core/app.js:103:1)

    at Module._compile (module.js:570:32)

    at Object.Module._extensions..js (module.js:579:10)

    at Module.load (module.js:487:32)

    at tryModuleLoad (module.js:446:12)

    at Function.Module._load (module.js:438:3)

    at Module.require (module.js:497:17)

    at require (internal/module.js:20:19)

    at Function.<anonymous> (/home/travis/.nvm/versions/node/v6.10.0/lib/node_modules/autorest/app.js:228:25)

    at next (native)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
prinupmathewcommented, Jul 20, 2017

I am getting below error

C:\Windows\system32>AutoRest -CodeGenerator CSharp -Modeler Swagger -Input http://xxxrest.user.service/swagger/docs/v1 -Namespace Services.UserServiceClient -OutputDirectory E:\test -AddCrendentials true AutoRest Code Generator © 2017 Microsoft Corporation. https://aka.ms/autorest Unable to find start path for AutoRest Core Module.

C:\Windows\system32>

0reactions
huangpfcommented, Sep 22, 2017

Node version needs to be updated as well & quote:

What version of nodejs is being used?

node -v

You need 7.10 or higher.
6.10 is ok for autorest 1.2.2 … 7.10 will be needed for autorest 2.0  
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to load DLL 'SqlServerSpatial.dll' - Stack Overflow
SqlServerSpatial.dll is unmanaged code. You have to install the correct version (64bit) on the server. Add the DLL to your project.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found