Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sungwoncho/meteor-1.3-beta-module-bug
https://github.com/sungwoncho/meteor-1.3-beta-module-bug
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sungwoncho/meteor-1.3-beta-module-bug
- Owner: sungwoncho
- Created: 2016-02-21T10:41:34.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-21T10:41:48.000Z (almost 9 years ago)
- Last Synced: 2024-11-01T11:07:04.087Z (2 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Meteor 1.3 beta module bug
## Steps
1. Clone the repo and run.
2. App throws:```
W20160221-21:38:04.880(11)? (STDERR)
W20160221-21:38:04.882(11)? (STDERR) /Users/mikecho/dev/meteor_projects/meteor-1.3-beta-module-bug/.meteor/local/build/programs/server/app/app.js:10
W20160221-21:38:04.883(11)? (STDERR) export {}; // 1
W20160221-21:38:04.883(11)? (STDERR) ^^^^^^
W20160221-21:38:04.883(11)? (STDERR) SyntaxError: Unexpected reserved word
W20160221-21:38:04.883(11)? (STDERR) at /Users/mikecho/dev/meteor_projects/meteor-1.3-beta-module-bug/.meteor/local/build/programs/server/boot.js:244:30
W20160221-21:38:04.884(11)? (STDERR) at Array.forEach (native)
W20160221-21:38:04.884(11)? (STDERR) at Function._.each._.forEach (/Users/mikecho/.meteor/packages/meteor-tool/.1.1.13-beta.11.1njovfl++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20160221-21:38:04.885(11)? (STDERR) at /Users/mikecho/dev/meteor_projects/meteor-1.3-beta-module-bug/.meteor/local/build/programs/server/boot.js:140:5
=> Exited with code: 8
```## Details
The following throws the above error:
```js
export {
};
```While the following does not:
```js
export {
undefined
}
```The following also does not throw:
```js
import something from 'something';export {
something
}
```