HOW TO SOLVE IT? >> Error: Cannot find module '../../modules/es6.string.iterator'

what sould i do when i recieved that message:

Your app is crashing. Here’s the latest log:
C:\Users\amit-yiz\Google Drive\code\sidurim.meteor\local\build\programs\server\boot.js:348
}).run();
^

Error: Cannot find module '…/…/modules/es6.string.iterator’
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. (C:\Users\amit-yiz\Google Drive\code\sidurim\node_modules\core-js\library\fn\symbol\iterator.js:1:1)
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)
at require (internal/module.js:12:17)
Exited with code: 1
Your application is crashing. Waiting for file change.

meteor npm install --save babel-runtime did the trick for me- encountered this yesterday.

from which directory? the main of the app?

@taltal Yep - I did a meteor reset then ran that command from the project directory. If that doesn’t work I would try clearing out your ./versions file and trying again.

to delete everything from the versoins file?
or just one row?

this is what in the version file:

accounts-base@1.2.14
accounts-google@1.0.11
accounts-oauth@1.1.15
accounts-ui@1.1.9
accounts-ui-unstyled@1.1.13
allow-deny@1.0.5
autopublish@1.0.7
autoupdate@1.3.12
babel-compiler@6.13.0
babel-runtime@1.0.1
base64@1.0.10
binary-heap@1.0.10
blaze@2.2.0
blaze-html-templates@1.0.5
blaze-tools@1.0.10
boilerplate-generator@1.0.11
caching-compiler@1.1.9
caching-html-compiler@1.0.7
callback-hook@1.0.10
check@1.2.4
ddp@1.2.5
ddp-client@1.3.2
ddp-common@1.2.8
ddp-rate-limiter@1.0.6
ddp-server@1.3.12
deps@1.0.12
diff-sequence@1.0.7
ecmascript@0.6.1
ecmascript-runtime@0.3.15
ejson@1.0.13
es5-shim@4.6.15
fastclick@1.0.13
geojson-utils@1.0.10
google@1.1.15
hot-code-push@1.0.4
html-tools@1.0.11
htmljs@1.0.11
http@1.2.10
id-map@1.0.9
insecure@1.0.7
jquery@1.11.10
launch-screen@1.1.0
less@2.7.8
livedata@1.0.18
localstorage@1.0.12
logging@1.1.16
matb33:bootstrap-affix-js@10.0.0
matb33:bootstrap-alert-js@10.0.0
matb33:bootstrap-alerts@10.0.0
matb33:bootstrap-badges@10.0.0
matb33:bootstrap-base@10.0.0
matb33:bootstrap-breadcrumbs@10.0.0
matb33:bootstrap-button-groups@10.0.0
matb33:bootstrap-button-js@10.0.0
matb33:bootstrap-buttons@10.0.0
matb33:bootstrap-carousel@10.0.0
matb33:bootstrap-close-icon@10.0.0
matb33:bootstrap-code@10.0.0
matb33:bootstrap-collapse-js@10.0.0
matb33:bootstrap-component-animations@10.0.0
matb33:bootstrap-dropdowns@10.0.0
matb33:bootstrap-forms@10.0.0
matb33:bootstrap-full@10.0.0
matb33:bootstrap-glyphicons@10.0.0
matb33:bootstrap-grid@10.0.0
matb33:bootstrap-input-groups@10.0.0
matb33:bootstrap-jumbotron@10.0.0
matb33:bootstrap-labels@10.0.0
matb33:bootstrap-list-group@10.0.0
matb33:bootstrap-media-items@10.0.0
matb33:bootstrap-modal-js@10.0.0
matb33:bootstrap-modals@10.0.0
matb33:bootstrap-navbar@10.0.0
matb33:bootstrap-navs@10.0.0
matb33:bootstrap-pager@10.0.0
matb33:bootstrap-pagination@10.0.0
matb33:bootstrap-panels@10.0.0
matb33:bootstrap-popovers@10.0.0
matb33:bootstrap-print@10.0.0
matb33:bootstrap-progress-bars@10.0.0
matb33:bootstrap-responsive-embed@10.0.0
matb33:bootstrap-scrollspy-js@10.0.0
matb33:bootstrap-tab-js@10.0.0
matb33:bootstrap-tables@10.0.0
matb33:bootstrap-theme@10.0.0
matb33:bootstrap-thumbnails@10.0.0
matb33:bootstrap-tooltip@10.0.0
matb33:bootstrap-transition-js@10.0.0
matb33:bootstrap-type@10.0.0
matb33:bootstrap-wells@10.0.0
meteor@1.6.0
meteor-base@1.0.4
minifier-css@1.2.15
minifier-js@1.2.15
minimongo@1.0.19
mobile-experience@1.0.4
mobile-status-bar@1.0.13
modules@0.7.7
modules-runtime@0.7.7
mongo@1.1.14
mongo-id@1.0.6
npm-mongo@2.2.11_2
oauth@1.1.12
oauth2@1.1.11
observe-sequence@1.0.14
ordered-dict@1.0.9
promise@0.8.8
random@1.0.10
rate-limit@1.0.6
reactive-dict@1.1.8
reactive-var@1.0.11
reload@1.1.11
retry@1.0.9
routepolicy@1.0.12
service-configuration@1.0.11
session@1.1.7
shell-server@0.2.1
spacebars@1.0.13
spacebars-compiler@1.0.13
standard-minifier-css@1.3.2
standard-minifier-js@1.2.1
templating@1.2.15
templating-compiler@1.2.15
templating-runtime@1.2.15
templating-tools@1.0.5
tracker@1.1.1
ui@1.0.12
underscore@1.0.10
url@1.0.11
webapp@1.3.12
webapp-hashing@1.0.9

If installing babel-runtime itself doesn’t solve the problem I would suggest clearing the contents of your versions folder. This file the automatically generated by meteor based on your packages directory and will repopulate on the next rebuild. It has helped me in the past with version conflicts between versions.

2 Likes

thanks!! that worked!!