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.

1.0.0-rc.1 fails to compile.

See original GitHub issue

After upgrading package version to 1.0.0-rc.1 project build started to fail. Locking version to 1.0.0-beta.6 fixes the issue.

Angular compilation done, starting webpack bundling.
Error: Metadata version mismatch for module /root/node_modules/ng-select/dist/src/option.interface.d.ts, found version 4, expected 3
    at StaticSymbolResolver.getModuleMetadata (/root/node_modules/@angular/compiler/@angular/compiler.es5.js:25556:7)
    at StaticSymbolResolver._createSymbolsOf (/root/node_modules/@angular/compiler/@angular/compiler.es5.js:25344:10)
    at StaticSymbolResolver.getSymbolsOf (/root/node_modules/@angular/compiler/@angular/compiler.es5.js:25325:12)
    at /root/node_modules/@angular/compiler/bundles/compiler.umd.js:24214:30
    at Array.forEach (native)
    at extractProgramSymbols (/root/node_modules/@angular/compiler/@angular/compiler.es5.js:24183:55)
    at AotCompiler.analyzeModulesAsync (/root/node_modules/@angular/compiler/@angular/compiler.es5.js:23741:7)
    at CodeGenerator.codegen (/root/packages/compiler-cli/src/codegen.ts:41:10)
    at /root/node_modules/src/main.ts:19:84
    at Object.main (/tools/@angular/tsc-wrapped/src/main.ts:136:12)
    at Object.runInternal (/root/node_modules/src/main.ts:24:10)
    at /root/node_modules/src/plugin.ts:64:21
    at process._tickCallback (internal/process/next_tick.js:109:7)
    at Module.runMain (module.js:606:11)
    at run (bootstrap_node.js:383:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:496:3```

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
theodorejbcommented, Nov 2, 2017

@basvandenberg 1.0.0-rc.3 is working for me now. Thanks!

3reactions
basvandenbergcommented, Nov 2, 2017

I updated the build process, now using ng-packagr with angular-cli instead of my own homebrew gulp build-file. Not all to happy about the big change, but it is probably better for the future anyways.

I hope this solves the issue (and does not lead to other new issues…). I leave the ticket open for now, please let me know if it works. Let’s see what happens 😃.

Read more comments on GitHub >

github_iconTop Results From Across the Web

34927 – alsa-driver-1.0.0_rc1 not compile - Gentoo's Bugzilla
i try to merge alsa-driver-1.0.0_rc1, I have linux-2.6.0-test11-gentoo-r1 ... `/var/tmp/portage/alsa-driver-1.0.0_rc1/work/alsa-driver-1.0.0rc1/pci/trident' ...
Read more >
net-im/nheko fails to build from GURU overlay : r/Gentoo - Reddit
Build log * Repository: guru * Maintainer: gentoo@tastytea.de * USE: ... YES 1.20.1 Run-time dependency gstreamer-net-1.0 found: YES 1.20.1 ...
Read more >
ERROR: No matching distribution found for scipy==1.7.1
This specific error is from the package scipy==1.7.1 I have upgraded pip and python to its latest version but still getting this result....
Read more >
nvrtcCompileProgram: NVRTC_ERROR_COMPILATION
When I update to Theano 1.0.0rc1 and libgpuarray 0.7.4 and then go and try to compile my GPU Ops (i.e. as part of...
Read more >
52018 (dibbler @1.0.0RC1: ../Misc/Portable.h:323:48: error: expected
New install of dibbler fails to build whether attempted with no variant or with the universal variant. I am running OS X 11.6...
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