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.

[Track2] Generated codes by latest codegen compile failed

See original GitHub issue

generated codes: https://github.com/Azure/azure-sdk-for-js/tree/5e3b6d37d570ba71a421c28de58b60a639f3c34e/sdk/iotspaces/arm-iotspaces command:

rush update
node common/scripts/install-run-rush.js build --from @azure/arm-iotspaces --verbose -p max

Compile Error:

Invoking: tsc && rollup -c rollup.config.js && npm run minify && mkdirp ./review &&  npm run extract-api

src/ioTSpacesClient.ts(1,27): error TS2307: Cannot find module '@azure/core-auth' or its corresponding type declarations.
src/ioTSpacesClientContext.ts(2,27): error TS2307: Cannot find module '@azure/core-auth' or its corresponding type declarations.
src/lro/operation.ts(4,33): error TS2307: Cannot find module '@azure/abort-controller' or its corresponding type declarations.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ramya-rao-acommented, Jun 25, 2021

@sarangan12 In case you are updating the dev dependencies as part of this issue, also include updating @types/node to ^12.0.0 as we are moving away from Node.js 8 support. I am doing this change in the azure-sdk-for-js repo as par tof https://github.com/Azure/azure-sdk-for-js/pull/15996

0reactions
sarangan12commented, Jun 28, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Codegen with 2 outputs: 1 succeeds, 1 fails but both not ...
I have two outputs, one schema-ast, the other typescript types. both run in the same config, the schema completes with a green checkmark,...
Read more >
ERROR codegen.CodeGenerator: failed to compile: org ...
This problem occurs since Spark generates .compare(UTF8String) method for long primitive type. It should not be generated. I am investigating ...
Read more >
Spark CodeGenerator failed to compile, got NPE, infrequently
I'm seeing a similar error with the very simple action spark.read.format("com.databricks.spark.avro").load(fn).cache.count , which is ...
Read more >
GraphQL error handling to the max with Typescript, codegen ...
This configuration is only used by GraphQL Code Generator to generate the proper types and resolvers signatures so that you get compile-time ...
Read more >
Generate Code for a Track Fuser with Heterogeneous Source ...
The rest of the following code steps the trackFuser and returns the fused tracks. function tracks = heterogeneousInputsFuser(localTracks,time) %#codegen ...
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