Coder Social home page Coder Social logo

Comments (4)

fahadsaeed avatar fahadsaeed commented on August 13, 2024

+1 I have same problem

from meteorite.

kuncevic avatar kuncevic commented on August 13, 2024

Got same thing on same windows version.

I was managed to finally install meteorite on windows using cygwin https://cygwin.com/install.html:

image

...but finally end up with another error wen was just trying to run it.

npm install -g meteorite running well with cygwin bash

Then I've got the below popup once typed mrt in console because I haveMicrosoft Windows Malicious Software Removal Tool installed in the system.
image

After I removed mrt.exe from %windir%\system32\ I can run the meteorite by typing mrt but getting an error:
Using windows cmd I've got this error:

d:\Projects\meteor\test-cordova>mrt add cordova-loader
path.js:8
    throw new TypeError('Path must be a string. Received ' +
    ^

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:8:11)
    at Object.win32.join (path.js:221:5)
    at Function.Meteorite.root (C:\Users\User1\AppData\Roaming\npm\node_modules\m
eteorite\lib\meteorite.js:253:15)
    at Function.Meteorite.prepareFS (C:\Users\User1\AppData\Roaming\npm\node_modu
les\meteorite\lib\meteorite.js:258:24)
    at new Meteorite (C:\Users\User1\AppData\Roaming\npm\node_modules\meteorite\l
ib\meteorite.js:20:13)
    at Object.<anonymous> (C:\Users\User1\AppData\Roaming\npm\node_modules\meteor
ite\bin\mrt.js:15:17)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)

By running mrt in cygwin bash I've got this error:

User1@PC /cygdrive/d/Projects/Learning/meteor/test-cordova
$ mrt add cordova-loader
✓ cordova-loader
    tag: https://github.com/andrewreedy/cordova-loader.git#v0.1.0
fs.js:945
  return binding.symlink(preprocessSymlinkDestination(destination, type, path),
                 ^

Error: EISDIR: illegal operation on a directory, symlink 'C:\cygwin64\home\User1\.meteorite\packages\cordova-loader\andrewreedy\cordova-loader\1237a90ed21f4e419b4699b6be543dd128352586' -> 'D:\Projects\Learning\meteor\test-cordova\packages\cordova-loader'
    at Error (native)
    at Object.fs.symlinkSync (fs.js:945:18)
    at C:\Users\User1\AppData\Roaming\npm\node_modules\meteorite\lib\dependencies\package.js:129:10
    at C:\Users\User1\AppData\Roaming\npm\node_modules\meteorite\lib\sources\git.js:84:15
    at GitSource._load (C:\Users\User1\AppData\Roaming\npm\node_modules\meteorite\lib\sources\git.js:141:12)
    at C:\Users\User1\AppData\Roaming\npm\node_modules\meteorite\lib\sources\git.js:82:18
    at C:\Users\User1\AppData\Roaming\npm\node_modules\meteorite\lib\sources\git.js:98:5
    at C:\Users\User1\AppData\Roaming\npm\node_modules\meteorite\lib\sources\git.js:263:5
    at ChildProcess.exithandler (child_process.js:204:7)
    at emitTwo (events.js:92:20)

Also getting same errors if I just type mrt run

It is might be looking like similar issue here #32 but I didn't manage to resolve this one yet.

from meteorite.

dburles avatar dburles commented on August 13, 2024

@Riapp looking at the errors, you seem to be working with Meteor in a very out of date approach. Meteor has had packaging and cordova support for quite some time now. Take a look at meteor help add and meteor help add-platform.

from meteorite.

kuncevic avatar kuncevic commented on August 13, 2024

@dburles I was just trying to make mrt working on my Windows machine. Is mrt sort of outdated? Is meteor add is kind of replacement to mrt?

from meteorite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.