Comments (7)
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.
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.
In my case npm run dev
fails on Arch Linux.
from marzipano.
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.
The build script isn't supposed to run if you're just require
ing the module in a Browserify environment. What is causing the build script to run?
from marzipano.
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.
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)
- Is it possible to export from Marzipano Tool with high resolution?
- Info Hotspot Customization HOT 2
- Marzipano not working on safari and ios devices properly
- Image owner/permission for Angra do Heroismo panorama? HOT 1
- npm ERR! Error while executing: npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote
- Compass widget on viewer HOT 1
- How to use Marzipano HOT 2
- Image Url Source fromString explained HOT 2
- zoom out - change fov
- Double-click zoom
- How to use the renderComplete event ?
- Accessibility improvements
- How to determine if an image exists when using ImageUrlSource() ?
- relativ path to images/tiles ??
- How the yaw value is calculated? HOT 5
- The value of tile.z remains unchanged at 0.
- Crop Pano to Cube
- @tjgq Tiago Quelhas — is mazipano still being worked on?
- Change yaw parameter when click hotspot HOT 1
- Inquiry Regarding Trojan:Script/Wacatac.B!ml Detection in Downloaded Data
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 marzipano.