@angular@8.2.0-next.0: ERROR in ENOTDIR: not a directory, scandir *****/index.ts
See original GitHub issueπ bug report
Affected Package
Angular 8.2.0-next.0
I wasnβt able to compile an Ivy project using @angular@8.2.0-next.0 with Ivy enabled. It compiles using @angular 8.1.0
Is this a regression?
Yes, the previous version in which this bug was not present was: Angular 8.1.0-next.3
Description
Iβm trying to compile an existing project (@nrwl recommended structure) using Ivy
π¬ Minimal Reproduction
π₯ Exception or Error
ERROR in ENOTDIR: not a directory, scandir 'E:/Users/Juliano/Documents/Projetos/sa/sa-ui/saWorkspace/libs/issue-tracker/data-access/model/src/index.ts'
----------------------------------------------
10 silly lifecycle sa@0.0.0~build-pre: Args: [
10 silly lifecycle '/d /s /c',
10 silly lifecycle 'ng build --configuration=preproduction --base-href /tutoria/'
10 silly lifecycle ]
11 silly lifecycle sa@0.0.0~build-pre: Returned: code: 1 signal: null
12 info lifecycle sa@0.0.0~build-pre: Failed to exec build-pre script
13 verbose stack Error: sa@0.0.0 build-pre: `ng build --configuration=preproduction --base-href /tutoria/`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Users\Juliano\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:200:13)
13 verbose stack at ChildProcess.<anonymous> (C:\Users\Juliano\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:200:13)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid sa@0.0.0
15 verbose cwd E:\Users\Juliano\Documents\Projetos\sa\sa-ui\saWorkspace
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Juliano\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "build-pre"
18 verbose node v12.3.1
19 verbose npm v6.9.2
20 error code ELIFECYCLE
21 error errno 1
22 error sa@0.0.0 build-pre: `ng build --configuration=preproduction --base-href /tutoria/`
22 error Exit status 1
23 error Failed at the sa@0.0.0 build-pre script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
ENOTDIR: not a directory, scandir error on interactionCreate
This is evidenced by the error message which specifically states ./Events/interactionCreate.js is not a directory.
Read more >Bitbutcket sls deploy Error: ENOTDIR: not a directory, scandir
Hi, I need help with this error in bitbucket pipeline: docker image with python 3.8. Serverless: Excluding development dependencies.
Read more >ENOTDIR: not a directory Error - The freeCodeCamp Forum
hey there, I'm brand new to coding and I'm just trying to view my page and I keep getting this message in VSCode2...
Read more >Developers - Error: ENOTDIR: not a directory, scandir -
Error : ENOTDIR: not a directory, scandir. ... Posted by. See More. View in. SOLVE ISSUE. Overview; Backers (0); UpdatesΒ ...
Read more >ENOTDIR error on npm install (npm 3 over node 4. I know
error npm ERR! Linux 4.19.0-13-amd64 npm ERR! argv ... error errno -20 150456 error syscall open 150457 error ENOTDIR: not a directory,Β ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ng2-file-upload is on our radar. See https://docs.google.com/spreadsheets/d/1TEawfLbWQjqTDst2Jrm2KF6udMVMjuKiz8LG4NPD7WQ/edit#gid=0
Ahah! But running it targeted on the
linqts
does fail:leads to
which is what running via the CLI will do.
This will be fixed by https://github.com/angular/angular/pull/31509