apinf / openapi-designer

Design interface for creating Open API (Swagger) specification files
https://openapi.design
MIT License
69 stars 18 forks source link

Can't build Docker Image #364

Open matteobassan opened 5 years ago

matteobassan commented 5 years ago

I tried building Docker Image as stated in info, but got this error:

/build/node_modules/aurelia-cli/lib/build/utils.js:17
const PACKAGE_PATHS = require.resolve.paths('not-core/');
                                      ^

TypeError: require.resolve.paths is not a function
    at Object.<anonymous> (/build/node_modules/aurelia-cli/lib/build/utils.js:17:39)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/build/node_modules/aurelia-cli/lib/project-item.js:4:15)
    at Module._compile (module.js:541:32)
The command '/bin/sh -c au build --env $env' returned a non-zero code: 1

I tried to switch to another base image (webgnostics/aurelia) and editing package.json updating packages, but i'm still getting the same error.