Closed bsrdjan closed 3 years ago
I'm assuming you haven't modified the project at all after initial creation?
No modifications. All steps shown in console log, no actions in between.
Could not reproduce, but I am running webpack 5.41.1. That might fixed the issue, literally same time as your issue :-) https://github.com/webpack/webpack/releases/tag/v5.41.1
Same issue with 5.41.1
For kicks and giggles, could you try using Yarn? I'm wondering if you have a cached version of some node module saved with NPM that's causing the issue... Could also try clearing your npm cache, that would also test that out.
I use nvm and tried with fresh new installed node versions and with npm cache clean. Just tried yarn and it did not help either. dumber
works.
Thanks, this works:
Do you want to install npm dependencies now? › Yes, use yarn
The issue happens if I answer "no" and install packages later. Can be closed as far I am concerned.
Are you using a npm repository proxy such as nexus?
The auto install happens in a process might have no access of your env variable.
No proxies at all. It is "plain" Macbook with corporate setup, but found out following.
The issue occurs when running npx makes in src
folder: /Users/SAPDevelop12345/src
When I move the app not working in that folder, to any other folder, it works fine.
npx makes
in any other folder works fine too.
Not sure if it is a bug, not necessarily of aurelia, or some strange setting of my Macbook. "src" is not found in env but IT might have done something else.
Moving project files from src
to dev
"solved" it for me.
Probably webpack resolved wrong location for some npm packages since the parent folder also have node_modules.
If your parent folder installed same aurelia 2 alpha version, the wrong resolution wouldn't cause any trouble. In your case, I am guessing webpack resolved some aurelia 2 core modules to the parent folder which has an older version of alpha?
I just got hit by this too, and apparently it's a circular dependency issue that recently been introduced. Should be fixed in the next dev version. Thanks @3cp @bsrdjan
The standard ES or TS app fails to start.
Steps to reproduce on Darwin 11.4 with node 14.17.0 or 16.3.0. Probably with other node versions too.