Skip to content

Instantly share code, notes, and snippets.

@Smolations
Created August 16, 2017 19:10
Show Gist options
  • Save Smolations/5861f8b2c87c53269e6da1f98c3cc70c to your computer and use it in GitHub Desktop.
Save Smolations/5861f8b2c87c53269e6da1f98c3cc70c to your computer and use it in GitHub Desktop.
TypeError: item.node is not a function
/home/vagrant/project/my-components/node_modules/webpack-sources/lib/ConcatSource.js:37
return typeof item === "string" ? item : item.node(options);
^
TypeError: item.node is not a function
at /home/vagrant/project/my-components/node_modules/webpack-sources/lib/ConcatSource.js:37:50
at Array.map (native)
at ConcatSource.node (/home/vagrant/project/my-components/node_modules/webpack-sources/lib/ConcatSource.js:36:63)
at /home/vagrant/project/my-components/node_modules/webpack-sources/lib/ConcatSource.js:37:50
at Array.map (native)
at ConcatSource.node (/home/vagrant/project/my-components/node_modules/webpack-sources/lib/ConcatSource.js:36:63)
at /home/vagrant/project/my-components/node_modules/webpack-sources/lib/ConcatSource.js:37:50
at Array.map (native)
at ConcatSource.node (/home/vagrant/project/my-components/node_modules/webpack-sources/lib/ConcatSource.js:36:63)
at /home/vagrant/project/my-components/node_modules/webpack-sources/lib/ConcatSource.js:37:50
at Array.map (native)
at ConcatSource.node (/home/vagrant/project/my-components/node_modules/webpack-sources/lib/ConcatSource.js:36:63)
at ConcatSource.proto.sourceAndMap (/home/vagrant/project/my-components/node_modules/webpack-sources/lib/SourceAndMapMixin.js:30:18)
at CachedSource.sourceAndMap (/home/vagrant/project/my-components/node_modules/webpack-sources/lib/CachedSource.js:56:31)
at getTaskForFile (/home/vagrant/project/my-components/node_modules/webpack/lib/SourceMapDevToolPlugin.js:33:30)
at chunk.files.forEach.file (/home/vagrant/project/my-components/node_modules/webpack/lib/SourceMapDevToolPlugin.js:91:21)
npm ERR! Linux 4.4.0-79-generic
npm ERR! argv "/home/vagrant/.nvm/versions/node/v6.10.3/bin/node" "/home/vagrant/.nvm/versions/node/v6.10.3/bin/npm" "run" "gulp" "components:toolkitStandalone:js"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! @company/my-components@1.0.0 gulp: `gulp "components:toolkitStandalone:js"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @company/my-components@1.0.0 gulp script 'gulp "components:toolkitStandalone:js"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @company/my-components package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp "components:toolkitStandalone:js"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs @company/my-components
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls @company/my-components
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/vagrant/polymer/elmer/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment