Estaba tratando de compilar una interfaz de sitio web de 2015 que utiliza una versión anterior de ember.js y node.js. Las instrucciones indican ejecutar make build , que a su vez ejecutaría ember build dist . Aunque cuando se ejecuta el comando, me da este error.
Cannot read property 'pkg' of null TypeError: Cannot read property 'pkg' of null at Function.Addon.resolvePath (/home/pyah/pyah/client/node_modules/ember-cli/lib/models/addon.js:347:18) at Function.Addon.lookup (/home/pyah/pyah/client/node_modules/ember-cli/lib/models/addon.js:362:22) at /home/pyah/pyah/client/node_modules/ember-cli/lib/models/project.js:222:34 at visit (/home/pyah/pyah/client/node_modules/ember-cli/lib/utilities/DAG.js:23:3) at DAG.topsort (/home/pyah/pyah/client/node_modules/ember-cli/lib/utilities/DAG.js:82:7) at Project.initializeAddons (/home/pyah/pyah/client/node_modules/ember-cli/lib/models/project.js:220:9) at Project.eachAddonCommand (/home/pyah/pyah/client/node_modules/ember-cli/lib/models/project.js:249:10) at module.exports (/home/pyah/pyah/client/node_modules/ember-cli/lib/cli/lookup-command.js:53:13) at CLI.<anonymous> (/home/pyah/pyah/client/node_modules/ember-cli/lib/cli/cli.js:36:26) at $$$internal$$tryCatch (/home/pyah/pyah/client/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:490:16) Este error se muestra incluso si solo se ejecuta ember en la terminal.
Versión de Node.js: v6.12.0
versión npm: 6.14.15
ember-cli versión: 0.1.5