-
Notifications
You must be signed in to change notification settings - Fork 9
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
UUID fails (on some versions of node and on windows) #40
Comments
I committed pull #41 and refreshed my local, install, built and the tests still fail the same way. It is apparently looking for the uuid package in dist/esm-browser. I don't know where else it should look or how to make it look somewhere else. |
Then :
what can be different in your situation ? |
I did the same - pulled all commits, deleted node_modules and package-lock.json, then ran npm install and npm build and npm tests and got the same results as above. :-( |
node v14.6 on googling for https://stackoverflow.com/questions/62676974/syntaxerror-unexpected-token-export |
@bourgeoa , I cleaned up a couple of things, upgraded my node version so I now have node v14,8.0 I also updated the travis.yml so that travis now uses v14 of node. It now works for me locally and the linux and Mac tests pass on Travis. All tests on Windows pass, except for the two that depend on uuid in file:// (they work in app://). I don't have a windows box to test. I suppose I will npm it anyway? |
It should be nice. |
A user reports that UUID also fails on node 14.11.0, OSX 10.14.6. |
@jeff-zucker I tried to to go back to an older version of uuid as suggested and used uuid v3.4.0 in solid-rest and in solid-file-client tests. Can you try to see if it passes travis on windows ? |
solved with PR #49 |
AFAIK, fixed in v1.2.4 |
After I did npm install, I got this when trying to run npm build
/var/www/html/solid/solid-rest/node_modules/uuid/dist/esm-browser/index.js:1
export { default as v1 } from './v1.js';
^^^^^^
SyntaxError: Unexpected token 'export'
at wrapSafe (internal/modules/cjs/loader.js:1060:16)
at Module._compile (internal/modules/cjs/loader.js:1108:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1164:10)
at Module.load (internal/modules/cjs/loader.js:993:32)
at Function.Module._load (internal/modules/cjs/loader.js:892:14)
at Module.require (internal/modules/cjs/loader.js:1033:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/var/www/html/solid/solid-rest/src/rest.js:8:14)
at Module._compile (internal/modules/cjs/loader.js:1144:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1164:10)
npm ERR! Test failed. See above for more details.
The text was updated successfully, but these errors were encountered: