openapi-designer
openapi-designer copied to clipboard
Can't build Docker Image
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.