Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Syntax error in config/webpack.config.js #2

Closed
todd-featherston opened this issue Jun 10, 2014 · 1 comment
Closed

Syntax error in config/webpack.config.js #2

todd-featherston opened this issue Jun 10, 2014 · 1 comment

Comments

@todd-featherston
Copy link

I thought I'd take it for a spin but following the error pops up on any gulp command (Ubuntu 14.04 - clean install, npm 1.4.9, bower 1.3.5, gulp 3.8.0, node v0.10.28).

You need a comma at the end of line 25.

/MyApp/config/webpack.config.js:26
new webpack.optimize.DedupePlugin(),
^^^
SyntaxError: Unexpected token new
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/todd/nutviz/MyApp/gulpfile.js:21:24)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

@koistya
Copy link
Member

koistya commented Jun 11, 2014

@todd-featherston thanks for the report!

vishwanatharondekar added a commit to vishwanatharondekar/react-starter-kit that referenced this issue Oct 16, 2015
langpavel pushed a commit that referenced this issue Feb 19, 2019
* Upgrade all dependencies

1. ncu --upgradeAll
4. Leave "graphql" to be "^13.2.0" that apollo packages depend on
2. Apply patch of "npx babel-upgrade" output
3. Leave only necessary babel plugins
4. Pass "yarn fix" by disabling stricter rules

* Pass "req" through GraphQL resolver context

* Through rootValue it cannot be passed from browser GraphQL access
* rm unnecessary code

* Add "Timestamp" scalar type for convinience

* rm unnecessary files

* fix: Timestamp didn't work

* npm graphql requires to be update
vercel/next.js#5238 (comment)

* Feature: Codegen from GraphQL schema and use more Flow types (#2)

* install apllo

* add apollo.config.js

* apollo codegen succeeded

* fix: updateNetworkStatus signature

* rm @flow from files not ready

* add flow-typed files

* done: Using auto-generated types works

* flow-bin@0.89+ has regression. Use ^0.88.0.

* fix: invalid GraphQL primitive types

* Add codegen script

* done: import auto-generated file

* refac: move impl for apollo-link-state to graphql dir as same as server side resolvers

* codegen and ignore eslint these files

* refactor: "networkStatus"

* feat: codegen:standalone

* refac: "OnMemoryState" is what I meant

* Improve codegen (#3)

* delete existing auto-generated types

* change script name

* ignore __generated__ folder

* wip: disallow absolute path resolving under `src` dir

* It causes disregard .js type checking under src

* fix all flow error

* modify: prevent `withStyles` drops component type

* Modify targe Node versions

* Fix build failure: Codegen before lint

* Add Node v10 LTS for build target
carlitosspot pushed a commit to carlitosspot/react-starter-kit that referenced this issue May 16, 2019
[CT] documentation for all Breel endpoints
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants