TypeError: stack.hasAll is not a function
See original GitHub issueNote: 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
Issue Analytics
- State:
- Created 6 years ago
- Comments:44 (31 by maintainers)
Top Results From Across the Web
Angular 6: ERROR TypeError: "... is not a function" - but it is
Original answer. This is a common gotcha with Typescript, you say device is of type Device , but it isn't. It has all...
Read more >typeerror: destroy is not a function at safelycalldestroy - You.com
The async function implicitly returns a Promise object which is incorrectly interpreted by the React framework to be a returned cleanup function.
Read more >error cb.apply is not a function · Issue #2874 · nodejs/help
My computer has all of its app data and other documents redirected to a network share, but at some point the npm installer...
Read more >Understanding the Python Traceback
A traceback is a report containing the function calls made in your code at a specific point. ... + who_to_greet(someone)) TypeError: must be...
Read more >ESLint@8.23: TypeError: this.libOptions.parse is not a function
I'm getting this in PhpStorm 2022.2.1 (Build #PS-222.3739.61, built on August 18, 2022). Context is a React/NextJS app. Stack trace below ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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