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.
at t (C:\Users\dellAppData\Roaming\npmnode_modulesloopback-clinode_modules\swagger-client\dist\index.js:1:177)
at Object.
at Object.
at t (C:\Users\dellAppData\Roaming\npmnode_modulesloopback-clinode_modules\swagger-client\dist\index.js:1:177)
at Object.
expecting the command to generate questions..
Thanks in advance
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.
Most helpful comment
Temporary fix npm i -g ieee754 --save-dev and to get local working npm i ieee754 --save-dev