Install error with V0.4.0 : Cannot find module '../utils'
philohelp opened this issue · comments
mantra g component core:myEditor -c
module.js:327
throw err;
^
Error: Cannot find module '../utils'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/usr/local/lib/node_modules/mantra-cli/dist/cli.js:13:14)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
I had to downgrade to 0.4.0-rc.4 then everything works again.
me too
In cli.js
import {readConfig} from '../utils';
should be import {readConfig} from './utils';
Hi @sungwoncho , I created a PR for this one. Thanks.