angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

ng server module _baseIteratee

Open KrzysiekWyka opened this issue 10 years ago • 7 comments

$ ng serve

module.js:341
    throw err;
    ^

Error: Cannot find module './_baseIteratee'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (G:\!!!PROJECTS!!!\angular2\example\node_modules\angular-cli\node_modules\lodash\_createFind.js:1:82)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)

KrzysiekWyka avatar Jun 08 '16 14:06 KrzysiekWyka

I have same problem, search for no solution found, MrDzlobak, have you fixed it ?

mgpeng avatar Jun 15 '16 00:06 mgpeng

Hm, weird error. Can you tell me your node version, npm version and angular-cli version?

filipesilva avatar Jun 15 '16 04:06 filipesilva

node v6.2.1 [email protected] [email protected]

$ ng error as following: module.js:442 throw err; ^

Error: Cannot find module 'ora' at Function.Module._resolveFilename (module.js:440:15) at Function.Module._load (module.js:388:25) at Module.require (module.js:468:17) at require (internal/module.js:20:19) at Object. (/Users/apple/Documents/xixijiu_ng-md/material2-backup-2/node_modules/ember-cli/lib/ui/index.js:3:24) at Module._compile (module.js:541:32) at Object.Module._extensions..js (module.js:550:10) at Module.load (module.js:458:32) at tryModuleLoad (module.js:417:12) at Function.Module._load (module.js:409:3)

mgpeng avatar Jun 15 '16 13:06 mgpeng

after some searching , I used "npm install ora" in local folder, solved this problem.

mgpeng avatar Jun 15 '16 13:06 mgpeng

npm install ora Resolve the problem. thanks @mgpeng

samirthebti avatar Jul 03 '16 21:07 samirthebti

Fixed by https://github.com/angular/angular-cli/pull/1250, should be in the next release.

filipesilva avatar Jul 03 '16 21:07 filipesilva

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.