Skip to content

serve:src looks for external js files in src/app folder #25

Description

@systemutvecklare

When running task gulp serve:src I get the following errors that indicate som path configuration not being correct. The gulp serve:dist task works as expected. My guess is that is has to do with paths in require.config.js not beeing caught?!

Edit:
Problem had to do with '/' not working on Windows

Note, I'm running on Windows and had to replace '/' with '' in the transpilationConfig.skip section. But that should not affect this problem because it works as expected for serve:dist.

C:\dev\demo>gulp serve:src
[11:46:33] Using gulpfile C:\dev\demo\gulpfile.js
[11:46:33] Starting 'serve:src'...
[11:46:33] Finished 'serve:src' after 18 ms
[11:46:33] Server started http://localhost:8080
Error: ENOENT: no such file or directory, open 'C:\dev\demo\src\app\jquery.js'
    at Error (native)
Error: ENOENT: no such file or directory, open 'C:\dev\demo\src\app\bootstrap.js'
    at Error (native)
Error: ENOENT: no such file or directory, open 'C:\dev\demo\src\app\knockout.js'
    at Error (native)
Error: ENOENT: no such file or directory, open 'C:\dev\demo\src\app\knockout-projections.js'
    at Error (native)
Error: ENOENT: no such file or directory, open 'C:\dev\demo\src\app\crossroads.js'
    at Error (native)
Error: ENOENT: no such file or directory, open 'C:\dev\demo\src\app\hasher.js'
    at Error (native)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions