loganfsmyth / babel-plugin-transform-decorators-legacy

A plugin for Babel 6 that (mostly) replicates the old decorator behavior from Babel 5
MIT License
817 stars 57 forks source link

ReferenceError: Unknown plugin - When deploying to CI sever (Cadetship) #12

Closed tomitrescak closed 8 years ago

tomitrescak commented 8 years ago

Hi

Am getting the Unknown plugin error when deploying to CI server. Do you have any idea what could be the cause?

My webpack configuration is following:

var webpack = require('webpack');

var babelSettings = { presets: ['react', 'es2015', 'stage-0'] };
babelSettings.plugins = ['transform-decorators-legacy'];

module.exports = {
  entry: './entry',
  module: {
    loaders: [
      { test: /\.tsx?$/, loader: 'babel?' + JSON.stringify(babelSettings) + '!awesome-typescript', exclude: /node_modules|lib/ },
      { test: /\.jsx?$/, loader: 'babel', query: babelSettings, exclude: /node_modules/ },
      { test: /\.css$/, loader: 'null' },
      { test: /\.(png|jpe?g)(\?.*)?$/, loader: 'url?limit=8182' },
      { test: /\.(svg|ttf|woff2?|eot)(\?.*)?$/, loader: 'file' }
    ]
  }
};

if (process.env.NODE_ENV !== 'production') {
  var ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin;
  module.exports.plugins = [new ForkCheckerPlugin()]
}

This is the error I am recieveing:

Errors prevented bundling:
While processing files with webpack:webpack (for target web.browser):
entry/client/webpack.conf.js: ./entry/client/entry.js
Module build failed: ReferenceError: Unknown plugin
"transform-decorators-legacy" specified in "base" at 0, attempted to resolve
relative to
"/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/entry/client"
at
/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/options/option-manager.js:193:17
loganfsmyth commented 8 years ago

You sure the plugin is properly in your package.json so it'll get installed?

tomitrescak commented 8 years ago

@loganfsmyth .. 100% here is a full log (am a bit deperate here). All works locally with no problems but 2 different CI environments give this error.

Meteor project detected...

Changes to your project's package version selections:

alanning:roles                removed from your project
aldeed:collection2            removed from your project
aldeed:simple-schema          removed from your project
brentjanderson:kinetic        removed from your project
edgee:slingshot               removed from your project
fermuch:pickadate             removed from your project
juliancwirko:s-alert          removed from your project
juliancwirko:s-alert-flip     removed from your project
kadira:debug                  removed from your project
keyboardjs:keyboardjs         removed from your project
meteorhacks:kadira            removed from your project
meteorhacks:meteorx           removed from your project
meteorhacks:subs-manager      removed from your project
mongo-livedata                removed from your project
softwarerero:accounts-t9n     removed from your project
stevezhu:lodash               removed from your project
tomi:accounts-ui-semantic-js  removed from your project
tomi:diff                     removed from your project
tomi:typescript-utils         removed from your project
tomi:upload-s3                removed from your project
udondan:jszip                 removed from your project

WARNING: The output directory is under your source tree.

Installing local NPM...
/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm
npm@3.5.2 
abbrev@1.0.7 
ansi-regex@2.0.0 
ansicolors@0.3.2 
ansistyles@0.1.3 
aproba@1.0.1 
archy@1.0.0 
async-some@1.0.2 
chownr@1.0.1 
cmd-shim@2.0.1 
graceful-fs@3.0.8 
columnify@1.5.2 
wcwidth@1.0.0 
defaults@1.0.3 
clone@1.0.2 
config-chain@1.1.9 
proto-list@1.2.4 
debuglog@1.0.1 
dezalgo@1.0.3 
asap@2.0.3 
editor@1.0.0 
fs-vacuum@1.2.7 
fs-write-stream-atomic@1.0.5 
fstream@1.0.8 
fstream-npm@1.0.7 
fstream-ignore@1.0.3 
minimatch@3.0.0 
brace-expansion@1.1.1 
balanced-match@0.2.1 
concat-map@0.0.1 
glob@5.0.15 
minimatch@3.0.0 
brace-expansion@1.1.1 
balanced-match@0.2.0 
concat-map@0.0.1 
path-is-absolute@1.0.0 
graceful-fs@4.1.2 
has-unicode@1.0.1 
hosted-git-info@2.1.4 
iferr@0.1.5 
imurmurhash@0.1.4 
inflight@1.0.4 
inherits@2.0.1 
ini@1.3.4 
init-package-json@1.9.1 
promzard@0.3.0 
lockfile@1.0.1 
lodash._baseindexof@3.1.0 
lodash._baseuniq@3.0.3 
lodash._bindcallback@3.0.1 
lodash._cacheindexof@3.0.2 
lodash._createcache@3.1.2 
lodash._getnative@3.9.1 
lodash.clonedeep@3.0.2 
lodash._baseclone@3.3.0 
lodash._arraycopy@3.0.0 
lodash._arrayeach@3.0.0 
lodash._baseassign@3.2.0 
lodash._basecopy@3.0.1 
lodash._basefor@3.0.2 
lodash.isarguments@3.0.4 
lodash.isarray@3.0.4 
lodash.keys@3.1.2 
lodash.restparam@3.6.1 
lodash.union@3.1.0 
lodash._baseflatten@3.1.4 
lodash.uniq@3.2.2 
lodash._basecallback@3.3.1 
lodash._baseisequal@3.0.7 
lodash.istypedarray@3.0.2 
lodash.pairs@3.0.1 
lodash._isiterateecall@3.0.9 
lodash.without@3.2.1 
lodash._basedifference@3.0.3 
mkdirp@0.5.1 
minimist@0.0.8 
node-gyp@3.2.1 
glob@4.5.3 
minimatch@2.0.10 
brace-expansion@1.1.2 
balanced-match@0.3.0 
concat-map@0.0.1 
minimatch@1.0.0 
lru-cache@2.7.3 
sigmund@1.0.1 
npmlog@1.2.1 
ansi@0.3.0 
are-we-there-yet@1.0.4 
delegates@0.1.0 
readable-stream@1.1.13 
core-util-is@1.0.2 
isarray@0.0.1 
string_decoder@0.10.31 
gauge@1.2.2 
lodash.pad@3.1.1 
lodash._basetostring@3.0.1 
lodash._createpadding@3.6.1 
lodash.repeat@3.0.1 
lodash.padleft@3.1.1 
lodash._basetostring@3.0.1 
lodash._createpadding@3.6.1 
lodash.repeat@3.0.1 
lodash.padright@3.1.1 
lodash._basetostring@3.0.1 
lodash._createpadding@3.6.1 
lodash.repeat@3.0.1 
path-array@1.0.0 
array-index@0.1.1 
debug@2.2.0 
ms@0.7.1 
nopt@3.0.4 
normalize-git-url@3.0.1 
normalize-package-data@2.3.5 
is-builtin-module@1.0.0 
builtin-modules@1.1.0 
npm-cache-filename@1.0.2 
npm-install-checks@2.0.1 
npmlog@1.2.1 
ansi@0.3.0 
are-we-there-yet@1.0.4 
delegates@0.1.0 
readable-stream@1.1.13 
core-util-is@1.0.1 
isarray@0.0.1 
string_decoder@0.10.31 
gauge@1.2.2 
lodash.pad@3.1.1 
lodash._basetostring@3.0.1 
lodash._createpadding@3.6.1 
lodash.repeat@3.0.1 
lodash.padleft@3.1.1 
lodash._basetostring@3.0.1 
lodash._createpadding@3.6.1 
lodash.repeat@3.0.1 
lodash.padright@3.1.1 
lodash._basetostring@3.0.1 
lodash._createpadding@3.6.1 
lodash.repeat@3.0.1 
npm-package-arg@4.1.0 
npm-registry-client@7.0.9 
concat-stream@1.5.1 
readable-stream@2.0.4 
core-util-is@1.0.2 
isarray@0.0.1 
process-nextick-args@1.0.3 
string_decoder@0.10.31 
util-deprecate@1.0.2 
typedarray@0.0.6 
npm-user-validate@0.1.2 
npmlog@2.0.0 
ansi@0.3.0 
are-we-there-yet@1.0.4 
delegates@0.1.0 
readable-stream@1.1.13 
core-util-is@1.0.1 
isarray@0.0.1 
string_decoder@0.10.31 
gauge@1.2.2 
lodash.pad@3.1.1 
lodash._basetostring@3.0.1 
lodash._createpadding@3.6.1 
lodash.repeat@3.0.1 
lodash.padleft@3.1.1 
lodash._basetostring@3.0.1 
lodash._createpadding@3.6.1 
lodash.repeat@3.0.1 
lodash.padright@3.1.1 
lodash._basetostring@3.0.1 
lodash._createpadding@3.6.1 
lodash.repeat@3.0.1 
once@1.3.2 
opener@1.4.1 
osenv@0.1.3 
os-homedir@1.0.1 
os-tmpdir@1.0.1 
path-is-inside@1.0.1 
read@1.0.7 
mute-stream@0.0.5 
read-cmd-shim@1.0.1 
read-installed@4.0.3 
util-extend@1.0.1 
read-package-json@2.0.2 
json-parse-helpfulerror@1.0.3 
jju@1.2.1 
read-package-tree@5.1.2 
readdir-scoped-modules@1.0.2 
realize-package-specifier@3.0.1 
request@2.65.0 
aws-sign2@0.6.0 
bl@1.0.0 
readable-stream@2.0.2 
core-util-is@1.0.1 
isarray@0.0.1 
process-nextick-args@1.0.3 
string_decoder@0.10.31 
util-deprecate@1.0.2 
caseless@0.11.0 
combined-stream@1.0.5 
delayed-stream@1.0.0 
extend@3.0.0 
forever-agent@0.6.1 
form-data@1.0.0-rc3 
async@1.4.2 
har-validator@2.0.2 
chalk@1.1.1 
ansi-styles@2.1.0 
escape-string-regexp@1.0.3 
has-ansi@2.0.0 
supports-color@2.0.0 
commander@2.9.0 
graceful-readlink@1.0.1 
is-my-json-valid@2.12.2 
generate-function@2.0.0 
generate-object-property@1.2.0 
is-property@1.0.2 
jsonpointer@2.0.0 
xtend@4.0.0 
pinkie-promise@1.0.0 
pinkie@1.0.0 
hawk@3.1.0 
boom@2.9.0 
cryptiles@2.0.5 
hoek@2.16.3 
sntp@1.0.9 
http-signature@0.11.0 
asn1@0.1.11 
assert-plus@0.1.5 
ctype@0.5.3 
isstream@0.1.2 
json-stringify-safe@5.0.1 
mime-types@2.1.7 
mime-db@1.19.0 
node-uuid@1.4.3 
oauth-sign@0.8.0 
qs@5.2.0 
stringstream@0.0.4 
tough-cookie@2.2.0 
tunnel-agent@0.4.1 
retry@0.8.0 
rimraf@2.4.3 
semver@5.0.3 
sha@2.0.1 
readable-stream@2.0.2 
core-util-is@1.0.1 
isarray@0.0.1 
process-nextick-args@1.0.3 
string_decoder@0.10.31 
util-deprecate@1.0.2 
slide@1.1.6 
sorted-object@1.0.0 
strip-ansi@3.0.0 
tar@2.2.1 
block-stream@0.0.8 
text-table@0.2.0 
uid-number@0.0.6 
umask@1.1.0 
unique-filename@1.1.0 
unique-slug@2.0.0 
unpipe@1.0.0 
validate-npm-package-license@3.0.1 
spdx-correct@1.0.1 
spdx-license-ids@1.0.2 
spdx-expression-parse@1.0.0 
spdx-exceptions@1.0.3 
validate-npm-package-name@2.2.2 
builtins@0.0.7 
which@1.2.0 
is-absolute@0.1.7 
is-relative@0.1.3 
wrappy@1.0.1 
write-file-atomic@1.1.4 

Installing NPM dependencies for the web bundle...
WARN engine deasync@0.1.1: wanted: {"node":">=0.11.0"} (current: {"node":"0.10.40","npm":"3.5.2"})
WARN engine postcss@5.0.13: wanted: {"node":">=0.12"} (current: {"node":"0.10.40","npm":"3.5.2"})
WARN engine csso@1.4.4: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.40","npm":"3.5.2"})
`linux-x64-node-0.10` exists; testing
Binary is fine; exiting
webpack-internal-package@0.0.0 /home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm
awesome-typescript-loader@0.14.2 
bluebird@2.10.2 
colors@1.1.2 
deasync@0.1.1 
bindings@1.2.1 
nan@2.1.0 
loader-utils@0.2.12 
big.js@3.1.3 
lodash@3.10.1 
object-assign@2.1.1 
babel-core@6.3.17 
babel-code-frame@6.3.13 
babel-runtime@5.8.34 
chalk@1.1.1 
ansi-styles@2.1.0 
escape-string-regexp@1.0.3 
has-ansi@2.0.0 
ansi-regex@2.0.0 
strip-ansi@3.0.0 
supports-color@2.0.0 
esutils@2.0.2 
js-tokens@1.0.2 
line-numbers@0.2.0 
left-pad@0.0.3 
repeating@1.1.3 
is-finite@1.0.1 
number-is-nan@1.0.0 
babel-generator@6.3.19 
babel-runtime@5.8.34 
detect-indent@3.0.1 
get-stdin@4.0.1 
minimist@1.2.0 
is-integer@1.0.6 
trim-right@1.0.1 
babel-helpers@6.3.13 
babel-runtime@5.8.34 
babel-messages@6.3.18 
babel-runtime@5.8.34 
babel-register@6.3.13 
babel-runtime@5.8.34 
home-or-tmp@1.0.0 
os-tmpdir@1.0.1 
user-home@1.1.1 
source-map-support@0.2.10 
source-map@0.1.32 
babel-runtime@5.8.34 
babel-template@6.3.13 
babel-runtime@5.8.34 
babel-traverse@6.3.19 
babel-runtime@5.8.34 
globals@8.15.0 
invariant@2.2.0 
babel-types@6.3.18 
babel-runtime@5.8.34 
to-fast-properties@1.0.1 
babylon@6.3.18 
babel-runtime@5.8.34 
convert-source-map@1.1.2 
debug@2.2.0 
ms@0.7.1 
json5@0.4.0 
minimatch@2.0.10 
brace-expansion@1.1.2 
balanced-match@0.3.0 
concat-map@0.0.1 
path-exists@1.0.0 
path-is-absolute@1.0.0 
private@0.1.6 
shebang-regex@1.0.0 
slash@1.0.0 
source-map@0.5.3 
babel-loader@6.2.0 
object-assign@4.0.1 
babel-plugin-react-transform@2.0.0-beta1 
array-find@1.0.0 
babel-plugin-transform-decorators-legacy@1.3.1 
babel-plugin-syntax-decorators@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-runtime@6.3.13 
babel-runtime@5.8.34 
babel-preset-es2015@6.3.13 
babel-plugin-check-es2015-constants@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-arrow-functions@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-block-scoped-functions@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-block-scoping@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-classes@6.3.15 
babel-helper-define-map@6.3.13 
babel-runtime@5.8.34 
babel-helper-function-name@6.3.15 
babel-runtime@5.8.34 
babel-helper-optimise-call-expression@6.3.13 
babel-runtime@5.8.34 
babel-helper-replace-supers@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-computed-properties@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-destructuring@6.3.15 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-for-of@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-function-name@6.3.19 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-literals@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-modules-commonjs@6.3.16 
babel-plugin-transform-strict-mode@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-object-super@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-parameters@6.3.18 
babel-helper-call-delegate@6.3.13 
babel-helper-hoist-variables@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-helper-get-function-arity@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-shorthand-properties@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-spread@6.3.14 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-sticky-regex@6.3.13 
babel-helper-regex@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-template-literals@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-typeof-symbol@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-es2015-unicode-regex@6.3.13 
babel-runtime@5.8.34 
regexpu@1.3.0 
recast@0.10.39 
ast-types@0.8.12 
esprima-fb@15001.1001.0-dev-harmony-fb 
regenerate@1.2.1 
regjsgen@0.2.0 
regjsparser@0.1.5 
jsesc@0.5.0 
babel-plugin-transform-regenerator@6.3.18 
babel-plugin-syntax-async-functions@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-preset-react@6.3.13 
babel-plugin-syntax-flow@6.3.13 
babel-runtime@5.8.34 
babel-plugin-syntax-jsx@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-flow-strip-types@6.3.15 
babel-runtime@5.8.34 
babel-plugin-transform-react-display-name@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-react-jsx@6.3.13 
babel-helper-builder-react-jsx@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-transform-react-jsx-source@6.3.13 
babel-runtime@5.8.34 
babel-preset-stage-0@6.3.13 
babel-plugin-transform-do-expressions@6.3.13 
babel-plugin-syntax-do-expressions@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-transform-function-bind@6.3.13 
babel-plugin-syntax-function-bind@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-preset-stage-1@6.3.13 
babel-plugin-transform-class-constructor-call@6.3.13 
babel-plugin-syntax-class-constructor-call@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-transform-class-properties@6.3.13 
babel-plugin-syntax-class-properties@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-transform-decorators@6.3.13 
babel-helper-explode-class@6.3.13 
babel-helper-bindify-decorators@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-transform-export-extensions@6.3.13 
babel-plugin-syntax-export-extensions@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-preset-stage-2@6.3.13 
babel-plugin-syntax-trailing-function-commas@6.3.13 
babel-runtime@5.8.34 
babel-plugin-transform-object-rest-spread@6.3.13 
babel-plugin-syntax-object-rest-spread@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-preset-stage-3@6.3.13 
babel-plugin-transform-async-to-generator@6.3.13 
babel-helper-remap-async-to-generator@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-transform-exponentiation-operator@6.3.13 
babel-helper-builder-binary-assignment-operator-visitor@6.3.13 
babel-helper-explode-assignable-expression@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-plugin-syntax-exponentiation-operator@6.3.13 
babel-runtime@5.8.34 
babel-runtime@5.8.34 
babel-runtime@6.3.19 
core-js@1.2.6 
css-loader@0.23.0 
css-selector-tokenizer@0.5.4 
cssesc@0.1.0 
fastparse@1.1.1 
cssnano@3.4.0 
autoprefixer@6.1.2 
browserslist@1.0.1 
caniuse-db@1.0.30000377 
num2fraction@1.2.2 
decamelize@1.1.1 
defined@1.0.0 
indexes-of@1.0.1 
object-assign@4.0.1 
postcss-calc@5.0.0 
postcss-message-helpers@2.0.0 
reduce-css-calc@1.2.0 
balanced-match@0.1.0 
reduce-function-call@1.0.1 
balanced-match@0.1.0 
postcss-colormin@2.1.7 
colr-convert@1.0.5 
css-color-names@0.0.2 
postcss-convert-values@2.3.4 
postcss-discard-comments@2.0.2 
postcss-discard-duplicates@2.0.0 
postcss-discard-empty@2.0.0 
postcss-discard-unused@2.1.0 
flatten@0.0.1 
uniqs@2.0.0 
postcss-filter-plugins@2.0.0 
uniqid@1.0.0 
postcss-merge-idents@2.1.3 
has-own@1.0.0 
postcss-merge-longhand@2.0.1 
postcss-merge-rules@2.0.3 
postcss-minify-font-values@1.0.2 
object-assign@4.0.1 
postcss-minify-gradients@1.0.1 
postcss-minify-params@1.0.4 
alphanum-sort@1.0.2 
postcss-minify-selectors@2.0.1 
postcss-selector-parser@1.3.0 
uniq@1.0.1 
postcss-normalize-charset@1.1.0 
postcss-normalize-url@3.0.4 
is-absolute-url@2.0.0 
normalize-url@1.4.0 
object-assign@4.0.1 
prepend-http@1.0.3 
query-string@3.0.0 
strict-uri-encode@1.0.2 
sort-keys@1.1.1 
is-plain-obj@1.1.0 
object-assign@4.0.1 
postcss-ordered-values@2.0.2 
postcss-reduce-idents@2.2.1 
postcss-reduce-transforms@1.0.3 
postcss-svgo@2.1.1 
is-svg@1.1.1 
svgo@0.6.1 
coa@1.0.1 
q@1.4.1 
csso@1.4.4 
clap@1.0.10 
js-yaml@3.4.6 
argparse@1.0.3 
sprintf-js@1.0.3 
inherit@2.2.2 
sax@1.1.4 
whet.extend@0.9.9 
postcss-unique-selectors@2.0.1 
postcss-value-parser@3.2.3 
postcss-zindex@2.0.0 
lodash.camelcase@3.0.1 
lodash._createcompounder@3.0.0 
lodash.deburr@3.0.2 
lodash._basetostring@3.0.1 
lodash.words@3.0.2 
lodash._isiterateecall@3.0.9 
object-assign@4.0.1 
postcss@5.0.13 
js-base64@2.1.9 
supports-color@3.1.2 
postcss-modules-extract-imports@1.0.0 
postcss-modules-local-by-default@1.0.0 
postcss-modules-scope@1.0.0 
postcss-modules-values@1.1.1 
icss-replace-symbols@1.0.2 
source-list-map@0.1.5 
extract-text-webpack-plugin@0.9.1 
async@1.5.0 
file-loader@0.8.5 
npm@3.5.2  extraneous
null-loader@0.1.1 
react@0.14.3 
envify@3.4.0 
jstransform@10.1.0 
base62@0.1.1 
esprima-fb@13001.1001.0-dev-harmony-fb 
source-map@0.1.31 
through@2.3.8 
fbjs@0.3.2 
loose-envify@1.1.0 
promise@7.0.4 
asap@2.0.3 
ua-parser-js@0.7.10 
whatwg-fetch@0.9.0 
react-mixin@3.0.3 
object-assign@4.0.1 
smart-mixin@1.2.1 
react-transform-catch-errors@1.0.0 
react-transform-hmr@1.0.1 
global@4.3.0 
min-document@2.17.0 
dom-walk@0.1.1 
process@0.5.2 
react-proxy@1.1.1 
react-deep-force-update@1.0.0 
redbox-react@1.2.0 
error-stack-parser@1.3.2 
stackframe@0.3.1 
object-assign@4.0.1 
style-loader@0.13.0 
typescript@1.7.5 
url-loader@0.5.7 
mime@1.2.11 
webpack@1.12.9 
clone@1.0.2 
enhanced-resolve@0.9.1 
graceful-fs@4.1.2 
memory-fs@0.2.0 
esprima@2.7.1 
interpret@0.6.6 
memory-fs@0.3.0 
errno@0.1.4 
prr@0.0.0 
readable-stream@2.0.4 
core-util-is@1.0.2 
inherits@2.0.1 
isarray@0.0.1 
process-nextick-args@1.0.6 
util-deprecate@1.0.2 
mkdirp@0.5.1 
minimist@0.0.8 
node-libs-browser@0.5.3 
assert@1.3.0 
browserify-zlib@0.1.4 
pako@0.2.8 
buffer@3.5.5 
base64-js@0.0.8 
ieee754@1.1.6 
isarray@1.0.0 
console-browserify@1.1.0 
date-now@0.1.4 
constants-browserify@0.0.1 
crypto-browserify@3.2.8 
pbkdf2-compat@2.0.1 
ripemd160@0.2.0 
sha.js@2.2.6 
domain-browser@1.1.7 
events@1.1.0 
http-browserify@1.7.0 
Base64@0.2.1 
https-browserify@0.0.0 
os-browserify@0.1.2 
path-browserify@0.0.0 
process@0.11.2 
punycode@1.4.0 
querystring-es3@0.2.1 
readable-stream@1.1.13 
stream-browserify@1.0.0 
readable-stream@1.1.13 
string_decoder@0.10.31 
timers-browserify@1.4.2 
process@0.11.2 
tty-browserify@0.0.0 
url@0.10.3 
punycode@1.3.2 
util@0.10.3 
vm-browserify@0.0.4 
indexof@0.0.1 
optimist@0.6.1 
minimist@0.0.10 
wordwrap@0.0.3 
supports-color@3.1.2 
has-flag@1.0.0 
tapable@0.1.10 
uglify-js@2.6.1 
async@0.2.10 
uglify-to-browserify@1.0.2 
yargs@3.10.0 
camelcase@1.2.1 
cliui@2.1.0 
center-align@0.1.2 
align-text@0.1.3 
kind-of@2.0.1 
longest@1.0.1 
repeat-string@1.5.2 
lazy-cache@0.2.7 
right-align@0.1.3 
wordwrap@0.0.2 
window-size@0.1.0 
watchpack@0.2.9 
async@0.9.2 
chokidar@1.4.1 
anymatch@1.3.0 
arrify@1.0.1 
micromatch@2.3.5 
arr-diff@2.0.0 
arr-flatten@1.0.1 
array-unique@0.2.1 
braces@1.8.2 
expand-range@1.8.1 
fill-range@2.2.3 
is-number@2.1.0 
kind-of@3.0.2 
isobject@2.0.0 
randomatic@1.1.5 
kind-of@3.0.2 
preserve@0.2.0 
repeat-element@1.1.2 
expand-brackets@0.1.4 
extglob@0.3.1 
ansi-green@0.1.1 
ansi-wrap@0.1.0 
success-symbol@0.1.0 
filename-regex@2.0.0 
kind-of@3.0.2 
is-buffer@1.1.0 
normalize-path@2.0.1 
object.omit@2.0.0 
for-own@0.1.3 
for-in@0.1.4 
is-extendable@0.1.1 
parse-glob@3.0.4 
glob-base@0.3.0 
is-dotfile@1.0.2 
regex-cache@0.4.2 
is-equal-shallow@0.1.3 
is-primitive@2.0.0 
async-each@0.1.6 
glob-parent@2.0.0 
is-binary-path@1.0.1 
binary-extensions@1.4.0 
is-glob@2.0.1 
is-extglob@1.0.0 
readdirp@2.0.0 
webpack-core@0.6.8 
source-map@0.4.4 
amdefine@1.0.0 
webpack-hot-middleware@2.6.0 
querystring@0.2.0 
strip-ansi@2.0.1 
ansi-regex@1.1.1 

Installing NPM dependencies for the server bundle...
webpack-internal-package@0.0.0 /home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm
npm@3.5.2  extraneous

Errors prevented bundling:
While processing files with webpack:webpack (for target web.browser):
entry/client/webpack.conf.js: ./entry/client/entry.js
Module build failed: ReferenceError: Unknown plugin
"transform-decorators-legacy" specified in "base" at 0, attempted to resolve
relative to
"/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/entry/client"
at
/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/options/option-manager.js:193:17
at Array.map (native)
at Function.normalisePlugins
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/options/option-manager.js:173:20)
at OptionManager.mergeOptions
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/options/option-manager.js:271:36)
at OptionManager.init
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/options/option-manager.js:416:10)
at File.initOptions
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/index.js:190:75)
at new File
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/index.js:121:22)
at Pipeline.transform
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/pipeline.js:42:16)
at transpile
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-loader/index.js:14:22)
at Object.module.exports
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-loader/index.js:87:14)

While processing files with webpack:webpack (for target os.linux.x86_64):
entry/server/webpack.conf.js: ./entry/server/entry.js
Module build failed: ReferenceError: Unknown plugin
"transform-decorators-legacy" specified in "base" at 0, attempted to resolve
relative to
"/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/entry/server"
at
/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/options/option-manager.js:193:17
at Array.map (native)
at Function.normalisePlugins
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/options/option-manager.js:173:20)
at OptionManager.mergeOptions
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/options/option-manager.js:271:36)
at OptionManager.init
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/options/option-manager.js:416:10)
at File.initOptions
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/index.js:190:75)
at new File
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/file/index.js:121:22)
at Pipeline.transform
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-core/lib/transformation/pipeline.js:42:16)
at transpile
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-loader/index.js:14:22)
at Object.module.exports
(/home/rof/src/github.com/tomitrescak/kickstart-flowrouter/.meteor/local/webpack-npm/node_modules/babel-loader/index.js:87:14)

[Error] Error: Conversion failed.
loganfsmyth commented 8 years ago

It looks like everything gets installed into .meteor/local/webpack-npm/node_modules which is doesn't seem like it would work with Babel. Does this work if you comment out transform-decorators-legacy? It seems like this may be a general error and legacy is just the one mentioned because plugins are loaded before presets.

This seems more like a meteor + babel issue that one for this plugin specifically.

tomitrescak commented 8 years ago

Hi, thanks for the info. It's a pickle ... everything works locally only on CI server it throws this error. The solution is using a meteor webpack project, which does things a bit differently. '

Up until I upgraded project to Babel 6 all was well.

I have also reported this to the creator of the meteor webpack solution so let's see. I will close this issue here since the problem seems to be weith meteor webpack then. Thanks

john-osullivan commented 8 years ago

Also having this issue! @tomitrescak , did you ever manage to solve it?

tomitrescak commented 8 years ago

Bad news, no. Exon promised to take a look at it.

john-osullivan commented 8 years ago

Did some more debugging, it turns out the issue on our Windows machine was with symlinks.  The built-in ones made by the kickstart-hugeapp boilerplate didn't work correctly on Windows 7 (although they were fine on Win10), so none of the required NPM packages could be found. We deleted the existing synlink, made a new one from cmd mklink, and all was well. Hope that gives you at least a little bit of guidance on your issues with the CI server! -------- Original message --------From: Tomas Trescak notifications@github.com Date: 1/31/2016 16:50 (GMT-05:00) To: loganfsmyth/babel-plugin-transform-decorators-legacy babel-plugin-transform-decorators-legacy@noreply.github.com Cc: john-osullivan johno@mit.edu Subject: Re: [babel-plugin-transform-decorators-legacy] ReferenceError: Unknown plugin - When deploying to CI sever (Cadetship) (#12) Bad news, no. Exon promised to take a look at it.

— Reply to this email directly or view it on GitHub.