create-apollo-app: TypeError: stack.hasAll is not a function
Note: not part of starter kit, but after merging in your latest spin changes I’m having issues.
Update Having issue with starter kit too
yarn watch v0.27.5
$ spin watch
TypeError: stack.hasAll is not a function
at WebAssetsPlugin.configure (/Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/plugins/WebAssetsPlugin.ts:9:19)
at /Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/spin.config.ts:68:69
at Array.forEach (native)
at _loop_1 (/Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/spin.config.ts:68:28)
at createConfig (/Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/lib/spin.config.js:75:13)
at Object.exports.default (/Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/createConfig.ts:11:12)
at Object.<anonymous> (/Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/index.ts:18:26)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
TypeError: Cannot read property 'name' of undefined
at /Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/executor.ts:552:53
at buildDll (/Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/executor.ts:550:12)
at _loop_1 (/Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/executor.ts:786:21)
at /Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/lib/executor.js:849:17
TypeError: Cannot read property 'name' of undefined
at /Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/executor.ts:552:53
at buildDll (/Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/executor.ts:550:12)
at _loop_1 (/Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/src/executor.ts:786:21)
at /Users/justin/bv/ironworks_2/iron-works/node_modules/spinjs/lib/executor.js:849:17
webpack-for-server Time: 146ms
ERROR in ./src/server/api_server.js
Module parse failed: /Users/justin/bv/ironworks_2/iron-works/src/server/api_server.js Unexpected token (52:12)
You may need an appropriate loader to handle this file type.
| return {
| query: invertedMap[body.id],
| ...body
| };
| });
@ ./src/server/index.js 2:0-22
@ multi ./src/server/index.js webpack/hot/signal.js
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 44 (31 by maintainers)
Commits related to this issue
- Native Base plugin #1 — committed to justinr1234/spin.js by justinr1234 7 years ago
@justinr1234 @mitjade I must admit this was hard one to figure out, despite its simple nature. Thank you guys for the help!
@justinr1234 I know where is the problem. There are two files, one
Stack.js
, anotherstack.js
. Thestack.js
is outdated and just hanged around until I have fully removedlib
dir in0.2.0
prior to compilation. Need to add rm -r /lib inprepublish
task