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.

Build source code breaks

See original GitHub issue

🐛 Bug Report

Trying to follow instruction how to build source code here - breaks the build.

git clone https://github.com/aurelia/aurelia.git && cd aurelia
npm ci
npm run build

🤔 Expected Behavior

Build source code without an error.

😯 Current Behavior

Breaks down with an error on the 3rd command from the instruction: npm run build

verb @aurelia/kernel build failed, took 1.74s
info [Tasks Count] success: 4, skipped: 0, incomplete: 2
info ----------------------------------------------
ERR! [@aurelia/kernel build] ERROR DETECTED
ERR! started
ERR! Running C:\Program Files\nodejs\npm.CMD run build
ERR! > @aurelia/kernel@0.9.0 build
ERR! > tsc -b
ERR! src/platform.ts(1,26): error TS2307: Cannot find module '@aurelia/platform' or its corresponding type declarations.
ERR! src/resource.ts(1,26): error TS2307: Cannot find module '@aurelia/metadata' or its corresponding type declarations.
ERR! src/di.ts(1,59): error TS2307: Cannot find module '@aurelia/metadata' or its corresponding type declarations.
ERR! src/logger.ts(5,26): error TS2307: Cannot find module '@aurelia/metadata' or its corresponding type declarations.
ERR! src/logger.ts(334,24): error TS2339: Property 'console' does not exist on type 'IPlatform'.
ERR! src/index.ts(14,8): error TS2307: Cannot find module '@aurelia/platform' or its corresponding type declarations.
ERR! src/index.ts(63,8): error TS2307: Cannot find module '@aurelia/metadata' or its corresponding type declarations.
ERR!  ERR! code 1
ERR! npm ERR! path d:\dev\GitHub\aurelia\aurelia\packages\kernel
ERR!  command failed
ERR! npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c tsc -b
ERR! npm ERR! A complete log of this run can be found in:
ERR! npm ERR!     C:\Users\Nenad\AppData\Local\npm-cache\_logs\2021-02-06T14_42_29_559Z-debug.log
ERR! failed
info ----------------------------------------------
info Took a total of 3.09s to complete
npm ERR! code 1
npm ERR! path d:\dev\GitHub\aurelia\aurelia
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c lage build --scope @aurelia/* --scope aurelia --scope au --scope @benchmarking-apps/* --no-cache --verbose --no-deps

🌍 Your Environment

Software Version(s)
Aurelia master branch -> SHA-1: fe528ff762832274cddd9d1203e5699551518c71
Language
Browser
Bundler
Operating System Windows 10
NPM/Node/Yarn 7.5.2 / v14.15.4 / –

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
bigoponcommented, Apr 23, 2021

I think we’ve got a few improvement to the development aspect of the repo. I’ll close this. Please open a new one if you are still hitting some issues. Thanks.

1reaction
bigoponcommented, Feb 13, 2021

everyone needs a small break to comeback stronger 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Breaking the Build, Why is it a bad thing? - Stack Overflow
Breaking the build means that you committed code to a shared repository that either (a) does not compile, or ...
Read more >
Anyone can compile open source code in these three simple ...
You go to a website or a code management site like GitLab, SourceForge, or GitHub. Typically, open source software is available in both...
Read more >
What does 'don't break the build' really mean in the software ...
“Breaking the build” is when a) a developer makes changes to the code that cause some step in that process to fail, and...
Read more >
+build directives in go source files breaks code navigation
When source files include // +build directives, code navigation is broken. ... Removing the build directive comment and reload window and code ......
Read more >
How one programmer broke the internet by deleting a tiny ...
A man in Oakland, California, disrupted web development around the world last week by deleting 11 lines of code.
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