Exclamation mark in the filepath #135

Closed
opened 2025-08-09 17:15:08 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @Eilon on 3/12/2018

From @S0und on March 11, 2018 15:15

I'm not internally sure if i'm posting this at the right place.

I started learning, dotnetcore + angular a few days ago, and i run into a frustrating issue:

"Content root path: F:\VS2012!dotNetCore\vega"
notice the Exclamation mark in the filepath: !dotNetCore

F:\VS2012\!dotNetCore\vega>dotnet watch run
watch : Started
Hosting environment: Development
Content root path: F:\VS2012\!dotNetCore\vega
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
fail: Microsoft.AspNetCore.NodeServices[0]
      Hash: 948b4c81daa498cd5248
      Version: webpack 2.5.1
      Time: 10553ms
                   Asset     Size  Chunks                    Chunk Names
          main-client.js  2.91 MB       0  [emitted]  [big]  main-client
      main-client.js.map  3.52 MB       0  [emitted]         main-client
      chunk    {0} main-client.js, main-client.js.map (main-client) 2.78 MB [entry] [rendered]
          [1] ./~/@angular/core/@angular/core.es5.js 489 kB {0} [built]
         [37] ./ClientApp/boot.browser.ts 989 bytes {0} [built]
         [38] ./~/event-source-polyfill/eventsource.js 22.2 kB {0} [built]
         [39] (webpack)-hot-middleware/client.js?path=__webpack_hmr&dynamicPublicPath=true 6.68 kB {0} [built]
         [42] ./~/@angular/platform-browser-dynamic/@angular/platform-browser-dynamic.es5.js 5.88 kB {0} [built]
         [46] ./ClientApp/app/app.browser.module.ts 1.35 kB {0} [built]
         [52] ./~/bootstrap/dist/js/npm.js 484 bytes {0} [built]
         [76] ./~/querystring-es3/index.js 127 bytes {0} [built]
         [77] ./~/reflect-metadata/Reflect.js 48 kB {0} [built]
        [106] ./~/strip-ansi/index.js 161 bytes {0} [built]
        [109] (webpack)-hot-middleware/client-overlay.js 1.82 kB {0} [built]
        [110] (webpack)-hot-middleware/process-update.js 3.88 kB {0} [built]
        [111] (webpack)/buildin/module.js 517 bytes {0} [built]
        [112] ./~/zone.js/dist/zone.js 96 kB {0} [built]
        [113] multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts 52 bytes {0} [built]
           + 99 hidden modules

      WARNING in ./~/@angular/core/@angular/core.es5.js
      5704:15-36 Critical dependency: the request of a dependency is an expression

      WARNING in ./~/@angular/core/@angular/core.es5.js
      5720:15-102 Critical dependency: the request of a dependency is an expression

      ERROR in ./ClientApp/app/components/app/app.component.css
      Module not found: Error: Can't resolve '../../../../../..' in 'F:\VS2012\!dotNetCore\vega\ClientApp\app\components\app'
       @ ./ClientApp/app/components/app/app.component.css 2:21-181
       @ ./ClientApp/app/components/app/app.component.ts
       @ ./ClientApp/app/app.browser.module.ts
       @ ./ClientApp/boot.browser.ts
       @ multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts

      ERROR in ./ClientApp/app/components/navmenu/navmenu.component.css
      Module not found: Error: Can't resolve '../../../../../..' in 'F:\VS2012\!dotNetCore\vega\ClientApp\app\components\navmenu'
       @ ./ClientApp/app/components/navmenu/navmenu.component.css 2:21-189
       @ ./ClientApp/app/components/navmenu/navmenu.component.ts
       @ ./ClientApp/app/app.shared.module.ts
       @ ./ClientApp/app/app.browser.module.ts
       @ ./ClientApp/boot.browser.ts
       @ multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts

If i remove the (!) from the filepath, everything works just fine.

Copied from original issue: aspnet/Home#2945

*Originally created by @Eilon on 3/12/2018* _From @S0und on March 11, 2018 15:15_ I'm not internally sure if i'm posting this at the right place. I started learning, dotnetcore + angular a few days ago, and i run into a frustrating issue: "Content root path: F:\VS2012\!dotNetCore\vega" notice the Exclamation mark in the filepath: !dotNetCore ``` F:\VS2012\!dotNetCore\vega>dotnet watch run watch : Started Hosting environment: Development Content root path: F:\VS2012\!dotNetCore\vega Now listening on: http://localhost:5000 Application started. Press Ctrl+C to shut down. fail: Microsoft.AspNetCore.NodeServices[0] Hash: 948b4c81daa498cd5248 Version: webpack 2.5.1 Time: 10553ms Asset Size Chunks Chunk Names main-client.js 2.91 MB 0 [emitted] [big] main-client main-client.js.map 3.52 MB 0 [emitted] main-client chunk {0} main-client.js, main-client.js.map (main-client) 2.78 MB [entry] [rendered] [1] ./~/@angular/core/@angular/core.es5.js 489 kB {0} [built] [37] ./ClientApp/boot.browser.ts 989 bytes {0} [built] [38] ./~/event-source-polyfill/eventsource.js 22.2 kB {0} [built] [39] (webpack)-hot-middleware/client.js?path=__webpack_hmr&dynamicPublicPath=true 6.68 kB {0} [built] [42] ./~/@angular/platform-browser-dynamic/@angular/platform-browser-dynamic.es5.js 5.88 kB {0} [built] [46] ./ClientApp/app/app.browser.module.ts 1.35 kB {0} [built] [52] ./~/bootstrap/dist/js/npm.js 484 bytes {0} [built] [76] ./~/querystring-es3/index.js 127 bytes {0} [built] [77] ./~/reflect-metadata/Reflect.js 48 kB {0} [built] [106] ./~/strip-ansi/index.js 161 bytes {0} [built] [109] (webpack)-hot-middleware/client-overlay.js 1.82 kB {0} [built] [110] (webpack)-hot-middleware/process-update.js 3.88 kB {0} [built] [111] (webpack)/buildin/module.js 517 bytes {0} [built] [112] ./~/zone.js/dist/zone.js 96 kB {0} [built] [113] multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts 52 bytes {0} [built] + 99 hidden modules WARNING in ./~/@angular/core/@angular/core.es5.js 5704:15-36 Critical dependency: the request of a dependency is an expression WARNING in ./~/@angular/core/@angular/core.es5.js 5720:15-102 Critical dependency: the request of a dependency is an expression ERROR in ./ClientApp/app/components/app/app.component.css Module not found: Error: Can't resolve '../../../../../..' in 'F:\VS2012\!dotNetCore\vega\ClientApp\app\components\app' @ ./ClientApp/app/components/app/app.component.css 2:21-181 @ ./ClientApp/app/components/app/app.component.ts @ ./ClientApp/app/app.browser.module.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts ERROR in ./ClientApp/app/components/navmenu/navmenu.component.css Module not found: Error: Can't resolve '../../../../../..' in 'F:\VS2012\!dotNetCore\vega\ClientApp\app\components\navmenu' @ ./ClientApp/app/components/navmenu/navmenu.component.css 2:21-189 @ ./ClientApp/app/components/navmenu/navmenu.component.ts @ ./ClientApp/app/app.shared.module.ts @ ./ClientApp/app/app.browser.module.ts @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts ``` If i remove the (!) from the filepath, everything works just fine. _Copied from original issue: aspnet/Home#2945_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#135
No description provided.