Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include Raycast, remove deprecated getInverse(), ES module syntax #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Maki-Db
Copy link

@Maki-Db Maki-Db commented Apr 3, 2024

closes #11
tested with A-Frame 1.2. onClick was tested. Dist was not updated

@andreasplesch
Copy link
Owner

The build/browserify does not like import.
see facebook/react-native#39194 (comment)
Would be time to check what latest aframe does for building.

Run npm run build --if-present
> aframe-meshline-component@0.[4](https://github.com/andreasplesch/aframe-meshline-component/actions/runs/8542731837/job/24050182114?pr=21#step:6:5).1 build /home/runner/work/aframe-meshline-component/aframe-meshline-component
> browserify examples/main.js -o examples/build.js
/home/runner/work/aframe-meshline-component/aframe-meshline-component/index.js:[5](https://github.com/andreasplesch/aframe-meshline-component/actions/runs/8542731837/job/24050182114?pr=21#step:6:6)
import * as ml from './lib/THREE.MeshLine';
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `browserify examples/main.js -o examples/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2024-04-20T04_[18](https://github.com/andreasplesch/aframe-meshline-component/actions/runs/8542731837/job/24050182114?pr=21#step:6:19)_06_753Z-debug.log
Error: Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding Event Listeners
2 participants