Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Build Not Completing #1

Open
codehtmai opened this issue Oct 3, 2018 · 4 comments
Open

Build Not Completing #1

codehtmai opened this issue Oct 3, 2018 · 4 comments

Comments

@codehtmai
Copy link

How long is the npx arcgispack build supposed to take? I let it run overnight, and no dice. It's sitting on the "building the API" step. I'm on WSL Ubuntu, and have also tried it on a clean Docker Alpine container.

@codehtmai codehtmai changed the title Build Time Build Not Completing Oct 3, 2018
@g3r4n
Copy link
Owner

g3r4n commented Oct 5, 2018

Hi, thank you for your feedback. It's taking 250s on my Windows machine.
Will give a try on a docker image and come back to you.

@codehtmai
Copy link
Author

I did end up getting an error, on both machines:

Error: No module factory available for dependency type: CommonJsRequireDependency at addDependency (/mnt/c/code/LanganProjectsNext/node_modules/arcgispack/node_modules/webpack/lib/Compilation.js:669:12) at iterationOfArrayCallback (/mnt/c/code/LanganProjectsNext/node_modules/arcgispack/node_modules/webpack/lib/Compilation.js:186:3) at addDependenciesBlock (/mnt/c/code/LanganProjectsNext/node_modules/arcgispack/node_modules/webpack/lib/Compilation.js:687:5) at Compilation.processModuleDependencies (/mnt/c/code/LanganProjectsNext/node_modules/arcgispack/node_modules/webpack/lib/Compilation.js:698:4)

@g3r4n
Copy link
Owner

g3r4n commented Oct 17, 2018

I've done more test and find out that adding the arcgispack in a existing project with babel config and webpack config the project is crashing because of node_modules link.
I think the best way to use arcgispack is to build your bundle outside of any project.
I'll add more information about this process in the ReadMe

@codehtmai
Copy link
Author

Ok, that seems reasonable. I'll try having our CI build that first and then add it to /public before the project build.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants