ampproject / ampproject/ampstart

Build fails on Windows.

Open
#883 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
415
Forks
147
PR merge metrics
No merged PRs in 30d

Description

`npm run build`

```
...
[13:21:21] Starting '_packageTemplates'...
Bundling: alp
Finished Bundling: alp
Bundling: themes_2
Finished Bundling: themes_2
C:\...\ampstart\node_modules\fs-extra\lib\mkdirs\mkdirs-sync.js:20
throw errInval
^

Error: C:\...\ampstart\.archive\alp\C:\Users\...\ampstart\dist\templates contains invalid WIN32 path characters.
```

Where `...` is my local path to the project `Users\******\Documnets\projects\`

Contributor guide

Open the contributing guide

Research direction

Start by running `npm run build` on Windows and follow the `_packageTemplates` step that reports the invalid WIN32 path. Investigate the path handling around the `.archive` and `dist\templates` locations; done means the build completes successfully on Windows without the invalid-path error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.