question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Got some errors on Windows 10

See original GitHub issue

Greetins,

I’m using a Windows with clean installation. Everything installed (node, npm, yarn, pcks) correctly (I suppose) but I get this error. I just did this to get an updated code and experiences with Join Monster. But it looks like I’ll have to go back there to Mac Tomorrow xD

Apparently have something to do with Babel - going to sleep / drops me

ERROR in ./src/server/api_server.js
Module parse failed: C:\Users\miche\Desktop\apollo-universal-starter-kit\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

ERROR in index.js from UglifyJs
Unexpected token: name (console_log) [index.js:92,6]

After that I made a new attempt (Windows)

yarn watch v0.27.5
$ spin watch
TypeError: stack.hasAll is not a function
    at WebAssetsPlugin.configure (C:\Users\miche\Desktop\apiJoinMonster\node_modules\spinjs\src\plugins\WebAssetsPlugin.ts:9:19)
    at C:\Users\miche\Desktop\apiJoinMonster\node_modules\spinjs\src\spin.config.ts:68:69
    at Array.forEach (<anonymous>)
    at _loop_1 (C:\Users\miche\Desktop\apiJoinMonster\node_modules\spinjs\src\spin.config.ts:68:28)
    at createConfig (C:\Users\miche\Desktop\apiJoinMonster\node_modules\spinjs\lib\spin.config.js:75:13)
    at Object.exports.default (C:\Users\miche\Desktop\apiJoinMonster\node_modules\spinjs\src\createConfig.ts:11:12)
    at Object.<anonymous> (C:\Users\miche\Desktop\apiJoinMonster\node_modules\spinjs\src\index.ts:18:26)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
TypeError: Cannot read property 'name' of undefined
    at C:\Users\miche\Desktop\apiJoinMonster\node_modules\spinjs\src\executor.ts:552:53
    at Promise (<anonymous>)
    at buildDll (C:\Users\miche\Desktop\apiJoinMonster\node_modules\spinjs\src\executor.ts:550:12)
    at _loop_1 (C:\Users\miche\Desktop\apiJoinMonster\node_modules\spinjs\src\executor.ts:786:21)
    at C:\Users\miche\Desktop\apiJoinMonster\node_modules\spinjs\lib\executor.js:849:17
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at Function.Module.runMain (module.js:611:11)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:598:3
webpack-for-server Time: 164ms

ERROR in ./src/server/api_server.js
Module parse failed: C:\Users\miche\Desktop\apiJoinMonster\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/poll?1000

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mitjadecommented, Sep 7, 2017

I have the same problem and am investigating.

1reaction
mitjadecommented, Sep 7, 2017

@MichelDiz I might have broken something when accidentally merging one of the branches. Please wait for @vlasenko to check it out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >
17 most common Windows 10 problems and how to fix them
1. Can't upgrade from Windows 7 or Windows 8 · 2. Can't upgrade to the latest Windows 10 version · 3. You have...
Read more >
The Most Common Windows 10 Error Messages & How To Fix ...
Windows 10 Update Errors · Click to open your Windows Start Menu in the lower-left corner of your screen. · Click on the...
Read more >
Windows 10 Troubleshooting: The Most Common Problems ...
Windows 10 Troubleshooting: The Most Common Problems and How to Fix Them · Issues updating to the latest version of Windows 10 ·...
Read more >
How to Fix Windows 10 Startup Error Issue | Your PC Ran Into ...
How to Fix Windows 10 Startup Error Issue | Your PC Ran Into a Problem and Needs to RestartHi friends, here I showed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found