You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/dev❯ npm -v
6.14.4
~/dev❯ npm init cljs-app my-app
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '../dist/lib'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/wcalderipe/.config/yarn/global/node_modules/create-cljs-app/bin/create-cljs-app.js:3:20)
/\ NOTICE THIS.
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
~/dev❯ npx create-cljs-app my-app
Cannot find module '../dist/lib'
I also noticed that npm is trying to reach out yarn packages and I don't if this was intended.
Using yarn.
~/dev❯ yarn -v
1.22.5
~/dev❯ yarn create cljs-app my-app
yarn create v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- create-cljs-app
[########################################] 40/40internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '../dist/lib'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/wcalderipe/.config/yarn/global/node_modules/create-cljs-app/bin/create-cljs-app.js:3:20)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
error Command failed.
Exit code: 1
Command: /home/wcalderipe/.local/npm/bin/create-cljs-app
Arguments: my-app
Directory: /home/wcalderipe/dev
Output:
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.
Note: I don't know if this might impact the template scripts but I have changed the npm prefix to a different folder under my user so I don't have to install global packages using sudo.
The text was updated successfully, but these errors were encountered:
Ok, should be fixed now in 0.4.3. Turns I was using a master ref for the github upload/download actions and their behaviour changed a bit. Pinned them now.
Hey folks 👋
I'm having an error with
npm
,npx
andyarn
following the same instructions described on the README.OS:
Ubuntu 20.04.1 LTS
OpenJDK:
build 11.0.8+10-post-Ubuntu-0ubuntu120.04
Using
npm
andnpx
.I also noticed that npm is trying to reach out yarn packages and I don't if this was intended.
Using
yarn
.Note: I don't know if this might impact the template scripts but I have changed the npm prefix to a different folder under my user so I don't have to install global packages using
sudo
.The text was updated successfully, but these errors were encountered: