Error: Cannot find module 'ieee754' - while trying to run the lb command
Description/Steps to reproduce
I installed the Loopback using the command "npm install -g loopback-cli" the [email protected] was successfully installed.
after i run the command "lb" the cli threw an error
`module.js:538 throw err; ^
Error: Cannot find module 'ieee754'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.
Expected result
expecting the command to generate questions..
Thanks in advance
Additional information
Node version : 8.0 +
Same issue here! Other question is, install module ieee754 globally or in dev dependencies?
Having same issue on [email protected]
Temporary fix npm i -g ieee754 --save-dev and to get local working npm i ieee754 --save-dev
Cross posting from https://github.com/strongloop/loopback-next/issues/1367#issuecomment-392345837
swagger-api/swagger-js#1326 is the culprit.
Fixed by https://github.com/swagger-api/swagger-js/pull/1328