Comments (8)
How did you get to this point? I tried to install it and run into massive dump of cpp errors...
What is your setup? Node, npm?
Thanks.
from overmind.
same error with Overmind 0.5.2.
npm: 6.14.5
node: v14.5.0
OS: macOS Big Sur (20A5364e)
from overmind.
debug.log:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/local/Cellar/node/14.5.0/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'compile'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'precompile', 'compile', 'postcompile' ]
5 info lifecycle [email protected]~precompile: [email protected]
6 info lifecycle [email protected]~compile: [email protected]
7 verbose lifecycle [email protected]~compile: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~compile: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/mac/Overmind/node_modules/.bin:/usr/local/opt/libiconv/bin:/Users/mac/.pyenv/shims:/Users/mac/.cargo/bin:/opt/local/bin:/opt/local/sbin:/usr/local/opt/mysql-client/bin:/usr/local/opt/curl/bin:/usr/local/opt/curl/bin:/usr/local/sbin:/usr/local/opt/openssl/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands
9 verbose lifecycle [email protected]~compile: CWD: /Users/mac/Overmind
10 silly lifecycle [email protected]~compile: Args: [ '-c', 'rollup -c' ]
11 silly lifecycle [email protected]~compile: Returned: code: 1 signal: null
12 info lifecycle [email protected]~compile: Failed to exec compile script
13 verbose stack Error: [email protected] compile: `rollup -c`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:314:20)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:314:20)
13 verbose stack at maybeClose (internal/child_process.js:1051:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid [email protected]
15 verbose cwd /Users/mac/Overmind
16 verbose Darwin 20.1.0
17 verbose argv "/usr/local/Cellar/node/14.5.0/bin/node" "/usr/local/bin/npm" "run" "compile"
18 verbose node v14.5.0
19 verbose npm v6.14.5
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] compile: `rollup -c`
22 error Exit status 1
23 error Failed at the [email protected] compile script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
from overmind.
is this the dev branch? this requires rollup 2 to be installed. see https://github.com/bencbartlett/Overmind/blob/dev/CHANGELOG.md
from overmind.
It's the master branch.
[email protected] is installed.
from overmind.
You have to use the compile
Script instead of the build
Script. Had the same problem ...
Hope that solves your issue
Edit: Sorry, just saw that you already used the compile script :/
from overmind.
I had the same problem on commit 5eca49a and Node 14, once i downgraded to Node 12 though it worked fine.
from overmind.
Same issue here, Node 18, Overmind 0.5.2
PS C:\WoodenRobot\Screeps\Overmind> npm run push-main
[email protected] push-main
rollup -c --environment DEST:main
Compiling Overmind... (deploy destination: main)
[!] TypeError: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (0)
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (0)
at Object.writeFileSync (node:fs:2314:5)
at progress (C:\WoodenRobot\Screeps\Overmind\node_modules\rollup-plugin-progress\dist\rollup-plugin-progress.js:28:8)
at Object. (C:\WoodenRobot\Screeps\Overmind\rollup.config.js:30:9)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at require.extensions..js (C:\WoodenRobot\Screeps\Overmind\node_modules\rollup\bin\rollup:3015:24)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:121:18)
at C:\WoodenRobot\Screeps\Overmind\node_modules\rollup\bin\rollup:3022:32
from overmind.
Related Issues (20)
- Colony tries to repeatedly expanded into owned room
- PowerMining Directive Exception HOT 3
- Critical, ignoring InviderCores in the outpost rooms
- Ruins in new Spawn room not being emptied HOT 1
- Move visualization CPU bucket checks to unobfuscated code HOT 2
- Upcoming deprecation: Game.map.isRoomAvailable causing console spam HOT 1
- Deprication of isRoomAvailable
- Low RCL issues
- Walls in neutral rooms
- Respawn/Newbie zone borders not respected
- creeps going back and forward between 2 route HOT 1
- fillers of "BootstrappingOverlord" get stuck at filled extension HOT 1
- Overmind is Trying to Colonize Reserved Room HOT 1
- Overmind not spawning transports to retrieve mined energy
- Overmind completes its own terminal orders
- Overmind not spawning melee defenders for colony defence
- Numerous errors in console
- TypeError: room.drops[resourceType] is not iterable HOT 1
- Cannot read properties of undefined (reading 'map')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from overmind.