Git Product home page Git Product logo

Comments (7)

mitarbeiterDesMonats avatar mitarbeiterDesMonats commented on May 5, 2024

Same error here, but far more relevant than the skipped optional dependencies should be the deprecated-errors from the top of the console-log when you run "npm install":

$ npm install
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated [email protected]: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated [email protected]: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

[email protected] preinstall /home/samuel/ogulo/alpha/marzipano/node_modules/.staging/flex-sdk-809ebfc4
npm install playerglobal-latest

npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

from marzipano.

manuelcabral avatar manuelcabral commented on May 5, 2024

In which system is npm run dev not working? In Linux I am also getting the chokidar/fsevents warning, which seems to be coming from watchify, but npm run dev runs after that.

Most of the deprecated warnings seem to be coming from dependencies. I will check if any of them can be updated.

from marzipano.

mitarbeiterDesMonats avatar mitarbeiterDesMonats commented on May 5, 2024

In my case npm run dev fails on Arch Linux.

from marzipano.

gibbitz avatar gibbitz commented on May 5, 2024

I see the warnings as well, but what stops my build is at the top of my output:

fatal: Not a git repository (or any of the parent directories): .git { [Error: Command failed: git describe --tags HEAD fatal: Not a git repository (or any of the parent directories): .git ]

I included the project via NPM (using my package.json dependencies) and the build script seems to be trying to pull from git (which had nothing to do with how the code got there) to update (which should be controlled by package.json, not the build code). This wouldn't be an issue if the built code were either part of the repository or built by a postinstall script (that didn't involve pulling the code from git when the source came from npm). It looks like the way around this is going to be to pull the built code from the website and put it in my source code repo, then shim it with browserify because I have little control beyond package.json in my continuous integration environment.

Are you guys seeing this message at the top as well or do I need to file a separate bug?

from marzipano.

tjgq avatar tjgq commented on May 5, 2024

The build script isn't supposed to run if you're just requireing the module in a Browserify environment. What is causing the build script to run?

from marzipano.

gibbitz avatar gibbitz commented on May 5, 2024

There's no build folder or marzipan.js file using npm i with package.json. I was viewing the demos via nginx and could see build/marzipan.js was returning 404. So I tried running dev and build manually in order to vivisect the demos. I see now that in your package.json, main is pointing to src/index.js, so it looks like my CI won't have issues (thankfully). I just pulled down the compiled file (zip) from the site to get the demos running. I wasn't expecting the build to not work from npm though. May be worth making a change to the npm repo to allow that to work, include the built code in the demos (so fools like me wouldn't be tempted to try), or note that builds will only work when the code is cloned from the git repo in the README...

from marzipano.

tjgq avatar tjgq commented on May 5, 2024

Ah, that explains it. The dev/build scripts are meant to be used by developers, not regular users. The fact that the demos don't work out of a fresh git clone / npm install is definitely less than ideal, but it's a compromise to avoid checking compilation products into the repository. I'll try to spell it out more clearly in the README.

from marzipano.

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.